GMMR0Internal.h revision ad27e1d5e48ca41245120c331cc88b50464813ce
70N/A * GMM - The Global Memory Manager, Internal Header. 70N/A * Copyright (C) 2007 Oracle Corporation 70N/A * This file is part of VirtualBox Open Source Edition (OSE), as 70N/A * you can redistribute it and/or modify it under the terms of the GNU 70N/A * General Public License (GPL) as published by the Free Software 70N/A * Foundation, in version 2 as it comes in the "COPYING" file of the 70N/A * VirtualBox OSE distribution. VirtualBox OSE is distributed in the 70N/A * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 70N/A * The allocation sizes. 70N/A /** The number of pages of base memory. 70N/A * This is the sum of RAM, ROMs and handy pages. */ 70N/A /** The number of pages for the shadow pool. (Can be squeezed for memory.) */ 70N/A /** The number of pages for fixed allocations like MMIO2 and the hyper heap. */ 493N/A/** Pointer to a GMMVMSIZES. */ 70N/A * Shared module registration info (per VM) 70N/A /** Pointer to global shared module info. */ 70N/A /** Set if another VM registered a different shared module at the same base address. */ 70N/A /** Number of included region descriptors */ /** Shared region descriptor(s). */ /** Pointer to a GMMSHAREDMODULEPERVM. */ /** The actual allocations. * This includes both private and shared page allocations. */ /** The current number of private pages. */ /** The current number of shared pages. */ /** The current over-commitment policy. */ /** The VM priority for arbitrating VMs in low and out of memory situation. * Like which VMs to start squeezing first. */ /** The current number of ballooned pages. */ /** The max number of pages that can be ballooned. */ /** The number of pages we've currently requested the guest to give us. * This is 0 if no pages currently requested. */ /** The number of pages the guest has given us in response to the request. * This is not reset on request completed and may be used in later decisions. */ /** The number of pages we've currently requested the guest to take back. */ /** Shared module tree (per-vm). */ /** Whether ballooning is enabled or not. */ /** Whether shared paging is enabled or not. */ /** Whether the VM is allowed to allocate memory or not. * This is used when the reservation update request fails or when the VM has /** Pointer to the per-VM GMM data. */