Changeset 90379 in vbox for trunk/include/VBox/vmm
- Timestamp:
- Jul 28, 2021 8:00:43 PM (3 years ago)
- Location:
- trunk/include/VBox/vmm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/gvm.h
r90189 r90379 109 109 struct VMMR0PERVCPU s; 110 110 #endif 111 uint8_t padding[ 64];111 uint8_t padding[128]; 112 112 } vmmr0; 113 113 114 114 /** Padding the structure size to page boundrary. */ 115 115 #ifdef VBOX_WITH_NEM_R0 116 uint8_t abPadding2[4096 - 64 - 64 - 1024 - 64 - 64];116 uint8_t abPadding2[4096 - 64 - 64 - 1024 - 64 - 128]; 117 117 #else 118 uint8_t abPadding2[4096 - 64 - 64 - 1024 - 64];118 uint8_t abPadding2[4096 - 64 - 64 - 1024 - 128]; 119 119 #endif 120 120 } GVMCPU; -
trunk/include/VBox/vmm/gvm.mac
r87792 r90379 46 46 .nemr0 resb 64 47 47 %endif 48 alignb 64 49 .vmmr0 resb 128 48 50 alignb 4096 49 51 endstruc -
trunk/include/VBox/vmm/vmm.h
r89912 r90379 473 473 474 474 #if defined(IN_RING0) || defined(DOXYGEN_RUNNING) 475 476 /** 477 * Structure VMMR0EmtPrepareToBlock uses to pass info to 478 * VMMR0EmtResumeAfterBlocking. 479 */ 480 typedef struct VMMR0EMTBLOCKCTX 481 { 482 /** Magic value (VMMR0EMTBLOCKCTX_MAGIC). */ 483 uint32_t uMagic; 484 /** Set if we were in HM context, clear if not. */ 485 bool fWasInHmContext; 486 } VMMR0EMTBLOCKCTX; 487 /** Pointer to a VMMR0EmtPrepareToBlock context structure. */ 488 typedef VMMR0EMTBLOCKCTX *PVMMR0EMTBLOCKCTX; 489 /** Magic value for VMMR0EMTBLOCKCTX::uMagic (Paul Desmond). */ 490 #define VMMR0EMTBLOCKCTX_MAGIC UINT32_C(0x19261125) 491 /** Magic value for VMMR0EMTBLOCKCTX::uMagic when its out of context. */ 492 #define VMMR0EMTBLOCKCTX_MAGIC_DEAD UINT32_C(0x19770530) 493 475 494 VMMR0DECL(void) VMMR0EntryFast(PGVM pGVM, PVMCC pVM, VMCPUID idCpu, VMMR0OPERATION enmOperation); 476 495 VMMR0DECL(int) VMMR0EntryEx(PGVM pGVM, PVMCC pVM, VMCPUID idCpu, VMMR0OPERATION enmOperation, 477 496 PSUPVMMR0REQHDR pReq, uint64_t u64Arg, PSUPDRVSESSION); 497 VMMR0_INT_DECL(void) VMMR0InitPerVMData(PGVM pGVM); 478 498 VMMR0_INT_DECL(int) VMMR0TermVM(PGVM pGVM, VMCPUID idCpu); 479 499 VMMR0_INT_DECL(bool) VMMR0IsLongJumpArmed(PVMCPUCC pVCpu); … … 483 503 VMMR0_INT_DECL(void) VMMR0ThreadCtxHookDisable(PVMCPUCC pVCpu); 484 504 VMMR0_INT_DECL(bool) VMMR0ThreadCtxHookIsEnabled(PVMCPUCC pVCpu); 505 VMMR0_INT_DECL(int) VMMR0EmtPrepareToBlock(PVMCPUCC pVCpu, int rcBusy, const char *pszCaller, void *pvLock, 506 PVMMR0EMTBLOCKCTX pCtx); 507 VMMR0_INT_DECL(void) VMMR0EmtResumeAfterBlocking(PVMCPUCC pVCpu, PVMMR0EMTBLOCKCTX pCtx); 485 508 VMMR0_INT_DECL(PRTLOGGER) VMMR0GetReleaseLogger(PVMCPUCC pVCpu); 486 509
Note:
See TracChangeset
for help on using the changeset viewer.