VirtualBox

Ignore:
Timestamp:
Aug 8, 2008 4:56:16 PM (16 years ago)
Author:
vboxsync
Message:

#1865: DevParallel. Also fixed some serious GC/R0 alignment bugs and adding the thing to the testcase.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/testcase/tstDeviceStructSizeGC.cpp

    r11261 r11270  
    4040#define VBOX_DEVICE_STRUCT_TESTCASE
    4141#undef LOG_GROUP
    42 #include "Bus/DevPCI.cpp" /* must be first! */
    43 #undef LOG_GROUP
    44 #include "Graphics/DevVGA.cpp"
    45 #undef LOG_GROUP
    46 #include "Input/DevPS2.cpp"
    47 #undef LOG_GROUP
    48 #include "Network/DevPCNet.cpp"
    49 #undef LOG_GROUP
    50 #include "PC/DevACPI.cpp"
    51 #undef LOG_GROUP
    52 #include "PC/DevPIC.cpp"
    53 #undef LOG_GROUP
    54 #include "PC/DevPit-i8254.cpp"
    55 #undef LOG_GROUP
    56 #include "PC/DevRTC.cpp"
    57 #undef LOG_GROUP
    58 #include "PC/DevAPIC.cpp"
    59 #undef LOG_GROUP
    60 #include "Storage/DevATA.cpp"
     42#include "../Bus/DevPCI.cpp" /* must be first! */
     43#undef LOG_GROUP
     44#include "../Graphics/DevVGA.cpp"
     45#undef LOG_GROUP
     46#include "../Input/DevPS2.cpp"
     47#undef LOG_GROUP
     48#include "../Network/DevPCNet.cpp"
     49#undef LOG_GROUP
     50#include "../PC/DevACPI.cpp"
     51#undef LOG_GROUP
     52#include "../PC/DevPIC.cpp"
     53#undef LOG_GROUP
     54#include "../PC/DevPit-i8254.cpp"
     55#undef LOG_GROUP
     56#include "../PC/DevRTC.cpp"
     57#undef LOG_GROUP
     58#include "../PC/DevAPIC.cpp"
     59#undef LOG_GROUP
     60#include "../Storage/DevATA.cpp"
    6161#ifdef VBOX_WITH_USB
    6262# undef LOG_GROUP
    63 # include "USB/DevOHCI.cpp"
    64 # include "USB/DevEHCI.cpp"
    65 #endif
    66 #undef LOG_GROUP
    67 #include "VMMDev/VBoxDev.cpp"
    68 #undef LOG_GROUP
    69 #include "Serial/DevSerial.cpp"
     63# include "../USB/DevOHCI.cpp"
     64# include "../USB/DevEHCI.cpp"
     65#endif
     66#undef LOG_GROUP
     67#include "../VMMDev/VBoxDev.cpp"
     68#undef LOG_GROUP
     69#include "../Parallel/DevParallel.cpp"
     70#undef LOG_GROUP
     71#include "../Serial/DevSerial.cpp"
    7072#ifdef VBOX_WITH_AHCI
    71 #undef LOG_GROUP
    72 #include "Storage/DevAHCI.cpp"
     73# undef LOG_GROUP
     74# include "../Storage/DevAHCI.cpp"
    7375#endif
    7476#ifdef VBOX_WITH_E1000
    75 #undef LOG_GROUP
    76 #include "Network/DevE1000.cpp"
     77# undef LOG_GROUP
     78# include "../Network/DevE1000.cpp"
    7779#endif
    7880
     
    856858    /* VMMDev/VBoxDev.cpp */
    857859
     860    /* Parallel/DevParallel.cpp */
     861    GEN_CHECK_SIZE(ParallelState);
     862    GEN_CHECK_OFF(ParallelState, pDevInsR3);
     863    GEN_CHECK_OFF(ParallelState, pDevInsR0);
     864    GEN_CHECK_OFF(ParallelState, pDevInsRC);
     865    GEN_CHECK_OFF(ParallelState, IBase);
     866    GEN_CHECK_OFF(ParallelState, IHostParallelPort);
     867    GEN_CHECK_OFF(ParallelState, pDrvHostParallelConnector);
     868    GEN_CHECK_OFF(ParallelState, ReceiveSem);
     869    GEN_CHECK_OFF(ParallelState, reg_data);
     870    GEN_CHECK_OFF(ParallelState, reg_status);
     871    GEN_CHECK_OFF(ParallelState, reg_control);
     872    GEN_CHECK_OFF(ParallelState, reg_epp_addr);
     873    GEN_CHECK_OFF(ParallelState, reg_epp_data);
     874    GEN_CHECK_OFF(ParallelState, reg_ecp_ecr);
     875    GEN_CHECK_OFF(ParallelState, reg_ecp_base_plus_400h);
     876    GEN_CHECK_OFF(ParallelState, reg_ecp_config_b);
     877    GEN_CHECK_OFF(ParallelState, ecp_fifo);
     878    GEN_CHECK_OFF(ParallelState, ecp_fifo[1]);
     879    GEN_CHECK_OFF(ParallelState, act_fifo_pos_write);
     880    GEN_CHECK_OFF(ParallelState, act_fifo_pos_read);
     881    GEN_CHECK_OFF(ParallelState, irq);
     882    GEN_CHECK_OFF(ParallelState, epp_timeout);
     883    GEN_CHECK_OFF(ParallelState, fGCEnabled);
     884    GEN_CHECK_OFF(ParallelState, fR0Enabled);
     885    GEN_CHECK_OFF(ParallelState, base);
     886
    858887    /* Serial/DevSerial.cpp */
    859888    GEN_CHECK_SIZE(SerialState);
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