Changeset 61393 in vbox for trunk/src/VBox/ValidationKit/bootsectors
- Timestamp:
- Jun 2, 2016 12:48:41 AM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 107707
- Location:
- trunk/src/VBox/ValidationKit/bootsectors/bs3kit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-PagingInitRootForPAE.c
r60527 r61393 73 73 pPdPtr->a[3].u = pPdPtr->a[2].u + _4K; 74 74 75 /* Free up 8 consequtive entries for raw-mode hypervisor code. */ 76 if (1) /** @todo detect raw-mode and only do this then. */ 77 for (i = 0; i < 8; i++) 78 paPgDirs->a[i + (UINT32_C(0xc0000000) >> X86_PD_PAE_SHIFT)].b.u1Present = 0; 79 75 80 /* Set the global root pointer and we're done. */ 76 81 BS3_XPTR_SET(X86PDPT, XPtrPdPtr, pPdPtr); -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-PagingInitRootForPP.c
r60527 r61393 97 97 pPgDir->a[i].u |= X86_PDE4M_P | X86_PDE4M_RW | X86_PDE4M_US | X86_PDE4M_PS | X86_PDE4M_A | X86_PDE4M_D; 98 98 } 99 100 /* Free up 4 consequtive entries for raw-mode hypervisor code. */ 101 if (1) /** @todo detect raw-mode and only do this then. */ 102 for (i = 0; i < 4; i++) 103 pPgDir->a[i + (UINT32_C(0xc0000000) >> X86_PD_SHIFT)].b.u1Present = 0; 99 104 } 100 105 else
Note:
See TracChangeset
for help on using the changeset viewer.