VirtualBox

Changeset 53188 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Nov 4, 2014 7:58:32 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
96734
Message:

IEM: into is invalid in 64-bit mode; added int1/icebp.

Location:
trunk/src/VBox/VMM/VMMAll
Files:
2 edited

Legend:

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

    r53182 r53188  
    32003200                            uint64_t    uCr2)
    32013201{
    3202     NOREF(cbInstr);
    3203 
    32043202    /*
    32053203     * Read the IDT entry.
     
    36373635                            uint64_t    uCr2)
    36383636{
    3639     NOREF(cbInstr);
    3640 
    36413637    /*
    36423638     * Read the IDT entry.
  • trunk/src/VBox/VMM/VMMAll/IEMAllInstructions.cpp.h

    r53180 r53188  
    1219012190FNIEMOP_DEF(iemOp_into)
    1219112191{
     12192    IEMOP_MNEMONIC("into");
     12193    IEMOP_HLP_NO_64BIT();
     12194
    1219212195    IEM_MC_BEGIN(2, 0);
    1219312196    IEM_MC_ARG_CONST(uint8_t,   u8Int,      /*=*/ X86_XCPT_OF, 0);
     
    1614116144    uint8_t b; IEM_OPCODE_GET_NEXT_U8(&b);
    1614216145    return FNIEMOP_CALL(g_apfnOneByteMap[b]);
     16146}
     16147
     16148
     16149/** Opcode 0xf1. */
     16150FNIEMOP_DEF(iemOp_int_1)
     16151{
     16152    IEMOP_MNEMONIC("int1"); /* icebp */
     16153    /** @todo testcase! */
     16154    return IEM_MC_DEFER_TO_CIMPL_2(iemCImpl_int, X86_XCPT_DB, false /*fIsBpInstr*/);
    1614316155}
    1614416156
     
    1730517317    /* 0xe8 */  iemOp_call_Jv,          iemOp_jmp_Jv,           iemOp_jmp_Ap,           iemOp_jmp_Jb,
    1730617318    /* 0xec */  iemOp_in_AL_DX,         iemOp_eAX_DX,           iemOp_out_DX_AL,        iemOp_out_DX_eAX,
    17307     /* 0xf0 */  iemOp_lock,             iemOp_Invalid,          iemOp_repne,            iemOp_repe, /** @todo 0xf1 is INT1 / ICEBP. */
     17319    /* 0xf0 */  iemOp_lock,             iemOp_int_1,            iemOp_repne,            iemOp_repe,
    1730817320    /* 0xf4 */  iemOp_hlt,              iemOp_cmc,              iemOp_Grp3_Eb,          iemOp_Grp3_Ev,
    1730917321    /* 0xf8 */  iemOp_clc,              iemOp_stc,              iemOp_cli,              iemOp_sti,
Note: See TracChangeset for help on using the changeset viewer.

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