VirtualBox

Changeset 74651 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Oct 7, 2018 12:06:45 PM (6 years ago)
Author:
vboxsync
Message:

iprt/nt/hyperv.h: updates. bugref:9044

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/nt/hyperv.h

    r74508 r74651  
    3737# define AssertCompileSize(type, size)
    3838# define AssertCompileMemberOffset(type, member, off)
     39typedef unsigned char uint8_t;
     40typedef unsigned __int32 uint32_t;
     41typedef unsigned __int64 uint64_t;
    3942#endif
    4043
     
    197200    HvCallPrecommitGpaPages = 0xbe,
    198201    HvCallUncommitGpaPages,             /**< Happens when VidDestroyGpaRangeCheckSecure/WHvUnmapGpaRange is called. */
    199     /* 0xc0..0xcb are unknown */
     202    /* 0xc0 is unknown */
    200203    HvCallVpRunloopRelated = 0xc2,      /**< Fast */
     204    /* 0xc3..0xcb are unknown */
    201205    HvCallQueryVtlProtectionMaskRange = 0xcc,
    202206    HvCallModifyVtlProtectionMaskRange,
     
    208212    HvCallReleaseSparseSpaPageHostAccess,
    209213    HvCallAcceptGpaPages,                       /**< 0x18 byte input, zero rep, no output. */
    210 
     214    /* 0xda..0xe0 are unknown (not dug out yet) */
     215    HvCallMapVpRegisterPage = 0xe1,             /**< Takes partition id + VP index (16 bytes). Returns a physical address (8 bytes). */
     216    HvCallUnmapVpRegisterPage,                  /**< Takes partition id + VP index. */
     217    HvCallUnknownE3,
     218    HvCallUnknownE4,
     219    HvCallUnknownE5,
     220    HvCallUnknownE6,
    211221    /** Number of defined hypercalls (varies with version). */
    212222    HvCallCount
     
    220230AssertCompile(HvCallFlushGuestPhysicalAddressList == 0xb0);
    221231AssertCompile(HvCallUncommitGpaPages == 0xbf);
    222 AssertCompile(HvCallCount == 0xda);
     232AssertCompile(HvCallCount == 0xe7);
    223233
    224234/** Makes the first parameter to a hypercall (rcx).  */
     
    549559    {
    550560        uint64_t        CacheType : 8;      /**< HV_CACHE_TYPE */
     561#ifndef IN_IDA_PRO
    551562        uint64_t        Reserved  : 56;
     563#endif
    552564    };
    553565} HV_ACCESS_GPA_CONTROL_FLAGS;
     
    975987    {
    976988        uint64_t        Suspended : 1;
     989#ifndef IN_IDA_PRO
    977990        uint64_t        Reserved  : 63;
     991#endif
    978992    };
    979993} HV_EXPLICIT_SUSPEND_REGISTER;
     
    9891003        uint64_t        Suspended : 1;
    9901004        uint64_t        TlbLocked : 1;
     1005#ifndef IN_IDA_PRO
    9911006        uint64_t        Reserved  : 62;
     1007#endif
    9921008    };
    9931009} HV_INTERCEPT_SUSPEND_REGISTER;
     
    10041020        uint64_t        InterruptShadow : 1;
    10051021        uint64_t        NmiMasked       : 1;
     1022#ifndef IN_IDA_PRO
    10061023        uint64_t        Reserved        : 62;
     1024#endif
    10071025    };
    10081026} HV_X64_INTERRUPT_STATE_REGISTER;
     
    10521070        uint64_t        InterruptNotification   : 1;
    10531071        uint64_t        InterruptPriority       : 4;
     1072#ifndef IN_IDA_PRO
    10541073        uint64_t        Reserved                : 58;
     1074#endif
    10551075    };
    10561076} HV_X64_DELIVERABILITY_NOTIFICATIONS_REGISTER;
     
    11091129        uint64_t        BiasedExponent  : 15;
    11101130        uint64_t        Sign            : 1;
     1131#ifndef IN_IDA_PRO
    11111132        uint64_t        Reserved        : 48;
     1133#endif
    11121134    };
    11131135} HV_X64_FP_REGISTER;
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