Changeset 11526 in vbox for trunk/src/VBox
- Timestamp:
- Aug 21, 2008 9:49:44 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 35089
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGM.cpp
r11525 r11526 1128 1128 pVM->pgm.s.GCPhysGstCR3Monitored = NIL_RTGCPHYS; 1129 1129 pVM->pgm.s.fA20Enabled = true; 1130 pVM->pgm.s.GCPhys4MBPSEMask = RT_BIT_64(32) - 1; /* default; checked later */ 1130 1131 pVM->pgm.s.pGstPaePDPTHC = NULL; 1131 1132 pVM->pgm.s.pGstPaePDPTGC = 0; … … 1805 1806 } 1806 1807 1807 return rc;1808 }1809 1810 1811 /**1812 * Applies relocations to data and code managed by this1813 * component. This function will be called at init and1814 * whenever the VMM need to relocate it self inside the GC.1815 *1816 * @param pVM The VM.1817 * @param offDelta Relocation delta relative to old location.1818 */1819 PGMR3DECL(void) PGMR3Relocate(PVM pVM, RTGCINTPTR offDelta)1820 {1821 LogFlow(("PGMR3Relocate\n"));1822 1823 1808 /* Note that AMD uses all the 8 reserved bits for the address (so 40 bits in total); Intel only goes up to 36 bits, so 1824 1809 * we stick to 36 as well. … … 1834 1819 pVM->pgm.s.GCPhys4MBPSEMask = RT_BIT_64(32) - 1; 1835 1820 1836 LogRel(("PGMR3Relocate: 4 MB PSE mask %VGp\n", pVM->pgm.s.GCPhys4MBPSEMask)); 1837 1821 LogRel(("PGMR3InitFinalize: 4 MB PSE mask %VGp\n", pVM->pgm.s.GCPhys4MBPSEMask)); 1822 1823 return rc; 1824 } 1825 1826 1827 /** 1828 * Applies relocations to data and code managed by this 1829 * component. This function will be called at init and 1830 * whenever the VMM need to relocate it self inside the GC. 1831 * 1832 * @param pVM The VM. 1833 * @param offDelta Relocation delta relative to old location. 1834 */ 1835 PGMR3DECL(void) PGMR3Relocate(PVM pVM, RTGCINTPTR offDelta) 1836 { 1837 LogFlow(("PGMR3Relocate\n")); 1838 1838 1839 1839 /*
Note:
See TracChangeset
for help on using the changeset viewer.