VirtualBox

source: vbox/trunk/src/VBox/VMM/VMMR0/GMMR0Internal.h@ 5033

Last change on this file since 5033 was 5033, checked in by vboxsync, 18 years ago

GMM...

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1/* $Id: GMMR0Internal.h 5033 2007-09-26 04:48:51Z vboxsync $ */
2/** @file
3 * GMM - The Global Memory Manager, Internal Header.
4 */
5
6/*
7 * Copyright (C) 2007 InnoTek Systemberatung GmbH
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License as published by the Free Software Foundation,
13 * in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
14 * distribution. VirtualBox OSE is distributed in the hope that it will
15 * be useful, but WITHOUT ANY WARRANTY of any kind.
16 *
17 */
18
19#ifndef ___GMMR0Internal_h
20#define ___GMMR0Internal_h
21
22#include <VBox/gmm.h>
23
24
25/**
26 * The per-VM GMM data.
27 */
28typedef struct GMMPERVM
29{
30 /** The ram size, in pages. */
31 uint64_t cRAMPages;
32 /** The number of private pages. */
33 uint64_t cPrivatePages;
34 /** The number of shared pages. */
35 uint64_t cSharedPages;
36 /** The current over-comitment policy. */
37 GMMOCPOLICY enmPolicy;
38 /** The VM priority for arbitrating VMs in an out-of-memory situation. */
39 GMMPRIORITY enmPriority;
40} GMMPERVM;
41/** Pointer to the per-VM GMM data. */
42typedef GMMPERVM *PGMMPERVM;
43
44#endif
45
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette