VirtualBox

Changeset 60601 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Apr 20, 2016 2:03:01 PM (9 years ago)
Author:
vboxsync
Message:

VMM/APIC: Saved-state, work-in-progress.

File:
1 edited

Legend:

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

    r60593 r60601  
    901901AssertCompileMemberOffset(X2APICPAGE, self_ipi,    X2APIC_OFF_SELF_IPI);
    902902
    903 /** The offset (in bits) of the posted-interrupt bitmap's outstanding
    904  *  notification bit. */
    905 #define XAPIC_PIB_NOTIFICATION_BIT             UINT32_C(256)
    906 
    907903/**
    908904 * APIC Pending Interrupt Bitmap (PIB).
    909  * The layout is critical as it mimics VT-x's Posted Interrupt Bitmap!
     905 * @note This structure is used in saved-state, careful with changing layout or
     906 *       size!
    910907 */
    911908typedef struct APICPIB
     
    915912    uint8_t           au8Reserved[28];
    916913} APICPIB;
    917 AssertCompileMemberOffset(APICPIB, fOutstandingNotification, XAPIC_PIB_NOTIFICATION_BIT / 8);
     914AssertCompileMemberOffset(APICPIB, fOutstandingNotification, 256 / 8);
    918915AssertCompileSize(APICPIB, 64);
    919916/** Pointer to a pending interrupt bitmap. */
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