VirtualBox

Changeset 72206 in vbox for trunk/include/iprt/nt


Ignore:
Timestamp:
May 14, 2018 7:15:51 PM (7 years ago)
Author:
vboxsync
Message:

nt/hyperv.h: Added message structure for HvMessageTypeX64InterruptWindow. bugref:9044

File:
1 edited

Legend:

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

    r72198 r72206  
    14311431
    14321432
     1433/**
     1434 * The payload format for HvMessageTypeX64InterruptWindow,
     1435 *
     1436 * @note This message does not include HV_X64_INTERCEPT_MESSAGE_HEADER!
     1437 */
     1438typedef struct
     1439{
     1440    /** 0x00: The usual intercept header. */
     1441    HV_X64_INTERCEPT_MESSAGE_HEADER     Header;
     1442    /** 0x28: What's pending. */
     1443    HV_X64_PENDING_INTERRUPTION_TYPE    Type;
     1444    /** 0x2c: Explicit structure alignment padding.. */
     1445    uint32_t                            u32ExplicitPadding;
     1446} HV_X64_INTERRUPT_WINDOW_MESSAGE;
     1447AssertCompileSize(HV_X64_INTERRUPT_WINDOW_MESSAGE, 0x30);
     1448/** Pointer to a HvMessageTypeX64InterruptWindow payload. */
     1449typedef HV_X64_INTERRUPT_WINDOW_MESSAGE *PHV_X64_INTERRUPT_WINDOW_MESSAGE;
     1450/** Pointer to a const HvMessageTypeX64InterruptWindow payload. */
     1451typedef HV_X64_INTERRUPT_WINDOW_MESSAGE const *PCHV_X64_INTERRUPT_WINDOW_MESSAGE;
     1452
     1453/** Full HvMessageTypeX64InterruptWindow message. */
     1454typedef struct
     1455{
     1456    /** Payload size is 0x30.   */
     1457    HV_MESSAGE_HEADER                   MsgHdr;
     1458    HV_X64_INTERRUPT_WINDOW_MESSAGE     Payload;
     1459} HV_X64_INTERRUPT_WINDOW_MESSAGE_FULL;
     1460
     1461
    14331462
    14341463/** Hyper-V SynIC message. */
     
    14491478        /** HvMessageTypeX64ExceptionIntercept */
    14501479        HV_X64_EXCEPTION_INTERCEPT_MESSAGE  X64ExceptionIntercept;
    1451         /** HvMessageTypeX64Halt. */
     1480        /** HvMessageTypeX64Halt.
     1481         * @note No intercept header?  */
    14521482        HV_X64_HALT_MESSAGE                 X64Halt;
     1483        /** HvMessageTypeX64InterruptWindow. */
     1484        HV_X64_INTERRUPT_WINDOW_MESSAGE     X64InterruptWindow;
    14531485    };
    14541486} HV_MESSAGE;
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