VirtualBox

Changeset 53576 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Dec 19, 2014 12:55:32 PM (10 years ago)
Author:
vboxsync
Message:

build fix

Location:
trunk/src/VBox/ValidationKit/utils/cpu
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/utils/cpu/cidet-app.cpp

    r53575 r53576  
    10231023static int CidetAppCreate(PPCIDETAPP ppThis)
    10241024{
     1025    *ppThis = NULL;
     1026
    10251027    PCIDETAPP pThis = (PCIDETAPP)RTMemAlloc(sizeof(*pThis));
    10261028    if (!pThis)
     
    10941096        rc = RTTestIFailedRc(rc, "RTRandAdvCreate failed: %Rrc", rc);
    10951097    RTMemFree(pThis);
    1096     *ppThis = NULL;
    10971098    return rc;
    10981099}
  • trunk/src/VBox/ValidationKit/utils/cpu/cidet-instr-1.cpp

    r53548 r53576  
    4545    {
    4646        "add Eb,Gb", cidetInOutAdd,  1, {0x00, 0, 0}, 0, 2,
    47         {   CIDET_OF_K_GPR | CIDET_OF_Z_BYTE | CIDET_OF_M_RM,
    48             CIDET_OF_K_GPR | CIDET_OF_Z_BYTE | CIDET_OF_M_REG,
     47        {   CIDET_OF_K_GPR | CIDET_OF_Z_BYTE | CIDET_OF_M_RM | CIDET_OF_A_RW,
     48            CIDET_OF_K_GPR | CIDET_OF_Z_BYTE | CIDET_OF_M_REG | CIDET_OF_A_R,
    4949            0, 0 }, CIDET_IF_MODRM
    5050    },
  • trunk/src/VBox/ValidationKit/utils/cpu/cidet.h

    r53563 r53576  
    8484#define CIDET_OF_M_RM           (CIDET_OF_M_RM_ONLY_R | CIDET_OF_M_RM_ONLY_M)
    8585#define CIDET_OF_M_REG          UINT32_C(0x00040000)
     86
     87#define CIDET_OF_A_R            UINT32_C(0x00080000) /**< Read access. */
     88#define CIDET_OF_A_W            UINT32_C(0x00100000) /**< Write access. */
     89#define CIDET_OF_A_RW           UINT32_C(0x00180000) /**< Read & write access. */
    8690
    8791/** The operand defaults to 64-bit width in 64-bit mode, making 32-bit width
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