Changeset 9661 in vbox for trunk/include
- Timestamp:
- Jun 12, 2008 1:11:40 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/cpum.h
r9655 r9661 535 535 536 536 /** 537 * Tests if the guest is running in paged protected or not.537 * Tests if the guest is running in 16 bits paged protected or not. 538 538 * 539 539 * @returns true if in paged protected mode, otherwise false. … … 543 543 544 544 /** 545 * Tests if the guest is running in paged protected or not.545 * Tests if the guest is running in 32 bits paged protected or not. 546 546 * 547 547 * @returns true if in paged protected mode, otherwise false. … … 551 551 552 552 /** 553 * Tests if the guest is running in paged protected or not. 554 * 555 * @returns true if in paged protected mode, otherwise false. 556 * @param pVM The VM handle. 557 */ 558 CPUMDECL(bool) CPUMIsGuestIn64BitCode(PVM pVM); 553 * Tests if the guest is running in 64 bits mode or not. 554 * 555 * @returns true if in 64 bits protected mode, otherwise false. 556 * @param pVM The VM handle. 557 * @param pCtx Current CPU context 558 */ 559 DECLINLINE(bool) CPUMIsGuestIn64BitCode(PVM pVM, PCCPUMCTXCORE pCtx) 560 { 561 if (!CPUMIsGuestInLongMode(pVM)) 562 return false; 563 564 return pCtx->csHid.Attr.n.u1Long; 565 } 559 566 560 567 /**
Note:
See TracChangeset
for help on using the changeset viewer.