Changeset 9649 in vbox for trunk/include
- Timestamp:
- Jun 12, 2008 9:48:30 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/cpum.h
r9647 r9649 518 518 519 519 /** 520 * Tests if the guest is running in long mode or not. 521 * 522 * @returns true if in long mode, otherwise false. 523 * @param pVM The VM handle. 524 */ 525 DECLINLINE(bool) CPUMIsGuestInLongMode(PVM pVM) 526 { 527 return (CPUMGetGuestEFER(pVM) & MSR_K6_EFER_LMA) == MSR_K6_EFER_LMA; 528 } 529 530 /** 520 531 * Tests if the guest is running in paged protected or not. 521 532 *
Note:
See TracChangeset
for help on using the changeset viewer.