VirtualBox

Changeset 41692 in vbox for trunk/src/VBox/VMM/include


Ignore:
Timestamp:
Jun 13, 2012 7:32:54 PM (13 years ago)
Author:
vboxsync
Message:

DIS: Reducing the DISCPUMODE even more (200 bytes now) and making it have the same layout in all contexts. This is useful since it's used several places in the VM structure. Also a bunch of other cleanups.

Location:
trunk/src/VBox/VMM/include
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/EMInternal.h

    r40356 r41692  
    390390
    391391    /** For saving stack space, the disassembler state is allocated here instead of
    392      * on the stack.
    393      * @note The DISCPUSTATE structure is not R3/R0/RZ clean!  */
    394     union
    395     {
    396         /** The disassembler scratch space. */
    397         DISCPUSTATE         DisState;
    398         /** Padding. */
    399         uint8_t             abDisStatePadding[DISCPUSTATE_PADDING_SIZE];
    400     };
     392     * on the stack. */
     393    DISCPUSTATE             DisState;
    401394
    402395    /** @name Execution profiling.
  • trunk/src/VBox/VMM/include/HWACCMInternal.h

    r41318 r41692  
    749749
    750750    /** For saving stack space, the disassembler state is allocated here instead of
    751      * on the stack.
    752      * @note The DISCPUSTATE structure is not R3/R0/RZ clean!  */
    753     union
    754     {
    755         /** The disassembler scratch space. */
    756         DISCPUSTATE         DisState;
    757         /** Padding. */
    758         uint8_t             abDisStatePadding[DISCPUSTATE_PADDING_SIZE];
    759     };
     751     * on the stack. */
     752    DISCPUSTATE             DisState;
    760753
    761754    uint32_t                padding2[1];
  • trunk/src/VBox/VMM/include/IOMInternal.h

    r39111 r41692  
    403403{
    404404    /** For saving stack space, the disassembler state is allocated here instead of
    405      * on the stack.
    406      * @note The DISCPUSTATE structure is not R3/R0/RZ clean!  */
    407     union
    408     {
    409         /** The disassembler scratch space. */
    410         DISCPUSTATE                 DisState;
    411         /** Padding. */
    412         uint8_t                     abDisStatePadding[DISCPUSTATE_PADDING_SIZE];
    413     };
    414     uint8_t                         Dummy[16];
     405     * on the stack. */
     406    DISCPUSTATE                     DisState;
    415407} IOMCPU;
    416408/** Pointer to IOM per virtual CPU instance data. */
  • trunk/src/VBox/VMM/include/PGMInternal.h

    r41462 r41692  
    38303830
    38313831    /** For saving stack space, the disassembler state is allocated here instead of
    3832      * on the stack.
    3833      * @note The DISCPUSTATE structure is not R3/R0/RZ clean!  */
    3834     union
    3835     {
    3836         /** The disassembler scratch space. */
    3837         DISCPUSTATE                 DisState;
    3838         /** Padding. */
    3839         uint8_t                     abDisStatePadding[DISCPUSTATE_PADDING_SIZE];
    3840     };
     3832     * on the stack. */
     3833    DISCPUSTATE                     DisState;
    38413834
    38423835    /** Count the number of pgm pool access handler calls. */
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