VirtualBox

Changeset 71046 in vbox


Ignore:
Timestamp:
Feb 19, 2018 7:59:20 AM (7 years ago)
Author:
vboxsync
Message:

hm_svm.h: Added SVM_CTRL_GUEST_INSTR_BYTES_MAX macro for holding the size of guest-instr bytes field for intended
re-use from other parts of the code (IEM).

File:
1 edited

Legend:

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

    r70781 r71046  
    707707AssertCompileSize(SVMLBRVIRT, 8);
    708708
     709/** Maximum number of bytes in the Guest-instruction bytes field. */
     710#define SVM_CTRL_GUEST_INSTR_BYTES_MAX      15
     711
    709712/**
    710713 * SVM VMCB control area.
     
    770773    /** Offset 0xd0 - Number of bytes fetched. */
    771774    uint8_t     cbInstrFetched;
    772     /** Offset 0xd1 - Fetched bytes. */
    773     uint8_t     abInstr[15];
     775    /** Offset 0xd1 - Guest instruction bytes. */
     776    uint8_t     abInstr[SVM_CTRL_GUEST_INSTR_BYTES_MAX];
    774777    /** Offset 0xe0 - AVIC APIC_BACKING_PAGE pointer. */
    775778    SVMAVIC     AvicBackingPagePtr;
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