Changeset 13960 in vbox for trunk/include/VBox
- Timestamp:
- Nov 7, 2008 1:04:45 PM (16 years ago)
- Location:
- trunk/include/VBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/cpum.h
r13832 r13960 891 891 VMMDECL(void) CPUMHyperSetCtxCore(PVM pVM, PCPUMCTXCORE pCtxCore); 892 892 VMMDECL(PCPUMCTX) CPUMQueryGuestCtxPtr(PVM pVM); 893 VMMDECL(PCPUMCTX) CPUMQueryGuestCtxPtrEx(PVM pVM, PVMCPU pVCpu); 893 894 VMMDECL(int) CPUMQueryHyperCtxPtr(PVM pVM, PCPUMCTX *ppCtx); 894 895 VMMDECL(PCCPUMCTXCORE) CPUMGetGuestCtxCore(PVM pVM); … … 899 900 VMMDECL(uint32_t) CPUMRawGetEFlags(PVM pVM, PCPUMCTXCORE pCtxCore); 900 901 VMMDECL(void) CPUMRawSetEFlags(PVM pVM, PCPUMCTXCORE pCtxCore, uint32_t eflags); 901 VMMDECL(int) CPUMHandleLazyFPU(PVM pVM );902 VMMDECL(int) CPUMRestoreHostFPUState(PVM pVM );902 VMMDECL(int) CPUMHandleLazyFPU(PVM pVM, PVMCPU pVCpu); 903 VMMDECL(int) CPUMRestoreHostFPUState(PVM pVM, PVMCPU pVCpu); 903 904 904 905 /** @name Changed flags … … 928 929 VMMDECL(bool) CPUMIsHostUsingSysEnter(PVM pVM); 929 930 VMMDECL(bool) CPUMIsHostUsingSysCall(PVM pVM); 930 VMMDECL(bool) CPUMIsGuestFPUStateActive(PVM pVM);931 VMMDECL(bool) CPUMIsGuestFPUStateActive(PVMCPU pVCPU); 931 932 VMMDECL(void) CPUMDeactivateGuestFPUState(PVM pVM); 932 933 VMMDECL(bool) CPUMIsGuestDebugStateActive(PVM pVM); … … 966 967 VMMR3DECL(int) CPUMR3TermCPU(PVM pVM); 967 968 VMMR3DECL(void) CPUMR3Reset(PVM pVM); 968 VMMR3DECL(int) CPUMR3QueryGuestCtxRCPtr(PVM pVM, RCPTRTYPE(PCPUMCTX) *ppCtx);969 969 # ifdef DEBUG 970 970 VMMR3DECL(void) CPUMR3SaveEntryCtx(PVM pVM); … … 1006 1006 */ 1007 1007 VMMR0DECL(int) CPUMR0Init(PVM pVM); 1008 VMMR0DECL(int) CPUMR0LoadGuestFPU(PVM pVM, P CPUMCTX pCtx);1009 VMMR0DECL(int) CPUMR0SaveGuestFPU(PVM pVM, P CPUMCTX pCtx);1010 VMMR0DECL(int) CPUMR0SaveGuestDebugState(PVM pVM, P CPUMCTX pCtx, bool fDR6);1011 VMMR0DECL(int) CPUMR0LoadGuestDebugState(PVM pVM, P CPUMCTX pCtx, bool fDR6);1008 VMMR0DECL(int) CPUMR0LoadGuestFPU(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx); 1009 VMMR0DECL(int) CPUMR0SaveGuestFPU(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx); 1010 VMMR0DECL(int) CPUMR0SaveGuestDebugState(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx, bool fDR6); 1011 VMMR0DECL(int) CPUMR0LoadGuestDebugState(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx, bool fDR6); 1012 1012 1013 1013 /** @} */ -
trunk/include/VBox/vm.h
r13898 r13960 107 107 struct CPUMCPU s; 108 108 #endif 109 char padding[ 4096]; /* multiple of 32 */109 char padding[2048]; /* multiple of 32 */ 110 110 } cpum; 111 111 /** VMM part. */ … … 570 570 STAMPROFILEADV StatSwitcherTSS; 571 571 572 /** @todo Realign everything on 64 byte bound raries to better match the572 /** @todo Realign everything on 64 byte boundaries to better match the 573 573 * cache-line size. */ 574 574 /* padding - the unions must be aligned on 32 bytes boundraries. */ … … 581 581 struct CPUM s; 582 582 #endif 583 char padding[4 416]; /* multiple of 32 */583 char padding[4096]; /* multiple of 32 */ 584 584 } cpum; 585 585 -
trunk/include/VBox/vm.mac
r13831 r13960 95 95 96 96 alignb 64 97 .cpum resb 4 41697 .cpum resb 4096 98 98 .vmm resb 1024 99 99 100 100 endstruc 101 101 102 ;; 103 ; This is part of the VMCPU structure. 104 struc VMCPU 105 .fForcedActions resd 1 106 .enmState resd 1 107 .pVMR3 RTR3PTR_RES 1 108 .pVMR0 RTR0PTR_RES 1 109 .pVMRC RTRCPTR_RES 1 110 .idCpu resd 1 111 112 .hNativeThread RTR0PTR_RES 1 113 114 alignb 64 115 116 .cpum resb 2048 117 endstruc 118 102 119 103 120 %endif
Note:
See TracChangeset
for help on using the changeset viewer.