VirtualBox

Changeset 9965 in vbox


Ignore:
Timestamp:
Jun 26, 2008 2:58:52 PM (16 years ago)
Author:
vboxsync
Message:

Hyper and intermediate CR3 values can be 64 bits.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/pgm.h

    r9824 r9965  
    307307
    308308
    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);
     309PGMDECL(RTHCPHYS) PGMGetHyperCR3(PVM pVM);
     310PGMDECL(RTHCPHYS) PGMGetNestedCR3(PVM pVM, PGMMODE enmShadowMode);
     311PGMDECL(RTHCPHYS) PGMGetHyper32BitCR3(PVM pVM);
     312PGMDECL(RTHCPHYS) PGMGetHyperPaeCR3(PVM pVM);
     313PGMDECL(RTHCPHYS) PGMGetHyperAmd64CR3(PVM pVM);
     314PGMDECL(RTHCPHYS) PGMGetInterHCCR3(PVM pVM);
     315PGMDECL(RTHCPHYS) PGMGetInterGCCR3(PVM pVM);
     316PGMDECL(RTHCPHYS) PGMGetInter32BitCR3(PVM pVM);
     317PGMDECL(RTHCPHYS) PGMGetInterPaeCR3(PVM pVM);
     318PGMDECL(RTHCPHYS) PGMGetInterAmd64CR3(PVM pVM);
    319319PGMDECL(int)    PGMTrap0eHandler(PVM pVM, RTGCUINT uErr, PCPUMCTXCORE pRegFrame, RTGCPTR pvFault);
    320320PGMDECL(int)    PGMPrefetchPage(PVM pVM, RTGCPTR GCPtrPage);
  • trunk/src/VBox/VMM/VMMAll/PGMAll.cpp

    r9893 r9965  
    10371037 * @param   pVM         The VM handle.
    10381038 */
    1039 PGMDECL(uint32_t) PGMGetHyperCR3(PVM pVM)
     1039PGMDECL(RTHCPHYS) PGMGetHyperCR3(PVM pVM)
    10401040{
    10411041    PGMMODE enmShadowMode = pVM->pgm.s.enmShadowMode;
     
    10671067 * @param   pVM         The VM handle.
    10681068 */
    1069 PGMDECL(uint32_t) PGMGetNestedCR3(PVM pVM, PGMMODE enmShadowMode)
     1069PGMDECL(RTHCPHYS) PGMGetNestedCR3(PVM pVM, PGMMODE enmShadowMode)
    10701070{
    10711071    switch (enmShadowMode)
     
    10941094 * @param   pVM         The VM handle.
    10951095 */
    1096 PGMDECL(uint32_t) PGMGetHyper32BitCR3(PVM pVM)
     1096PGMDECL(RTHCPHYS) PGMGetHyper32BitCR3(PVM pVM)
    10971097{
    10981098    return pVM->pgm.s.HCPhys32BitPD;
     
    11051105 * @param   pVM         The VM handle.
    11061106 */
    1107 PGMDECL(uint32_t) PGMGetHyperPaeCR3(PVM pVM)
     1107PGMDECL(RTHCPHYS) PGMGetHyperPaeCR3(PVM pVM)
    11081108{
    11091109    return pVM->pgm.s.HCPhysPaePDPT;
     
    11161116 * @param   pVM         The VM handle.
    11171117 */
    1118 PGMDECL(uint32_t) PGMGetHyperAmd64CR3(PVM pVM)
     1118PGMDECL(RTHCPHYS) PGMGetHyperAmd64CR3(PVM pVM)
    11191119{
    11201120    return pVM->pgm.s.HCPhysPaePML4;
     
    11271127 * @param   pVM         The VM handle.
    11281128 */
    1129 PGMDECL(uint32_t) PGMGetInterHCCR3(PVM pVM)
     1129PGMDECL(RTHCPHYS) PGMGetInterHCCR3(PVM pVM)
    11301130{
    11311131    switch (pVM->pgm.s.enmHostMode)
     
    11591159 * @param   pVM         The VM handle.
    11601160 */
    1161 PGMDECL(uint32_t) PGMGetInterGCCR3(PVM pVM)
     1161PGMDECL(RTHCPHYS) PGMGetInterGCCR3(PVM pVM)
    11621162{
    11631163    switch (pVM->pgm.s.enmShadowMode)
     
    11891189 * @param   pVM         The VM handle.
    11901190 */
    1191 PGMDECL(uint32_t) PGMGetInter32BitCR3(PVM pVM)
     1191PGMDECL(RTHCPHYS) PGMGetInter32BitCR3(PVM pVM)
    11921192{
    11931193    return pVM->pgm.s.HCPhysInterPD;
     
    12001200 * @param   pVM         The VM handle.
    12011201 */
    1202 PGMDECL(uint32_t) PGMGetInterPaeCR3(PVM pVM)
     1202PGMDECL(RTHCPHYS) PGMGetInterPaeCR3(PVM pVM)
    12031203{
    12041204    return pVM->pgm.s.HCPhysInterPaePDPT;
     
    12111211 * @param   pVM         The VM handle.
    12121212 */
    1213 PGMDECL(uint32_t) PGMGetInterAmd64CR3(PVM pVM)
     1213PGMDECL(RTHCPHYS) PGMGetInterAmd64CR3(PVM pVM)
    12141214{
    12151215    return pVM->pgm.s.HCPhysInterPaePML4;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette