- Timestamp:
- Mar 6, 2009 12:47:54 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGMInternal.h
r17438 r17461 4729 4729 * Locks a page to prevent flushing (important for cr3 root pages or shadow pae pd pages). 4730 4730 * 4731 * @returns VBox status code.4732 4731 * @param pVM VM Handle. 4733 4732 * @param pPage PGM pool page 4734 4733 */ 4735 DECLINLINE( int) pgmPoolLockPage(PPGMPOOL pPool, PPGMPOOLPAGE pPage)4734 DECLINLINE(void) pgmPoolLockPage(PPGMPOOL pPool, PPGMPOOLPAGE pPage) 4736 4735 { 4737 4736 Assert(!pPage->fLocked); 4738 4737 pPage->fLocked = true; 4739 return VINF_SUCCESS;4740 4738 } 4741 4739 … … 4744 4742 * Unlocks a page to allow flushing again 4745 4743 * 4746 * @returns VBox status code.4747 4744 * @param pVM VM Handle. 4748 4745 * @param pPage PGM pool page 4749 4746 */ 4750 DECLINLINE( int) pgmPoolUnlockPage(PPGMPOOL pPool, PPGMPOOLPAGE pPage)4747 DECLINLINE(void) pgmPoolUnlockPage(PPGMPOOL pPool, PPGMPOOLPAGE pPage) 4751 4748 { 4752 4749 Assert(pPage->fLocked); 4753 4750 pPage->fLocked = false; 4754 return VINF_SUCCESS;4755 4751 } 4756 4752
Note:
See TracChangeset
for help on using the changeset viewer.