VirtualBox

Changeset 490 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 31, 2007 11:26:18 PM (18 years ago)
Author:
vboxsync
Message:

64-bit alignment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevPIC.cpp

    r113 r490  
    5454
    5555
     56#ifndef VBOX_DEVICE_STRUCT_TESTCASE
    5657/*******************************************************************************
    5758*   Internal Functions                                                         *
     
    6768
    6869__END_DECLS
     70#endif /* !VBOX_DEVICE_STRUCT_TESTCASE */
    6971
    7072
     
    119121    /** Pointer to the device instance, GCPtr. */
    120122    GCPTRTYPE(PPDMDEVINS) pDevInsGC;
     123#if HC_ARCH_BITS == 64 && GC_ARCH_BITS != 64
     124    RTGCPTR               Alignment0;
     125#endif
    121126} PicState;
    122127
     
    128133    /** The two interrupt controllers. */
    129134    PicState                aPics[2];
     135    /** Pointer to the PIC R3 helpers. */
     136    PCPDMPICHLPR3           pPicHlpR3;
     137    /** Pointer to the PIC R0 helpers. */
     138    PCPDMPICHLPR0           pPicHlpR0;
     139    /** Pointer to the PIC GC helpers. */
     140    PCPDMPICHLPGC           pPicHlpGC;
     141    /** Pointer to the device instance - GC Ptr. */
     142    GCPTRTYPE(PPDMDEVINS)   pDevInsGC;
    130143    /** Pointer to the device instance - GC Ptr. */
    131144    HCPTRTYPE(PPDMDEVINS)   pDevInsHC;
    132     /** Pointer to the device instance - GC Ptr. */
    133     GCPTRTYPE(PPDMDEVINS)   pDevInsGC;
    134     /** Pointer to the PIC R3 helpers. */
    135     PCPDMPICHLPR3           pPicHlpR3;
    136     /** Pointer to the PIC GC helpers. */
    137     PCPDMPICHLPGC           pPicHlpGC;
    138     /** Pointer to the PIC R0 helpers. */
    139     PCPDMPICHLPR0           pPicHlpR0;
     145#if HC_ARCH_BITS == 32
     146    uint32_t                Alignmnet0;
     147#endif
    140148#ifdef VBOX_WITH_STATISTICS
    141149    STAMCOUNTER             StatSetIrqGC;
     
    147155} DEVPIC, *PDEVPIC;
    148156
     157
     158#ifndef VBOX_DEVICE_STRUCT_TESTCASE
    149159#ifdef LOG_ENABLED
    150160static inline void DumpPICState(PicState *s, char *szFn)
     
    11051115
    11061116#endif /* IN_RING3 */
    1107 
    1108 
     1117#endif /* !VBOX_DEVICE_STRUCT_TESTCASE */
     1118
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