VirtualBox

source: vbox/trunk/include/VBox/vmm/gvm.mac@ 95395

Last change on this file since 95395 was 93650, checked in by vboxsync, 3 years ago

VMM/PGM,*: Split the physical access handler type registration into separate ring-0 and ring-3 steps, expanding the type to 64-bit. bugref:10094

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.0 KB
Line 
1;; @file
2; GVM - The Global VM Data.
3;
4
5;
6; Copyright (C) 2006-2022 Oracle Corporation
7;
8; This file is part of VirtualBox Open Source Edition (OSE), as
9; available from http://www.virtualbox.org. This file is free software;
10; you can redistribute it and/or modify it under the terms of the GNU
11; General Public License (GPL) as published by the Free Software
12; Foundation, in version 2 as it comes in the "COPYING" file of the
13; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
14; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
15;
16; The contents of this file may alternatively be used under the terms
17; of the Common Development and Distribution License Version 1.0
18; (CDDL) only, as it comes in the "COPYING.CDDL" file of the
19; VirtualBox OSE distribution, in which case the provisions of the
20; CDDL are applicable instead of those of the GPL.
21;
22; You may elect to license modified versions of this file under the
23; terms and conditions of either the GPL or the CDDL or both.
24;
25
26%ifndef ___VBox_vmm_gvm_mac
27%define ___VBox_vmm_gvm_mac
28
29%include "VBox/vmm/vm.mac"
30
31struc GVMCPU
32 .s resb VMCPU_size
33
34 .idCpu resd 1
35
36 alignb 8
37 .hEMT RTR0PTR_RES 1
38 .pGVM RTR0PTR_RES 1
39 .pVMR0 RTR0PTR_RES 1
40 .pVCpuR3 RTR3PTR_RES 1
41
42 alignb 64
43 .idHostCpu resd 1
44 .iHostCpuSet resd 1
45
46 alignb 64
47 .gvmm resb 256
48 alignb 64
49 .hmr0 resb 1024
50%ifdef VBOX_WITH_NEM_R0
51 .nemr0 resb 64
52%endif
53 alignb 64
54 .vmmr0 resb 896
55 alignb 64
56 .pgmr0 resb 64
57 alignb 16384
58endstruc
59
60
61struc GVM
62 .s resb VM_size
63
64 .u32Magic resd 1
65 .hSelf resd 1
66 alignb 8
67 .pSelf RTR0PTR_RES 1
68 .pVMR3 RTR3PTR_RES 1
69 .pSession RTR0PTR_RES 1
70 .cCpus resd 1
71
72 alignb 64
73 .gvmm resb 4352
74 alignb 64
75 .gmm resb 1024
76 alignb 64
77 .hmr0 resb 256
78%ifdef VBOX_WITH_NEM_R0
79 alignb 64
80 .nemr0 resb 256
81%endif
82 alignb 64
83 .rawpci resb 64
84 alignb 64
85 .pdmr0 resb 3008
86 alignb 64
87 .pgmr0 resb 1920
88 alignb 64
89 .iomr0 resb 512
90 alignb 64
91 .apicr0 resb 64
92 alignb 64
93 .dbgfr0 resb 1024
94 alignb 64
95 .tmr0 resb 128
96
97 times ((($ + VMM_MAX_CPU_COUNT * RTR0PTR_CB + 16383) & ~16383) - ($ + VMM_MAX_CPU_COUNT * RTR0PTR_CB)) resb 1
98 .apCpusR0 RTR0PTR_RES VMM_MAX_CPU_COUNT
99
100 alignb 16384
101 .aCpus resb GVMCPU_size
102endstruc
103
104%define GVM_MAGIC 0x19330825
105
106
107%endif
108
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