VirtualBox

Changeset 487 in vbox


Ignore:
Timestamp:
Jan 31, 2007 11:15:55 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
18092
Message:

64-bit Alignment.

File:
1 edited

Legend:

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

    r1 r487  
    6969#define RTC_CRC_LOW     0x2f
    7070
     71#ifndef VBOX_DEVICE_STRUCT_TESTCASE
    7172/*******************************************************************************
    7273*   Internal Functions                                                         *
     
    7980PDMBOTHCBDECL(void) rtcTimerSecond2(PPDMDEVINS pDevIns, PTMTIMER pTimer);
    8081__END_DECLS
     82#endif /* !VBOX_DEVICE_STRUCT_TESTCASE */
    8183
    8284/*#define DEBUG_CMOS*/
     
    110112    uint8_t cmos_data[128];
    111113    uint8_t cmos_index;
     114    uint8_t Alignment0[7];
    112115    struct tm current_tm;
     116#if HC_ARCH_BITS == 64 && GC_ARCH_BITS == 32 && IN_GC
     117    uint32_t Alignment1[3];
     118#endif
    113119    int32_t irq;
    114120    /* periodic timer */
     121    PTMTIMERGC  pPeriodicTimerGC;
    115122    PTMTIMERHC  pPeriodicTimerHC;
    116     PTMTIMERGC  pPeriodicTimerGC;
    117123    int64_t next_periodic_time;
    118124    /* second update */
     
    120126    PTMTIMERHC      pSecondTimerHC;
    121127    PTMTIMERGC      pSecondTimerGC;
     128    PTMTIMERGC      pSecondTimer2GC;
    122129    PTMTIMERHC      pSecondTimer2HC;
    123     PTMTIMERGC      pSecondTimer2GC;
    124130    /** Pointer to the device instance - HC Ptr. */
    125131    PPDMDEVINSHC    pDevInsHC;
     
    134140};
    135141
     142#ifndef VBOX_DEVICE_STRUCT_TESTCASE
    136143static void rtc_set_time(RTCState *s);
    137144static void rtc_copy_date(RTCState *s);
     
    948955};
    949956#endif /* IN_RING3 */
    950 
     957#endif /* !VBOX_DEVICE_STRUCT_TESTCASE */
     958
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