PGMR0.cpp revision a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fc
3609dfc9f2733f4dc836c6a6bb3745398f280fcevboxsync/* $Id$ */
3609dfc9f2733f4dc836c6a6bb3745398f280fcevboxsync/** @file
3609dfc9f2733f4dc836c6a6bb3745398f280fcevboxsync * PGM - Page Manager and Monitor, Ring-0.
3609dfc9f2733f4dc836c6a6bb3745398f280fcevboxsync */
3609dfc9f2733f4dc836c6a6bb3745398f280fcevboxsync
3609dfc9f2733f4dc836c6a6bb3745398f280fcevboxsync/*
7c9a5eca233baf6ede345ace077a00bd0b7af1efvboxsync * Copyright (C) 2007 innotek GmbH
3609dfc9f2733f4dc836c6a6bb3745398f280fcevboxsync *
3609dfc9f2733f4dc836c6a6bb3745398f280fcevboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
3609dfc9f2733f4dc836c6a6bb3745398f280fcevboxsync * available from http://www.virtualbox.org. This file is free software;
3609dfc9f2733f4dc836c6a6bb3745398f280fcevboxsync * you can redistribute it and/or modify it under the terms of the GNU
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * General Public License (GPL) as published by the Free Software
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
3609dfc9f2733f4dc836c6a6bb3745398f280fcevboxsync */
3609dfc9f2733f4dc836c6a6bb3745398f280fcevboxsync
3609dfc9f2733f4dc836c6a6bb3745398f280fcevboxsync/*******************************************************************************
3609dfc9f2733f4dc836c6a6bb3745398f280fcevboxsync* Header Files *
3609dfc9f2733f4dc836c6a6bb3745398f280fcevboxsync*******************************************************************************/
f84cd77241a1c4b9106a92280611c659243e10d1vboxsync#include <VBox/pgm.h>
3609dfc9f2733f4dc836c6a6bb3745398f280fcevboxsync#include "PGMInternal.h"
73c74bb1e8e8a8c2f26c69cb20f7666fcb72b1f0vboxsync#include <VBox/vm.h>
d31ded334a29f575e23dc889b603b1a586759348vboxsync#include <VBox/log.h>
3609dfc9f2733f4dc836c6a6bb3745398f280fcevboxsync#include <VBox/err.h>
d31ded334a29f575e23dc889b603b1a586759348vboxsync#include <iprt/assert.h>
3609dfc9f2733f4dc836c6a6bb3745398f280fcevboxsync
3609dfc9f2733f4dc836c6a6bb3745398f280fcevboxsync
3609dfc9f2733f4dc836c6a6bb3745398f280fcevboxsync
209c11e4b5dbb310116c99a42d773163928e002bvboxsync/**
3609dfc9f2733f4dc836c6a6bb3745398f280fcevboxsync * Worker function for PGMR3PhysAllocateHandyPages and pgmPhysEnsureHandyPage.
7c9a5eca233baf6ede345ace077a00bd0b7af1efvboxsync *
7c9a5eca233baf6ede345ace077a00bd0b7af1efvboxsync * @returns The following VBox status codes.
7c9a5eca233baf6ede345ace077a00bd0b7af1efvboxsync * @retval VINF_SUCCESS on success. FF cleared.
7c9a5eca233baf6ede345ace077a00bd0b7af1efvboxsync * @retval VINF_EM_NO_MEMORY if we're out of memory. The FF is set in this case.
611910c4ba57eb6db5c0d508ca7b923efd654aecvboxsync *
611910c4ba57eb6db5c0d508ca7b923efd654aecvboxsync * @param pVM The VM handle.
134a71c1528b56afe4db843ab63ec5a5b849535bvboxsync *
611910c4ba57eb6db5c0d508ca7b923efd654aecvboxsync * @remarks Must be called from within the PGM critical section.
611910c4ba57eb6db5c0d508ca7b923efd654aecvboxsync */
611910c4ba57eb6db5c0d508ca7b923efd654aecvboxsyncPGMR0DECL(int) PGMR0PhysAllocateHandyPages(PVM pVM)
134a71c1528b56afe4db843ab63ec5a5b849535bvboxsync{
134a71c1528b56afe4db843ab63ec5a5b849535bvboxsync
611910c4ba57eb6db5c0d508ca7b923efd654aecvboxsync return VERR_NOT_IMPLEMENTED;
611910c4ba57eb6db5c0d508ca7b923efd654aecvboxsync}
134a71c1528b56afe4db843ab63ec5a5b849535bvboxsync
134a71c1528b56afe4db843ab63ec5a5b849535bvboxsync
289060a0c3cb1d509f2cb01fca060796212376f6vboxsync