Changeset 14411 in vbox for trunk/include/VBox
- Timestamp:
- Nov 20, 2008 1:26:47 PM (16 years ago)
- Location:
- trunk/include/VBox
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/cpum.h
r13975 r14411 361 361 */ 362 362 #define CPUMCTX2CORE(pCtx) ((PCPUMCTXCORE)(void *)&(pCtx)->edi) 363 364 363 365 364 /** … … 543 542 } CPUMCTX_VER1_6; 544 543 #pragma pack() 544 545 /* Guest MSR state. */ 546 typedef union CPUMCTXMSR 547 { 548 struct 549 { 550 uint64_t tscAux; /* MSR_K8_TSC_AUX */ 551 } msr; 552 uint64_t au64[64]; 553 } CPUMCTXMSR; 554 /** Pointer to the guest MSR state. */ 555 typedef CPUMCTXMSR *PCPUMCTXMSR; 556 /** Pointer to the const guest MSR state. */ 557 typedef const CPUMCTXMSR *PCCPUMCTXMSR; 545 558 546 559 … … 584 597 /** The x2APIC feature bit. (Std) */ 585 598 CPUMCPUIDFEATURE_X2APIC, 599 /** The RDTSCP feature bit. (Ext) */ 600 CPUMCPUIDFEATURE_RDTSCP, 586 601 /** 32bit hackishness. */ 587 602 CPUMCPUIDFEATURE_32BIT_HACK = 0x7fffffff … … 649 664 VMMDECL(uint64_t) CPUMGetGuestEFER(PVM pVM); 650 665 VMMDECL(uint64_t) CPUMGetGuestMsr(PVM pVM, unsigned idMsr); 666 VMMDECL(void) CPUMSetGuestMsr(PVM pVM, unsigned idMsr, uint64_t valMsr); 651 667 /** @} */ 652 668 -
trunk/include/VBox/cpum.mac
r13954 r14411 196 196 ; padding 197 197 ;;; .padding resd 6 198 endstruc 199 200 201 ;;/* Guest MSR state. */ 202 struc CPUMCTXMSR 203 .au64 resq 64 198 204 endstruc 199 205 -
trunk/include/VBox/em.h
r13858 r14411 126 126 VMMDECL(int) EMInterpretCpuId(PVM pVM, PCPUMCTXCORE pRegFrame); 127 127 VMMDECL(int) EMInterpretRdtsc(PVM pVM, PCPUMCTXCORE pRegFrame); 128 VMMDECL(int) EMInterpretRdtscp(PVM pVM, PCPUMCTX pCtx); 128 129 VMMDECL(int) EMInterpretInvlpg(PVM pVM, PCPUMCTXCORE pRegFrame, RTGCPTR pAddrGC); 129 130 VMMDECL(int) EMInterpretIret(PVM pVM, PCPUMCTXCORE pRegFrame); -
trunk/include/VBox/vm.h
r14244 r14411 113 113 struct CPUMCPU s; 114 114 #endif 115 char padding[2 048]; /* multiple of 64 */115 char padding[2560]; /* multiple of 64 */ 116 116 } cpum; 117 117 /** VMM part. */
Note:
See TracChangeset
for help on using the changeset viewer.