Changeset 76548 in vbox for trunk/include/VBox/vmm
- Timestamp:
- Dec 31, 2018 4:05:16 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/cpum.h
r76507 r76548 1414 1414 VMM_INT_DECL(void) CPUMSetGuestSpecCtrl(PVMCPU pVCpu, uint64_t uValue); 1415 1415 VMM_INT_DECL(uint64_t) CPUMGetGuestSpecCtrl(PVMCPU pVCpu); 1416 VMM_INT_DECL(uint64_t) CPUMGetGuestCR4ValidMask(PVM pVM); 1416 1417 /** @} */ 1417 1418 … … 1514 1515 1515 1516 #ifndef IPRT_WITHOUT_NAMED_UNIONS_AND_STRUCTS 1517 1518 /** 1519 * Gets valid CR0 bits for the guest. 1520 * 1521 * @returns Valid CR0 bits. 1522 */ 1523 DECLINLINE(uint64_t) CPUMGetGuestCR0ValidMask(void) 1524 { 1525 return ( X86_CR0_PE | X86_CR0_MP | X86_CR0_EM | X86_CR0_TS 1526 | X86_CR0_ET | X86_CR0_NE | X86_CR0_WP | X86_CR0_AM 1527 | X86_CR0_NW | X86_CR0_CD | X86_CR0_PG); 1528 } 1516 1529 1517 1530 /**
Note:
See TracChangeset
for help on using the changeset viewer.