VirtualBox

Changeset 41706 in vbox for trunk/include/VBox/dis.h


Ignore:
Timestamp:
Jun 14, 2012 12:33:12 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
78514
Message:

dis.h: Drop the pragma pack(4) around DISOPCODE, it has no effect and only makes you think the structure is special. Use explicit packing instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/dis.h

    r41692 r41706  
    566566} DISCPUSTATE;
    567567
    568 /** The storage padding sufficient to hold the largest DISCPUSTATE in all
    569  * contexts (R3, R0 and RC). Used various places in the VMM internals.   */
    570 #define DISCPUSTATE_PADDING_SIZE    (HC_ARCH_BITS == 64 ? 0x1a0 : 0x180)
    571 
    572 /** Opcode. */
    573 #pragma pack(4)
     568
     569/**
     570 * Opcode descriptor.
     571 */
    574572typedef struct DISOPCODE
    575573{
     
    580578    uint8_t     idxParse2;
    581579    uint8_t     idxParse3;
     580    uint8_t     uUnused;
    582581    uint16_t    opcode;
    583582    uint16_t    param1;
     
    586585    uint32_t    optype;
    587586} DISOPCODE;
    588 #pragma pack()
    589587
    590588
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette