VirtualBox

Changeset 52884 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Sep 29, 2014 10:17:11 AM (10 years ago)
Author:
vboxsync
Message:

IEM: Added comments where code does not match comments and/or Intel manuals.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllCImpl.cpp.h

    r52883 r52884  
    11861186        {
    11871187            Log(("jmpf %04x:%08RX64 -> out of bounds (%#x)\n", uSel, offSeg, cbLimit));
     1188            /** @todo: Intel says this is #GP(0)! */
    11881189            return iemRaiseGeneralProtectionFaultBySelector(pIemCpu, uSel);
    11891190        }
     
    13811382        {
    13821383            Log(("callf %04x:%08RX64 -> out of bounds (%#x)\n", uSel, offSeg, cbLimit));
     1384            /** @todo: Intel says this is #GP(0)! */
    13831385            return iemRaiseGeneralProtectionFaultBySelector(pIemCpu, uSel);
    13841386        }
     
    16931695                Log(("retf %04x:%08RX64 %04x:%08RX64 - out of bounds (%#x)-> #GP(CS).\n",
    16941696                     uNewCs, uNewRip, uNewOuterSs, uNewOuterRsp, cbLimitCs));
     1697                /** @todo: Intel says this is #GP(0)! */
    16951698                return iemRaiseGeneralProtectionFaultBySelector(pIemCpu, uNewCs);
    16961699            }
     
    17851788            {
    17861789                Log(("retf %04x:%08RX64 -> out of bounds (%#x)\n", uNewCs, uNewRip, cbLimitCs));
     1790                /** @todo: Intel says this is #GP(0)! */
    17871791                return iemRaiseGeneralProtectionFaultBySelector(pIemCpu, uNewCs);
    17881792            }
     
    25722576            Log(("iret %04x:%08x/%04x:%08x -> EIP is out of bounds (%#x) -> #GP(0)\n",
    25732577                 uNewCs, uNewEip, uNewSS, uNewESP, cbLimitCS));
     2578            /** @todo: Which is it, #GP(0) or #GP(sel)? */
    25742579            return iemRaiseSelectorBoundsBySelector(pIemCpu, uNewCs);
    25752580        }
     
    26482653        {
    26492654            Log(("iret %04x:%08x - EIP is out of bounds (%#x) -> #GP(0)\n", uNewCs, uNewEip, cbLimitCS));
     2655            /** @todo: Which is it, #GP(0) or #GP(sel)? */
    26502656            return iemRaiseSelectorBoundsBySelector(pIemCpu, uNewCs);
    26512657        }
     
    29012907            Log(("iret %04x:%016RX64/%04x:%016RX64 -> EIP is out of bounds (%#x) -> #GP(0)\n",
    29022908                 uNewCs, uNewRip, uNewSs, uNewRsp, cbLimitCS));
     2909            /** @todo: Which is it, #GP(0) or #GP(sel)? */
    29032910            return iemRaiseSelectorBoundsBySelector(pIemCpu, uNewCs);
    29042911        }
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