summaryrefslogtreecommitdiff
path: root/src/VBox/Devices/testcase/tstDeviceStructSize.cpp
diff options
context:
space:
mode:
authorFelix Geyer <debfx-pkg@fobos.de>2010-05-19 18:20:38 +0200
committerFelix Geyer <debfx-pkg@fobos.de>2010-05-19 18:20:38 +0200
commitabd0051802e55207e88435a185ff8d6e6b8d17d5 (patch)
treec827a6fc0893ec4f74067aac529b5a52875a036b /src/VBox/Devices/testcase/tstDeviceStructSize.cpp
parent1ea6626f22e9895b90f8795f794aa229a233a545 (diff)
downloadvirtualbox-abd0051802e55207e88435a185ff8d6e6b8d17d5.tar.gz
Imported Upstream version 3.2.0-dfsgupstream/3.2.0-dfsg
Diffstat (limited to 'src/VBox/Devices/testcase/tstDeviceStructSize.cpp')
-rw-r--r--src/VBox/Devices/testcase/tstDeviceStructSize.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/VBox/Devices/testcase/tstDeviceStructSize.cpp b/src/VBox/Devices/testcase/tstDeviceStructSize.cpp
index 3ab14e149..401542752 100644
--- a/src/VBox/Devices/testcase/tstDeviceStructSize.cpp
+++ b/src/VBox/Devices/testcase/tstDeviceStructSize.cpp
@@ -1,4 +1,4 @@
-/* $Id: tstDeviceStructSize.cpp 29080 2010-05-05 13:22:44Z vboxsync $ */
+/* $Id: tstDeviceStructSize.cpp 29435 2010-05-12 20:55:39Z vboxsync $ */
/** @file
* tstDeviceStructSize - testcase for check structure sizes/alignment
* and to verify that HC and RC uses the same
@@ -269,6 +269,7 @@ int main()
#ifdef VBOX_WITH_E1000
CHECK_MEMBER_ALIGNMENT(E1KSTATE, cs, 8);
CHECK_MEMBER_ALIGNMENT(E1KSTATE, csRx, 8);
+ CHECK_MEMBER_ALIGNMENT(E1KSTATE, StatReceiveBytes, 8);
#endif
#ifdef VBOX_WITH_VIRTIO
CHECK_MEMBER_ALIGNMENT(VNETSTATE, StatReceiveBytes, 8);
@@ -299,8 +300,9 @@ int main()
CHECK_MEMBER_ALIGNMENT(PCIGLOBALS, pci_irq_levels, 16);
CHECK_MEMBER_ALIGNMENT(PCNetState, u64LastPoll, 8);
CHECK_MEMBER_ALIGNMENT(PCNetState, CritSect, 8);
+ CHECK_MEMBER_ALIGNMENT(PCNetState, StatReceiveBytes, 8);
#ifdef VBOX_WITH_STATISTICS
- CHECK_MEMBER_ALIGNMENT(PCNetState, StatMMIOReadGC, 8);
+ CHECK_MEMBER_ALIGNMENT(PCNetState, StatMMIOReadRZ, 8);
#endif
CHECK_MEMBER_ALIGNMENT(PITState, StatPITIrq, 8);
CHECK_MEMBER_ALIGNMENT(SerialState, CritSect, 8);