Changeset 9965 in vbox
- Timestamp:
- Jun 26, 2008 2:58:52 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pgm.h
r9824 r9965 307 307 308 308 309 PGMDECL( uint32_t) PGMGetHyperCR3(PVM pVM);310 PGMDECL( uint32_t) PGMGetNestedCR3(PVM pVM, PGMMODE enmShadowMode);311 PGMDECL( uint32_t) PGMGetHyper32BitCR3(PVM pVM);312 PGMDECL( uint32_t) PGMGetHyperPaeCR3(PVM pVM);313 PGMDECL( uint32_t) PGMGetHyperAmd64CR3(PVM pVM);314 PGMDECL( uint32_t) PGMGetInterHCCR3(PVM pVM);315 PGMDECL( uint32_t) PGMGetInterGCCR3(PVM pVM);316 PGMDECL( uint32_t) PGMGetInter32BitCR3(PVM pVM);317 PGMDECL( uint32_t) PGMGetInterPaeCR3(PVM pVM);318 PGMDECL( uint32_t) PGMGetInterAmd64CR3(PVM pVM);309 PGMDECL(RTHCPHYS) PGMGetHyperCR3(PVM pVM); 310 PGMDECL(RTHCPHYS) PGMGetNestedCR3(PVM pVM, PGMMODE enmShadowMode); 311 PGMDECL(RTHCPHYS) PGMGetHyper32BitCR3(PVM pVM); 312 PGMDECL(RTHCPHYS) PGMGetHyperPaeCR3(PVM pVM); 313 PGMDECL(RTHCPHYS) PGMGetHyperAmd64CR3(PVM pVM); 314 PGMDECL(RTHCPHYS) PGMGetInterHCCR3(PVM pVM); 315 PGMDECL(RTHCPHYS) PGMGetInterGCCR3(PVM pVM); 316 PGMDECL(RTHCPHYS) PGMGetInter32BitCR3(PVM pVM); 317 PGMDECL(RTHCPHYS) PGMGetInterPaeCR3(PVM pVM); 318 PGMDECL(RTHCPHYS) PGMGetInterAmd64CR3(PVM pVM); 319 319 PGMDECL(int) PGMTrap0eHandler(PVM pVM, RTGCUINT uErr, PCPUMCTXCORE pRegFrame, RTGCPTR pvFault); 320 320 PGMDECL(int) PGMPrefetchPage(PVM pVM, RTGCPTR GCPtrPage); -
trunk/src/VBox/VMM/VMMAll/PGMAll.cpp
r9893 r9965 1037 1037 * @param pVM The VM handle. 1038 1038 */ 1039 PGMDECL( uint32_t) PGMGetHyperCR3(PVM pVM)1039 PGMDECL(RTHCPHYS) PGMGetHyperCR3(PVM pVM) 1040 1040 { 1041 1041 PGMMODE enmShadowMode = pVM->pgm.s.enmShadowMode; … … 1067 1067 * @param pVM The VM handle. 1068 1068 */ 1069 PGMDECL( uint32_t) PGMGetNestedCR3(PVM pVM, PGMMODE enmShadowMode)1069 PGMDECL(RTHCPHYS) PGMGetNestedCR3(PVM pVM, PGMMODE enmShadowMode) 1070 1070 { 1071 1071 switch (enmShadowMode) … … 1094 1094 * @param pVM The VM handle. 1095 1095 */ 1096 PGMDECL( uint32_t) PGMGetHyper32BitCR3(PVM pVM)1096 PGMDECL(RTHCPHYS) PGMGetHyper32BitCR3(PVM pVM) 1097 1097 { 1098 1098 return pVM->pgm.s.HCPhys32BitPD; … … 1105 1105 * @param pVM The VM handle. 1106 1106 */ 1107 PGMDECL( uint32_t) PGMGetHyperPaeCR3(PVM pVM)1107 PGMDECL(RTHCPHYS) PGMGetHyperPaeCR3(PVM pVM) 1108 1108 { 1109 1109 return pVM->pgm.s.HCPhysPaePDPT; … … 1116 1116 * @param pVM The VM handle. 1117 1117 */ 1118 PGMDECL( uint32_t) PGMGetHyperAmd64CR3(PVM pVM)1118 PGMDECL(RTHCPHYS) PGMGetHyperAmd64CR3(PVM pVM) 1119 1119 { 1120 1120 return pVM->pgm.s.HCPhysPaePML4; … … 1127 1127 * @param pVM The VM handle. 1128 1128 */ 1129 PGMDECL( uint32_t) PGMGetInterHCCR3(PVM pVM)1129 PGMDECL(RTHCPHYS) PGMGetInterHCCR3(PVM pVM) 1130 1130 { 1131 1131 switch (pVM->pgm.s.enmHostMode) … … 1159 1159 * @param pVM The VM handle. 1160 1160 */ 1161 PGMDECL( uint32_t) PGMGetInterGCCR3(PVM pVM)1161 PGMDECL(RTHCPHYS) PGMGetInterGCCR3(PVM pVM) 1162 1162 { 1163 1163 switch (pVM->pgm.s.enmShadowMode) … … 1189 1189 * @param pVM The VM handle. 1190 1190 */ 1191 PGMDECL( uint32_t) PGMGetInter32BitCR3(PVM pVM)1191 PGMDECL(RTHCPHYS) PGMGetInter32BitCR3(PVM pVM) 1192 1192 { 1193 1193 return pVM->pgm.s.HCPhysInterPD; … … 1200 1200 * @param pVM The VM handle. 1201 1201 */ 1202 PGMDECL( uint32_t) PGMGetInterPaeCR3(PVM pVM)1202 PGMDECL(RTHCPHYS) PGMGetInterPaeCR3(PVM pVM) 1203 1203 { 1204 1204 return pVM->pgm.s.HCPhysInterPaePDPT; … … 1211 1211 * @param pVM The VM handle. 1212 1212 */ 1213 PGMDECL( uint32_t) PGMGetInterAmd64CR3(PVM pVM)1213 PGMDECL(RTHCPHYS) PGMGetInterAmd64CR3(PVM pVM) 1214 1214 { 1215 1215 return pVM->pgm.s.HCPhysInterPaePML4;
Note:
See TracChangeset
for help on using the changeset viewer.