VirtualBox

Changeset 60384 in vbox for trunk/include


Ignore:
Timestamp:
Apr 8, 2016 12:16:58 AM (9 years ago)
Author:
vboxsync
Message:

IEM: Marked instructions introduced by the 186, 286, 386 and 486 to speed up debugging bs3kit on the 286.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/iem.h

    r58110 r60384  
    5050} IEMMODE;
    5151AssertCompileSize(IEMMODE, 4);
     52
     53
     54/** @name IEMTARGETCPU_XXX - IEM target CPU specification.
     55 *
     56 * This is a gross simpliciation of CPUMMICROARCH for dealing with really old
     57 * CPUs which didn't have much in the way of hinting at supported instructions
     58 * and features.  This slowly changes with the introduction of CPUID with the
     59 * Intel Pentium.
     60 *
     61 * @{
     62 */
     63/** The dynamic target CPU mode is for getting thru the BIOS and then use
     64 * the debugger or modifying instruction behaviour (e.g. HLT) to switch to a
     65 * different target CPU. */
     66#define IEMTARGETCPU_DYNAMIC    UINT32_C(0)
     67/** Intel 8086/8088.  */
     68#define IEMTARGETCPU_8086       UINT32_C(1)
     69/** NEC V20/V30.  */
     70#define IEMTARGETCPU_V20        UINT32_C(2)
     71/** Intel 80186/80188.  */
     72#define IEMTARGETCPU_186        UINT32_C(3)
     73/** Intel 80286.  */
     74#define IEMTARGETCPU_286        UINT32_C(4)
     75/** Intel 80386.  */
     76#define IEMTARGETCPU_386        UINT32_C(5)
     77/** Intel 80486.  */
     78#define IEMTARGETCPU_486        UINT32_C(6)
     79/** Intel Pentium .  */
     80#define IEMTARGETCPU_PENTIUM    UINT32_C(7)
     81/** Intel PentiumPro.  */
     82#define IEMTARGETCPU_PPRO       UINT32_C(8)
     83/** A reasonably current CPU, probably newer than the pentium pro when it comes
     84 * to the feature set and behaviour.  Generally the CPUID info and CPU vendor
     85 * dicates the behaviour here. */
     86#define IEMTARGETCPU_CURRENT    UINT32_C(9)
     87/** @} */
    5288
    5389
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