Changeset 45097 in vbox
- Timestamp:
- Mar 19, 2013 7:05:53 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/vm.h
r44195 r45097 190 190 struct VMMCPU s; 191 191 #endif 192 uint8_t padding[ 640]; /* multiple of 64 */192 uint8_t padding[704]; /* multiple of 64 */ 193 193 } vmm; 194 194 … … 222 222 223 223 /** Align the following members on page boundary. */ 224 uint8_t abAlignment2[1024 - 320 - 128 ];224 uint8_t abAlignment2[1024 - 320 - 128 - 64]; 225 225 226 226 /** PGM part. */ -
trunk/include/VBox/vmm/vm.mac
r43387 r45097 138 138 .trpm resb 128 139 139 .tm resb 384 140 .vmm resb 640140 .vmm resb 704 141 141 .pdm resb 128 142 142 .iom resb 512 -
trunk/include/VBox/vmm/vmm.h
r45091 r45097 515 515 VMMRZDECL(void) VMMRZCallRing3Enable(PVMCPU pVCpu); 516 516 VMMRZDECL(bool) VMMRZCallRing3IsEnabled(PVMCPU pVCpu); 517 VMMRZDECL(int) VMMRZCallRing3SetNotification(PVMCPU pVCpu, PFNVMMR0CALLRING3NOTIFICATION pfnCallback, void *pvUser);517 VMMRZDECL(int) VMMRZCallRing3SetNotification(PVMCPU pVCpu, R0PTRTYPE(PFNVMMR0CALLRING3NOTIFICATION) pfnCallback, RTR0PTR pvUser); 518 518 VMMRZDECL(void) VMMRZCallRing3RemoveNotification(PVMCPU pVCpu); 519 519 /** @} */ -
trunk/src/VBox/VMM/VMMRZ/VMMRZ.cpp
r45091 r45097 187 187 * @return VBox status code. 188 188 */ 189 VMMRZDECL(int) VMMRZCallRing3SetNotification(PVMCPU pVCpu, PFNVMMR0CALLRING3NOTIFICATION pfnCallback, void *pvUser)189 VMMRZDECL(int) VMMRZCallRing3SetNotification(PVMCPU pVCpu, R0PTRTYPE(PFNVMMR0CALLRING3NOTIFICATION) pfnCallback, RTR0PTR pvUser) 190 190 { 191 191 AssertReturn(pVCpu, VERR_INVALID_POINTER); -
trunk/src/VBox/VMM/include/VMMInternal.h
r45091 r45097 432 432 /** @} */ 433 433 434 /** Alignment padding, making sure u64CallRing3Arg is nic ly aligned. */434 /** Alignment padding, making sure u64CallRing3Arg is nicely aligned. */ 435 435 uint32_t au32Padding1[3]; 436 436 … … 446 446 /** The argument to the operation. */ 447 447 uint64_t u64CallRing3Arg; 448 /** The Ring-0 notification callback. */ 449 R0PTRTYPE(PFNVMMR0CALLRING3NOTIFICATION) pfnCallRing3CallbackR0; 450 /** The Ring-0 notification callback user argument. */ 451 R0PTRTYPE(void *) pvCallRing3CallbackUserR0; 448 452 /** The Ring-0 jmp buffer. 449 453 * @remarks The size of this type isn't stable in assembly, so don't put 450 454 * anything that needs to be accessed from assembly after it. */ 451 455 VMMR0JMPBUF CallRing3JmpBufR0; 452 /** The Ring-0 notification callback. */453 PFNVMMR0CALLRING3NOTIFICATION pfnCallRing3CallbackR0;454 /** The Ring-0 notification callback user argument. */455 void *pvCallRing3CallbackUserR0;456 456 /** @} */ 457 457 } VMMCPU; -
trunk/src/VBox/VMM/include/VMMInternal.mac
r45091 r45097 124 124 .rcCallRing3 resd 1 125 125 .u64CallRing3Arg resq 1 126 .pfnCallRing3CallbackR0 RTR0PTR_RES 1 127 .pvCallRing3CallbackUserR0 RTR0PTR_RES 1 126 128 ; .CallRing3JmpBufR0 resb no-can-do 127 ; .pfnCallRing3CallbackR0128 ; .pvCallRing3CallbackUserR0129 129 endstruc 130 130
Note:
See TracChangeset
for help on using the changeset viewer.