VirtualBox

source: vbox/trunk/src/VBox/VMM/VMMR0/GVMMR0Internal.h@ 5442

Last change on this file since 5442 was 5232, checked in by vboxsync, 17 years ago

Reapplied [25153].

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1/* $Id: GVMMR0Internal.h 5232 2007-10-10 16:27:11Z vboxsync $ */
2/** @file
3 * GVMM - The Global VM 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 ___GVMMR0Internal_h
20#define ___GVMMR0Internal_h
21
22#include <iprt/mem.h>
23
24/**
25 * The GVMM per VM data.
26 */
27typedef struct GVMMPERVM
28{
29 /** The shared VM data structure allocation object (PVMR0). */
30 RTR0MEMOBJ VMMemObj;
31 /** The Ring-3 mapping of the shared VM data structure (PVMR3). */
32 RTR0MEMOBJ VMMapObj;
33 /** The allocation object for the VM pages. */
34 RTR0MEMOBJ VMPagesMemObj;
35 /** The ring-3 mapping of the VM pages. */
36 RTR0MEMOBJ VMPagesMapObj;
37
38 /** The time the halted EMT thread expires.
39 * 0 if the EMT thread is blocked here. */
40 uint64_t volatile u64HaltExpire;
41 /** The event semaphore the EMT thread is blocking on. */
42 RTSEMEVENTMULTI HaltEventMulti;
43 /** The APIC ID of the CPU that EMT was scheduled on the last time we checked. */
44 uint8_t iCpuEmt;
45
46 /** The scheduler statistics. */
47 GVMMSTATSSCHED StatsSched;
48} GVMMPERVM;
49/** Pointer to the GVMM per VM data. */
50typedef GVMMPERVM *PGVMMPERVM;
51
52
53#endif
54
Note: See TracBrowser for help on using the repository browser.

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