VirtualBox

source: vbox/trunk/src/VBox/Devices/testcase/tstDeviceStructSizeRC.cpp@ 41651

Last change on this file since 41651 was 41539, checked in by vboxsync, 13 years ago

DevVGA.h: reordering the VGAState members a bit to make them easier to align.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 71.3 KB
Line 
1/* $Id: tstDeviceStructSizeRC.cpp 41539 2012-06-01 12:48:51Z vboxsync $ */
2/** @file
3 * tstDeviceStructSizeGC - Generate structure member and size checks from the RC perspective.
4 *
5 * This is built using the VBoxRc template but linked into a host
6 * ring-3 executable, rather hacky.
7 */
8
9/*
10 * Copyright (C) 2006-2010 Oracle Corporation
11 *
12 * This file is part of VirtualBox Open Source Edition (OSE), as
13 * available from http://www.virtualbox.org. This file is free software;
14 * you can redistribute it and/or modify it under the terms of the GNU
15 * General Public License (GPL) as published by the Free Software
16 * Foundation, in version 2 as it comes in the "COPYING" file of the
17 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
18 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
19 */
20
21
22/*
23 * Sanity checks.
24 */
25#ifndef IN_RC
26# error Incorrect template!
27#endif
28#if defined(IN_RING3) || defined(IN_RING0)
29# error Incorrect template!
30#endif
31
32
33/*******************************************************************************
34* Header Files *
35*******************************************************************************/
36#define VBOX_DEVICE_STRUCT_TESTCASE
37#define VBOX_WITH_HGCM /* grumble */
38#undef LOG_GROUP
39#include "../Bus/DevPCI.cpp" /* must be first! */
40#undef LOG_GROUP
41#include "../Bus/DevPciIch9.cpp"
42#undef LOG_GROUP
43#include "../Graphics/DevVGA.cpp"
44#undef LOG_GROUP
45#include "../Input/DevPS2.cpp"
46#undef LOG_GROUP
47#include "../Input/PS2K.cpp"
48#undef LOG_GROUP
49#include "../Network/DevPCNet.cpp"
50#undef LOG_GROUP
51#include "../PC/DevACPI.cpp"
52#undef LOG_GROUP
53#include "../PC/DevPIC.cpp"
54#undef LOG_GROUP
55#include "../PC/DevPit-i8254.cpp"
56#undef LOG_GROUP
57#include "../PC/DevRTC.cpp"
58#undef LOG_GROUP
59#include "../PC/DevAPIC.cpp"
60#undef LOG_GROUP
61#include "../PC/DevIoApic.cpp"
62#undef LOG_GROUP
63#include "../Storage/DevATA.cpp"
64#ifdef VBOX_WITH_USB
65# undef LOG_GROUP
66# include "../USB/DevOHCI.cpp"
67# ifdef VBOX_WITH_EHCI_IMPL
68# include "../USB/DevEHCI.cpp"
69# endif
70#endif
71#undef LOG_GROUP
72#include "../VMMDev/VMMDev.cpp"
73#undef LOG_GROUP
74#include "../Parallel/DevParallel.cpp"
75#undef LOG_GROUP
76#include "../Serial/DevSerial.cpp"
77#ifdef VBOX_WITH_AHCI
78# undef LOG_GROUP
79# include "../Storage/DevAHCI.cpp"
80#endif
81#ifdef VBOX_WITH_E1000
82# undef LOG_GROUP
83# include "../Network/DevE1000.cpp"
84#endif
85#ifdef VBOX_WITH_VIRTIO
86# undef LOG_GROUP
87# include "../Network/DevVirtioNet.cpp"
88#endif
89#ifdef VBOX_WITH_BUSLOGIC
90# undef LOG_GROUP
91# include "../Storage/DevBusLogic.cpp"
92#endif
93#ifdef VBOX_WITH_LSILOGIC
94# undef LOG_GROUP
95# include "../Storage/DevLsiLogicSCSI.cpp"
96#endif
97#undef LOG_GROUP
98#include "../PC/DevHPET.cpp"
99
100/* we don't use iprt here because we're pretending to be in GC! */
101#include <stdio.h>
102
103#define GEN_CHECK_SIZE(s) printf(" CHECK_SIZE(%s, %d);\n", #s, (int)sizeof(s))
104#define GEN_CHECK_OFF(s, m) printf(" CHECK_OFF(%s, %d, %s);\n", #s, (int)RT_OFFSETOF(s, m), #m)
105#define GEN_CHECK_PADDING(s, m, a) printf(" CHECK_PADDING(%s, %s, %u);\n", #s, #m, (a))
106
107int main()
108{
109 /* misc */
110 GEN_CHECK_SIZE(PDMDEVINS);
111 GEN_CHECK_OFF(PDMDEVINS, Internal);
112 GEN_CHECK_OFF(PDMDEVINS, pReg);
113 GEN_CHECK_OFF(PDMDEVINS, pCfg);
114 GEN_CHECK_OFF(PDMDEVINS, iInstance);
115 GEN_CHECK_OFF(PDMDEVINS, IBase);
116 GEN_CHECK_OFF(PDMDEVINS, pHlpR3);
117 GEN_CHECK_OFF(PDMDEVINS, pHlpR0);
118 GEN_CHECK_OFF(PDMDEVINS, pHlpRC);
119 GEN_CHECK_OFF(PDMDEVINS, pvInstanceDataR3);
120 GEN_CHECK_OFF(PDMDEVINS, pvInstanceDataR0);
121 GEN_CHECK_OFF(PDMDEVINS, pvInstanceDataRC);
122 GEN_CHECK_OFF(PDMDEVINS, achInstanceData);
123
124 /* DevPCI.cpp */
125 GEN_CHECK_SIZE(PCIDEVICE);
126 GEN_CHECK_SIZE(PCIDEVICEINT);
127 GEN_CHECK_SIZE(PCIIOREGION);
128 GEN_CHECK_OFF(PCIDEVICE, config);
129 GEN_CHECK_OFF(PCIDEVICE, devfn);
130 GEN_CHECK_OFF(PCIDEVICE, name);
131 GEN_CHECK_OFF(PCIDEVICE, pDevIns);
132 GEN_CHECK_OFF(PCIDEVICE, Int);
133 GEN_CHECK_OFF(PCIDEVICE, Int.s.aIORegions);
134 GEN_CHECK_OFF(PCIDEVICE, Int.s.aIORegions[1]);
135 GEN_CHECK_OFF(PCIDEVICE, Int.s.aIORegions[PCI_NUM_REGIONS - 1]);
136 GEN_CHECK_OFF(PCIDEVICE, Int.s.aIORegions[0].addr);
137 GEN_CHECK_OFF(PCIDEVICE, Int.s.aIORegions[0].size);
138 GEN_CHECK_OFF(PCIDEVICE, Int.s.aIORegions[0].type);
139 GEN_CHECK_OFF(PCIDEVICE, Int.s.aIORegions[0].padding);
140 GEN_CHECK_OFF(PCIDEVICE, Int.s.pBusR3);
141 GEN_CHECK_OFF(PCIDEVICE, Int.s.pBusR0);
142 GEN_CHECK_OFF(PCIDEVICE, Int.s.pBusRC);
143 GEN_CHECK_OFF(PCIDEVICE, Int.s.pfnConfigRead);
144 GEN_CHECK_OFF(PCIDEVICE, Int.s.pfnConfigWrite);
145 GEN_CHECK_OFF(PCIDEVICE, Int.s.fFlags);
146 GEN_CHECK_OFF(PCIDEVICE, Int.s.uIrqPinState);
147 GEN_CHECK_OFF(PCIDEVICE, Int.s.pfnBridgeConfigRead);
148 GEN_CHECK_OFF(PCIDEVICE, Int.s.pfnBridgeConfigWrite);
149 GEN_CHECK_PADDING(PCIDEVICE, Int, 8);
150 GEN_CHECK_SIZE(PIIX3State);
151 GEN_CHECK_SIZE(PCIBUS);
152 GEN_CHECK_OFF(PCIBUS, iBus);
153 GEN_CHECK_OFF(PCIBUS, iDevSearch);
154 GEN_CHECK_OFF(PCIBUS, cBridges);
155 GEN_CHECK_OFF(PCIBUS, devices);
156 GEN_CHECK_OFF(PCIBUS, devices[1]);
157 GEN_CHECK_OFF(PCIBUS, pDevInsR3);
158 GEN_CHECK_OFF(PCIBUS, pPciHlpR3);
159 GEN_CHECK_OFF(PCIBUS, papBridgesR3);
160 GEN_CHECK_OFF(PCIBUS, pDevInsR0);
161 GEN_CHECK_OFF(PCIBUS, pPciHlpR0);
162 GEN_CHECK_OFF(PCIBUS, pDevInsRC);
163 GEN_CHECK_OFF(PCIBUS, pPciHlpRC);
164 GEN_CHECK_OFF(PCIBUS, PciDev);
165 GEN_CHECK_SIZE(PCIGLOBALS);
166 GEN_CHECK_OFF(PCIGLOBALS, pci_bios_io_addr);
167 GEN_CHECK_OFF(PCIGLOBALS, pci_bios_mem_addr);
168 GEN_CHECK_OFF(PCIGLOBALS, pci_irq_levels);
169 GEN_CHECK_OFF(PCIGLOBALS, pci_irq_levels[1]);
170 GEN_CHECK_OFF(PCIGLOBALS, fUseIoApic);
171 GEN_CHECK_OFF(PCIGLOBALS, pci_apic_irq_levels);
172 GEN_CHECK_OFF(PCIGLOBALS, pci_apic_irq_levels[1]);
173 GEN_CHECK_OFF(PCIGLOBALS, acpi_irq_level);
174 GEN_CHECK_OFF(PCIGLOBALS, acpi_irq);
175 GEN_CHECK_OFF(PCIGLOBALS, uConfigReg);
176 GEN_CHECK_OFF(PCIGLOBALS, pDevInsR3);
177 GEN_CHECK_OFF(PCIGLOBALS, pDevInsR0);
178 GEN_CHECK_OFF(PCIGLOBALS, pDevInsRC);
179 GEN_CHECK_OFF(PCIGLOBALS, PIIX3State);
180 GEN_CHECK_OFF(PCIGLOBALS, PciBus);
181
182 /* DevPciIch9.cpp */
183 GEN_CHECK_SIZE(ICH9PCIBUS);
184 GEN_CHECK_OFF(ICH9PCIBUS, iBus);
185 GEN_CHECK_OFF(ICH9PCIBUS, cBridges);
186 GEN_CHECK_OFF(ICH9PCIBUS, apDevices);
187 GEN_CHECK_OFF(ICH9PCIBUS, apDevices[1]);
188 GEN_CHECK_OFF(ICH9PCIBUS, pDevInsR3);
189 GEN_CHECK_OFF(ICH9PCIBUS, pPciHlpR3);
190 GEN_CHECK_OFF(ICH9PCIBUS, papBridgesR3);
191 GEN_CHECK_OFF(ICH9PCIBUS, pDevInsR0);
192 GEN_CHECK_OFF(ICH9PCIBUS, pPciHlpR0);
193 GEN_CHECK_OFF(ICH9PCIBUS, pDevInsRC);
194 GEN_CHECK_OFF(ICH9PCIBUS, pPciHlpRC);
195 GEN_CHECK_OFF(ICH9PCIBUS, aPciDev);
196 GEN_CHECK_SIZE(ICH9PCIGLOBALS);
197 GEN_CHECK_OFF(ICH9PCIGLOBALS, pDevInsR3);
198 GEN_CHECK_OFF(ICH9PCIGLOBALS, pDevInsR0);
199 GEN_CHECK_OFF(ICH9PCIGLOBALS, pDevInsRC);
200 GEN_CHECK_OFF(ICH9PCIGLOBALS, uConfigReg);
201 GEN_CHECK_OFF(ICH9PCIGLOBALS, uaPciApicIrqLevels);
202 GEN_CHECK_OFF(ICH9PCIGLOBALS, uaPciApicIrqLevels[1]);
203 GEN_CHECK_OFF(ICH9PCIGLOBALS, uPciBiosIo);
204 GEN_CHECK_OFF(ICH9PCIGLOBALS, uPciBiosMmio);
205 GEN_CHECK_OFF(ICH9PCIGLOBALS, uBus);
206 GEN_CHECK_OFF(ICH9PCIGLOBALS, u64PciConfigMMioAddress);
207 GEN_CHECK_OFF(ICH9PCIGLOBALS, u64PciConfigMMioLength);
208 GEN_CHECK_OFF(ICH9PCIGLOBALS, aPciBus);
209
210 /* DevVGA.cpp */
211 GEN_CHECK_SIZE(VGASTATE);
212 GEN_CHECK_OFF(VGASTATE, vram_ptrR3);
213 GEN_CHECK_OFF(VGASTATE, get_bpp);
214 GEN_CHECK_OFF(VGASTATE, get_offsets);
215 GEN_CHECK_OFF(VGASTATE, get_resolution);
216 GEN_CHECK_OFF(VGASTATE, rgb_to_pixel);
217 GEN_CHECK_OFF(VGASTATE, cursor_invalidate);
218 GEN_CHECK_OFF(VGASTATE, cursor_draw_line);
219 GEN_CHECK_OFF(VGASTATE, vram_size);
220 GEN_CHECK_OFF(VGASTATE, latch);
221 GEN_CHECK_OFF(VGASTATE, sr_index);
222 GEN_CHECK_OFF(VGASTATE, sr);
223 GEN_CHECK_OFF(VGASTATE, sr[1]);
224 GEN_CHECK_OFF(VGASTATE, gr_index);
225 GEN_CHECK_OFF(VGASTATE, gr);
226 GEN_CHECK_OFF(VGASTATE, gr[1]);
227 GEN_CHECK_OFF(VGASTATE, ar_index);
228 GEN_CHECK_OFF(VGASTATE, ar);
229 GEN_CHECK_OFF(VGASTATE, ar[1]);
230 GEN_CHECK_OFF(VGASTATE, ar_flip_flop);
231 GEN_CHECK_OFF(VGASTATE, cr_index);
232 GEN_CHECK_OFF(VGASTATE, cr);
233 GEN_CHECK_OFF(VGASTATE, cr[1]);
234 GEN_CHECK_OFF(VGASTATE, msr);
235 GEN_CHECK_OFF(VGASTATE, msr);
236 GEN_CHECK_OFF(VGASTATE, fcr);
237 GEN_CHECK_OFF(VGASTATE, st00);
238 GEN_CHECK_OFF(VGASTATE, st01);
239 GEN_CHECK_OFF(VGASTATE, dac_state);
240 GEN_CHECK_OFF(VGASTATE, dac_sub_index);
241 GEN_CHECK_OFF(VGASTATE, dac_read_index);
242 GEN_CHECK_OFF(VGASTATE, dac_write_index);
243 GEN_CHECK_OFF(VGASTATE, dac_cache);
244 GEN_CHECK_OFF(VGASTATE, dac_cache[1]);
245 GEN_CHECK_OFF(VGASTATE, palette);
246 GEN_CHECK_OFF(VGASTATE, palette[1]);
247 GEN_CHECK_OFF(VGASTATE, bank_offset);
248#ifdef CONFIG_BOCHS_VBE
249 GEN_CHECK_OFF(VGASTATE, vbe_index);
250 GEN_CHECK_OFF(VGASTATE, vbe_regs);
251 GEN_CHECK_OFF(VGASTATE, vbe_regs[1]);
252 GEN_CHECK_OFF(VGASTATE, vbe_regs[VBE_DISPI_INDEX_NB - 1]);
253 GEN_CHECK_OFF(VGASTATE, vbe_start_addr);
254 GEN_CHECK_OFF(VGASTATE, vbe_line_offset);
255 GEN_CHECK_OFF(VGASTATE, vbe_bank_max);
256#endif
257 GEN_CHECK_OFF(VGASTATE, font_offsets);
258 GEN_CHECK_OFF(VGASTATE, font_offsets[1]);
259 GEN_CHECK_OFF(VGASTATE, graphic_mode);
260 GEN_CHECK_OFF(VGASTATE, shift_control);
261 GEN_CHECK_OFF(VGASTATE, double_scan);
262 GEN_CHECK_OFF(VGASTATE, line_offset);
263 GEN_CHECK_OFF(VGASTATE, line_compare);
264 GEN_CHECK_OFF(VGASTATE, start_addr);
265 GEN_CHECK_OFF(VGASTATE, plane_updated);
266 GEN_CHECK_OFF(VGASTATE, last_cw);
267 GEN_CHECK_OFF(VGASTATE, last_ch);
268 GEN_CHECK_OFF(VGASTATE, last_width);
269 GEN_CHECK_OFF(VGASTATE, last_height);
270 GEN_CHECK_OFF(VGASTATE, last_scr_width);
271 GEN_CHECK_OFF(VGASTATE, last_scr_height);
272 GEN_CHECK_OFF(VGASTATE, last_bpp);
273 GEN_CHECK_OFF(VGASTATE, cursor_start);
274 GEN_CHECK_OFF(VGASTATE, cursor_end);
275 GEN_CHECK_OFF(VGASTATE, cursor_offset);
276 GEN_CHECK_OFF(VGASTATE, invalidated_y_table);
277 GEN_CHECK_OFF(VGASTATE, invalidated_y_table[1]);
278 GEN_CHECK_OFF(VGASTATE, invalidated_y_table[(VGA_MAX_HEIGHT / 32) - 1]);
279 GEN_CHECK_OFF(VGASTATE, last_palette);
280 GEN_CHECK_OFF(VGASTATE, last_palette[1]);
281 GEN_CHECK_OFF(VGASTATE, last_ch_attr);
282 GEN_CHECK_OFF(VGASTATE, last_ch_attr[CH_ATTR_SIZE - 1]);
283 GEN_CHECK_OFF(VGASTATE, u32Marker);
284 GEN_CHECK_OFF(VGASTATE, pDevInsRC);
285 GEN_CHECK_OFF(VGASTATE, vram_ptrRC);
286 GEN_CHECK_OFF(VGASTATE, RCPtrLFBHandler);
287 GEN_CHECK_OFF(VGASTATE, pDevInsR3);
288#ifdef VBOX_WITH_HGSMI
289 GEN_CHECK_OFF(VGASTATE, pHGSMI);
290#endif
291#ifdef VBOX_WITH_VDMA
292 GEN_CHECK_OFF(VGASTATE, pVdma);
293#endif
294 GEN_CHECK_OFF(VGASTATE, IBase);
295 GEN_CHECK_OFF(VGASTATE, IPort);
296#if defined(VBOX_WITH_HGSMI) && (defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_WITH_CRHGSMI))
297 GEN_CHECK_OFF(VGASTATE, IVBVACallbacks);
298#endif
299 GEN_CHECK_OFF(VGASTATE, pDrvBase);
300 GEN_CHECK_OFF(VGASTATE, pDrv);
301 GEN_CHECK_OFF(VGASTATE, RefreshTimer);
302 GEN_CHECK_OFF(VGASTATE, pDevInsR0);
303 GEN_CHECK_OFF(VGASTATE, cMonitors);
304 GEN_CHECK_OFF(VGASTATE, cMilliesRefreshInterval);
305 GEN_CHECK_OFF(VGASTATE, au32DirtyBitmap);
306 GEN_CHECK_OFF(VGASTATE, au32DirtyBitmap[1]);
307 GEN_CHECK_OFF(VGASTATE, au32DirtyBitmap[(VGA_VRAM_MAX / PAGE_SIZE / 32) - 1]);
308 GEN_CHECK_OFF(VGASTATE, fHasDirtyBits);
309 GEN_CHECK_OFF(VGASTATE, fLFBUpdated);
310 GEN_CHECK_OFF(VGASTATE, fGCEnabled);
311 GEN_CHECK_OFF(VGASTATE, fR0Enabled);
312 GEN_CHECK_OFF(VGASTATE, fRemappedVGA);
313 GEN_CHECK_OFF(VGASTATE, fRenderVRAM);
314 GEN_CHECK_OFF(VGASTATE, GCPhysVRAM);
315 GEN_CHECK_OFF(VGASTATE, lock);
316 GEN_CHECK_OFF(VGASTATE, Dev);
317 GEN_CHECK_OFF(VGASTATE, StatRZMemoryRead);
318 GEN_CHECK_OFF(VGASTATE, StatR3MemoryRead);
319 GEN_CHECK_OFF(VGASTATE, StatRZMemoryWrite);
320 GEN_CHECK_OFF(VGASTATE, StatR3MemoryWrite);
321#ifdef VBE_BYTEWISE_IO
322 GEN_CHECK_OFF(VGASTATE, fReadVBEData);
323 GEN_CHECK_OFF(VGASTATE, fWriteVBEData);
324 GEN_CHECK_OFF(VGASTATE, fReadVBEIndex);
325 GEN_CHECK_OFF(VGASTATE, fWriteVBEIndex);
326 GEN_CHECK_OFF(VGASTATE, cbWriteVBEData);
327 GEN_CHECK_OFF(VGASTATE, cbWriteVBEIndex);
328# ifdef VBE_NEW_DYN_LIST
329 GEN_CHECK_OFF(VGASTATE, cbWriteVBEExtraAddress);
330# endif
331#endif
332#ifdef VBE_NEW_DYN_LIST
333 GEN_CHECK_OFF(VGASTATE, pu8VBEExtraData);
334 GEN_CHECK_OFF(VGASTATE, cbVBEExtraData);
335 GEN_CHECK_OFF(VGASTATE, u16VBEExtraAddress);
336#endif
337 GEN_CHECK_OFF(VGASTATE, pu8Logo);
338 GEN_CHECK_OFF(VGASTATE, pszLogoFile);
339 GEN_CHECK_OFF(VGASTATE, pu8LogoBitmap);
340 GEN_CHECK_OFF(VGASTATE, offLogoData);
341 GEN_CHECK_OFF(VGASTATE, cbLogo);
342 GEN_CHECK_OFF(VGASTATE, LogoCommand);
343 GEN_CHECK_OFF(VGASTATE, cxLogo);
344 GEN_CHECK_OFF(VGASTATE, cyLogo);
345 GEN_CHECK_OFF(VGASTATE, cLogoPlanes);
346 GEN_CHECK_OFF(VGASTATE, cLogoBits);
347 GEN_CHECK_OFF(VGASTATE, LogoCompression);
348 GEN_CHECK_OFF(VGASTATE, cLogoUsedColors);
349 GEN_CHECK_OFF(VGASTATE, cLogoPalEntries);
350 GEN_CHECK_OFF(VGASTATE, fLogoClearScreen);
351 GEN_CHECK_OFF(VGASTATE, au32LogoPalette);
352 GEN_CHECK_OFF(VGASTATE, pu8VgaBios);
353 GEN_CHECK_OFF(VGASTATE, cbVgaBios);
354 GEN_CHECK_OFF(VGASTATE, pszVgaBiosFile);
355#ifdef VBOX_WITH_HGSMI
356 GEN_CHECK_OFF(VGASTATE, IOPortBase);
357#endif
358#ifdef VBOX_WITH_WDDM
359 GEN_CHECK_OFF(VGASTATE, fGuestCaps);
360#endif
361
362 /* Input/pckbd.c */
363 GEN_CHECK_SIZE(MouseCmdQueue);
364 GEN_CHECK_OFF(MouseCmdQueue, data);
365 GEN_CHECK_OFF(MouseCmdQueue, rptr);
366 GEN_CHECK_OFF(MouseCmdQueue, wptr);
367 GEN_CHECK_OFF(MouseCmdQueue, count);
368 GEN_CHECK_SIZE(MouseEventQueue);
369 GEN_CHECK_OFF(MouseEventQueue, data);
370 GEN_CHECK_OFF(MouseEventQueue, rptr);
371 GEN_CHECK_OFF(MouseEventQueue, wptr);
372 GEN_CHECK_OFF(MouseEventQueue, count);
373 GEN_CHECK_SIZE(KBDState);
374 GEN_CHECK_OFF(KBDState, mouse_command_queue);
375 GEN_CHECK_OFF(KBDState, mouse_event_queue);
376 GEN_CHECK_OFF(KBDState, write_cmd);
377 GEN_CHECK_OFF(KBDState, status);
378 GEN_CHECK_OFF(KBDState, mode);
379 GEN_CHECK_OFF(KBDState, mouse_write_cmd);
380 GEN_CHECK_OFF(KBDState, mouse_status);
381 GEN_CHECK_OFF(KBDState, mouse_resolution);
382 GEN_CHECK_OFF(KBDState, mouse_sample_rate);
383 GEN_CHECK_OFF(KBDState, mouse_wrap);
384 GEN_CHECK_OFF(KBDState, mouse_type);
385 GEN_CHECK_OFF(KBDState, mouse_detect_state);
386 GEN_CHECK_OFF(KBDState, mouse_dx);
387 GEN_CHECK_OFF(KBDState, mouse_dy);
388 GEN_CHECK_OFF(KBDState, mouse_dz);
389 GEN_CHECK_OFF(KBDState, mouse_dw);
390 GEN_CHECK_OFF(KBDState, mouse_buttons);
391 GEN_CHECK_OFF(KBDState, pDevInsR3);
392 GEN_CHECK_OFF(KBDState, pDevInsR0);
393 GEN_CHECK_OFF(KBDState, pDevInsRC);
394 GEN_CHECK_OFF(KBDState, CritSect);
395 GEN_CHECK_SIZE(KbdKeyQ);
396 GEN_CHECK_OFF(KbdCmdQ, rpos);
397 GEN_CHECK_OFF(KbdCmdQ, wpos);
398 GEN_CHECK_OFF(KbdCmdQ, cUsed);
399 GEN_CHECK_OFF(KbdCmdQ, cSize);
400 GEN_CHECK_OFF(KbdCmdQ, abQueue);
401 GEN_CHECK_SIZE(KbdCmdQ);
402 GEN_CHECK_OFF(PS2K, fScanning);
403 GEN_CHECK_OFF(PS2K, fNumLockOn);
404 GEN_CHECK_OFF(PS2K, u8ScanSet);
405 GEN_CHECK_OFF(PS2K, u8Typematic);
406 GEN_CHECK_OFF(PS2K, enmTypematicState);
407 GEN_CHECK_OFF(PS2K, keyQ);
408 GEN_CHECK_OFF(PS2K, cmdQ);
409 GEN_CHECK_OFF(PS2K, uTypematicDelay);
410 GEN_CHECK_OFF(PS2K, pKbdDelayTimerRC);
411 GEN_CHECK_OFF(PS2K, pKbdDelayTimerR3);
412 GEN_CHECK_OFF(PS2K, pKbdDelayTimerR0);
413 GEN_CHECK_OFF(PS2K, pKbdTypematicTimerRC);
414 GEN_CHECK_OFF(PS2K, pKbdTypematicTimerR3);
415 GEN_CHECK_OFF(PS2K, pKbdTypematicTimerR0);
416 GEN_CHECK_OFF(PS2K, Keyboard.IBase);
417 GEN_CHECK_OFF(PS2K, Keyboard.IPort);
418 GEN_CHECK_OFF(PS2K, Keyboard.pDrvBase);
419 GEN_CHECK_OFF(PS2K, Keyboard.pDrv);
420 GEN_CHECK_OFF(KBDState, Mouse.IBase);
421 GEN_CHECK_OFF(KBDState, Mouse.IPort);
422 GEN_CHECK_OFF(KBDState, Mouse.pDrvBase);
423 GEN_CHECK_OFF(KBDState, Mouse.pDrv);
424
425 /* Network/DevPCNet.cpp */
426 GEN_CHECK_SIZE(PCNetState);
427 GEN_CHECK_OFF(PCNetState, PciDev);
428#ifndef PCNET_NO_POLLING
429 GEN_CHECK_OFF(PCNetState, pTimerPollR3);
430 GEN_CHECK_OFF(PCNetState, pTimerPollR0);
431 GEN_CHECK_OFF(PCNetState, pTimerPollRC);
432#endif
433 GEN_CHECK_OFF(PCNetState, pTimerSoftIntR3);
434 GEN_CHECK_OFF(PCNetState, pTimerSoftIntR0);
435 GEN_CHECK_OFF(PCNetState, pTimerSoftIntRC);
436 GEN_CHECK_OFF(PCNetState, u32RAP);
437 GEN_CHECK_OFF(PCNetState, iISR);
438 GEN_CHECK_OFF(PCNetState, u32Lnkst);
439 GEN_CHECK_OFF(PCNetState, GCRDRA);
440 GEN_CHECK_OFF(PCNetState, GCTDRA);
441 GEN_CHECK_OFF(PCNetState, aPROM);
442 GEN_CHECK_OFF(PCNetState, aPROM[1]);
443 GEN_CHECK_OFF(PCNetState, aCSR);
444 GEN_CHECK_OFF(PCNetState, aCSR[1]);
445 GEN_CHECK_OFF(PCNetState, aCSR[CSR_MAX_REG - 1]);
446 GEN_CHECK_OFF(PCNetState, aBCR);
447 GEN_CHECK_OFF(PCNetState, aBCR[1]);
448 GEN_CHECK_OFF(PCNetState, aBCR[BCR_MAX_RAP - 1]);
449 GEN_CHECK_OFF(PCNetState, aMII);
450 GEN_CHECK_OFF(PCNetState, aMII[1]);
451 GEN_CHECK_OFF(PCNetState, aMII[MII_MAX_REG - 1]);
452 GEN_CHECK_OFF(PCNetState, u16CSR0LastSeenByGuest);
453 GEN_CHECK_OFF(PCNetState, u64LastPoll);
454 GEN_CHECK_OFF(PCNetState, abLoopBuf);
455 GEN_CHECK_OFF(PCNetState, abRecvBuf);
456 GEN_CHECK_OFF(PCNetState, iLog2DescSize);
457 GEN_CHECK_OFF(PCNetState, GCUpperPhys);
458 GEN_CHECK_OFF(PCNetState, pXmitQueueR3);
459 GEN_CHECK_OFF(PCNetState, pXmitQueueR0);
460 GEN_CHECK_OFF(PCNetState, pXmitQueueRC);
461 GEN_CHECK_OFF(PCNetState, pCanRxQueueR3);
462 GEN_CHECK_OFF(PCNetState, pCanRxQueueR0);
463 GEN_CHECK_OFF(PCNetState, pCanRxQueueRC);
464 GEN_CHECK_OFF(PCNetState, pTimerRestore);
465 GEN_CHECK_OFF(PCNetState, pDevInsR3);
466 GEN_CHECK_OFF(PCNetState, pDevInsR0);
467 GEN_CHECK_OFF(PCNetState, pDevInsRC);
468 GEN_CHECK_OFF(PCNetState, pDrvR3);
469 GEN_CHECK_OFF(PCNetState, pDrvBase);
470 GEN_CHECK_OFF(PCNetState, IBase);
471 GEN_CHECK_OFF(PCNetState, INetworkDown);
472 GEN_CHECK_OFF(PCNetState, INetworkConfig);
473 GEN_CHECK_OFF(PCNetState, MMIOBase);
474 GEN_CHECK_OFF(PCNetState, IOPortBase);
475 GEN_CHECK_OFF(PCNetState, fLinkUp);
476 GEN_CHECK_OFF(PCNetState, fLinkTempDown);
477 GEN_CHECK_OFF(PCNetState, cLinkDownReported);
478 GEN_CHECK_OFF(PCNetState, MacConfigured);
479 GEN_CHECK_OFF(PCNetState, Led);
480 GEN_CHECK_OFF(PCNetState, ILeds);
481 GEN_CHECK_OFF(PCNetState, pLedsConnector);
482 GEN_CHECK_OFF(PCNetState, CritSect);
483#ifdef PCNET_NO_POLLING
484 GEN_CHECK_OFF(PCNetState, TDRAPhysOld);
485 GEN_CHECK_OFF(PCNetState, cbTDRAOld);
486 GEN_CHECK_OFF(PCNetState, RDRAPhysOld);
487 GEN_CHECK_OFF(PCNetState, cbRDRAOld);
488 GEN_CHECK_OFF(PCNetState, pfnEMInterpretInstructionGC
489 GEN_CHECK_OFF(PCNetState, pfnEMInterpretInstructionR0
490#endif
491 GEN_CHECK_OFF(PCNetState, pSharedMMIOR3);
492 GEN_CHECK_OFF(PCNetState, pSharedMMIOR0);
493 GEN_CHECK_OFF(PCNetState, pSharedMMIORC);
494 GEN_CHECK_OFF(PCNetState, fPrivIfEnabled);
495 GEN_CHECK_OFF(PCNetState, fGCEnabled);
496 GEN_CHECK_OFF(PCNetState, fR0Enabled);
497 GEN_CHECK_OFF(PCNetState, fAm79C973);
498 GEN_CHECK_OFF(PCNetState, u32LinkSpeed);
499 GEN_CHECK_OFF(PCNetState, StatReceiveBytes);
500 GEN_CHECK_OFF(PCNetState, StatTransmitBytes);
501#ifdef VBOX_WITH_STATISTICS
502 GEN_CHECK_OFF(PCNetState, StatMMIOReadR3);
503 GEN_CHECK_OFF(PCNetState, StatMMIOReadRZ);
504 GEN_CHECK_OFF(PCNetState, StatMIIReads);
505# ifdef PCNET_NO_POLLING
506 GEN_CHECK_OFF(PCNetState, StatRCVRingWrite);
507 GEN_CHECK_OFF(PCNetState, StatRingWriteOutsideRangeR3);
508# endif
509#endif
510
511 /* PC/DevACPI.cpp */
512 GEN_CHECK_SIZE(ACPIState);
513 GEN_CHECK_OFF(ACPIState, dev);
514 GEN_CHECK_OFF(ACPIState, pm1a_en);
515 GEN_CHECK_OFF(ACPIState, pm1a_sts);
516 GEN_CHECK_OFF(ACPIState, pm1a_ctl);
517 GEN_CHECK_OFF(ACPIState, u64PmTimerInitial);
518 GEN_CHECK_OFF(ACPIState, pPmTimerR3);
519 GEN_CHECK_OFF(ACPIState, pPmTimerR0);
520 GEN_CHECK_OFF(ACPIState, pPmTimerRC);
521 GEN_CHECK_OFF(ACPIState, gpe0_en);
522 GEN_CHECK_OFF(ACPIState, gpe0_sts);
523 GEN_CHECK_OFF(ACPIState, uBatteryIndex);
524 GEN_CHECK_OFF(ACPIState, au8BatteryInfo);
525 GEN_CHECK_OFF(ACPIState, uSystemInfoIndex);
526 GEN_CHECK_OFF(ACPIState, u64RamSize);
527 GEN_CHECK_OFF(ACPIState, uSleepState);
528 GEN_CHECK_OFF(ACPIState, au8RSDPPage);
529 GEN_CHECK_OFF(ACPIState, u8IndexShift);
530 GEN_CHECK_OFF(ACPIState, u8UseIOApic);
531 GEN_CHECK_OFF(ACPIState, fUseFdc);
532 GEN_CHECK_OFF(ACPIState, fUseHpet);
533 GEN_CHECK_OFF(ACPIState, fUseSmc);
534 GEN_CHECK_OFF(ACPIState, CpuSetAttached);
535 GEN_CHECK_OFF(ACPIState, idCpuLockCheck);
536 GEN_CHECK_OFF(ACPIState, CpuSetLocked);
537 GEN_CHECK_OFF(ACPIState, u32CpuEventType);
538 GEN_CHECK_OFF(ACPIState, u32CpuEvent);
539 GEN_CHECK_OFF(ACPIState, fCpuHotPlug);
540 GEN_CHECK_OFF(ACPIState, IBase);
541 GEN_CHECK_OFF(ACPIState, IACPIPort);
542 GEN_CHECK_OFF(ACPIState, pDevIns);
543 GEN_CHECK_OFF(ACPIState, pDrvBase);
544 GEN_CHECK_OFF(ACPIState, pDrv);
545
546 /* PC/DevPIC.cpp */
547 GEN_CHECK_SIZE(PicState);
548 GEN_CHECK_OFF(PicState, last_irr);
549 GEN_CHECK_OFF(PicState, irr);
550 GEN_CHECK_OFF(PicState, imr);
551 GEN_CHECK_OFF(PicState, isr);
552 GEN_CHECK_OFF(PicState, priority_add);
553 GEN_CHECK_OFF(PicState, irq_base);
554 GEN_CHECK_OFF(PicState, read_reg_select);
555 GEN_CHECK_OFF(PicState, poll);
556 GEN_CHECK_OFF(PicState, special_mask);
557 GEN_CHECK_OFF(PicState, init_state);
558 GEN_CHECK_OFF(PicState, auto_eoi);
559 GEN_CHECK_OFF(PicState, rotate_on_auto_eoi);
560 GEN_CHECK_OFF(PicState, special_fully_nested_mode);
561 GEN_CHECK_OFF(PicState, init4);
562 GEN_CHECK_OFF(PicState, elcr);
563 GEN_CHECK_OFF(PicState, elcr_mask);
564 GEN_CHECK_OFF(PicState, pDevInsR3);
565 GEN_CHECK_OFF(PicState, pDevInsR0);
566 GEN_CHECK_OFF(PicState, pDevInsRC);
567
568 GEN_CHECK_SIZE(DEVPIC);
569 GEN_CHECK_OFF(DEVPIC, aPics);
570 GEN_CHECK_OFF(DEVPIC, aPics[1]);
571 GEN_CHECK_OFF(DEVPIC, pDevInsR3);
572 GEN_CHECK_OFF(DEVPIC, pDevInsR0);
573 GEN_CHECK_OFF(DEVPIC, pDevInsRC);
574 GEN_CHECK_OFF(DEVPIC, pPicHlpR3);
575 GEN_CHECK_OFF(DEVPIC, pPicHlpR0);
576 GEN_CHECK_OFF(DEVPIC, pPicHlpRC);
577#ifdef VBOX_WITH_STATISTICS
578 GEN_CHECK_OFF(DEVPIC, StatSetIrqGC);
579 GEN_CHECK_OFF(DEVPIC, StatClearedActiveSlaveIRQ);
580#endif
581
582 /* PC/DevPit-i8254.cpp */
583 GEN_CHECK_SIZE(PITChannelState);
584 GEN_CHECK_OFF(PITChannelState, pPitR3);
585 GEN_CHECK_OFF(PITChannelState, pTimerR3);
586 GEN_CHECK_OFF(PITChannelState, pPitR0);
587 GEN_CHECK_OFF(PITChannelState, pTimerR0);
588 GEN_CHECK_OFF(PITChannelState, pPitRC);
589 GEN_CHECK_OFF(PITChannelState, pTimerRC);
590 GEN_CHECK_OFF(PITChannelState, u64ReloadTS);
591 GEN_CHECK_OFF(PITChannelState, u64NextTS);
592 GEN_CHECK_OFF(PITChannelState, count_load_time);
593 GEN_CHECK_OFF(PITChannelState, next_transition_time);
594 GEN_CHECK_OFF(PITChannelState, irq);
595 GEN_CHECK_OFF(PITChannelState, cRelLogEntries);
596 GEN_CHECK_OFF(PITChannelState, count);
597 GEN_CHECK_OFF(PITChannelState, latched_count);
598 GEN_CHECK_OFF(PITChannelState, count_latched);
599 GEN_CHECK_OFF(PITChannelState, status_latched);
600 GEN_CHECK_OFF(PITChannelState, status);
601 GEN_CHECK_OFF(PITChannelState, read_state);
602 GEN_CHECK_OFF(PITChannelState, write_state);
603 GEN_CHECK_OFF(PITChannelState, write_latch);
604 GEN_CHECK_OFF(PITChannelState, rw_mode);
605 GEN_CHECK_OFF(PITChannelState, mode);
606 GEN_CHECK_OFF(PITChannelState, bcd);
607 GEN_CHECK_OFF(PITChannelState, gate);
608 GEN_CHECK_SIZE(PITState);
609 GEN_CHECK_OFF(PITState, channels);
610 GEN_CHECK_OFF(PITState, channels[1]);
611 GEN_CHECK_OFF(PITState, speaker_data_on);
612// GEN_CHECK_OFF(PITState, dummy_refresh_clock);
613 GEN_CHECK_OFF(PITState, IOPortBaseCfg);
614 GEN_CHECK_OFF(PITState, fSpeakerCfg);
615 GEN_CHECK_OFF(PITState, pDevIns);
616 GEN_CHECK_OFF(PITState, StatPITIrq);
617 GEN_CHECK_OFF(PITState, StatPITHandler);
618
619 /* PC/DevRTC.cpp */
620 GEN_CHECK_SIZE(RTCState);
621 GEN_CHECK_OFF(RTCState, cmos_data);
622 GEN_CHECK_OFF(RTCState, cmos_data[1]);
623 GEN_CHECK_OFF(RTCState, cmos_index);
624 GEN_CHECK_OFF(RTCState, current_tm);
625 GEN_CHECK_OFF(RTCState, current_tm.tm_sec);
626 GEN_CHECK_OFF(RTCState, current_tm.tm_min);
627 GEN_CHECK_OFF(RTCState, current_tm.tm_hour);
628 GEN_CHECK_OFF(RTCState, current_tm.tm_mday);
629 GEN_CHECK_OFF(RTCState, current_tm.tm_mon);
630 GEN_CHECK_OFF(RTCState, current_tm.tm_year);
631 GEN_CHECK_OFF(RTCState, current_tm.tm_wday);
632 GEN_CHECK_OFF(RTCState, current_tm.tm_yday);
633 GEN_CHECK_OFF(RTCState, irq);
634 GEN_CHECK_OFF(RTCState, fUTC);
635 GEN_CHECK_OFF(RTCState, IOPortBase);
636 GEN_CHECK_OFF(RTCState, pPeriodicTimerR0);
637 GEN_CHECK_OFF(RTCState, pPeriodicTimerR3);
638 GEN_CHECK_OFF(RTCState, pPeriodicTimerRC);
639 GEN_CHECK_OFF(RTCState, next_periodic_time);
640 GEN_CHECK_OFF(RTCState, next_second_time);
641 GEN_CHECK_OFF(RTCState, pSecondTimerR0);
642 GEN_CHECK_OFF(RTCState, pSecondTimerR3);
643 GEN_CHECK_OFF(RTCState, pSecondTimerRC);
644 GEN_CHECK_OFF(RTCState, pSecondTimer2R0);
645 GEN_CHECK_OFF(RTCState, pSecondTimer2R3);
646 GEN_CHECK_OFF(RTCState, pSecondTimer2RC);
647 GEN_CHECK_OFF(RTCState, pDevInsR0);
648 GEN_CHECK_OFF(RTCState, pDevInsR3);
649 GEN_CHECK_OFF(RTCState, pDevInsRC);
650 GEN_CHECK_OFF(RTCState, RtcReg);
651 GEN_CHECK_OFF(RTCState, pRtcHlpR3);
652 GEN_CHECK_OFF(RTCState, cRelLogEntries);
653 GEN_CHECK_OFF(RTCState, CurLogPeriod);
654 GEN_CHECK_OFF(RTCState, CurHintPeriod);
655
656 /* PC/DevAPIC.cpp */
657 GEN_CHECK_SIZE(APICState);
658 GEN_CHECK_OFF(APICState, apicbase);
659 GEN_CHECK_OFF(APICState, id);
660 GEN_CHECK_OFF(APICState, arb_id);
661 GEN_CHECK_OFF(APICState, tpr);
662 GEN_CHECK_OFF(APICState, spurious_vec);
663 GEN_CHECK_OFF(APICState, log_dest);
664 GEN_CHECK_OFF(APICState, dest_mode);
665 GEN_CHECK_OFF(APICState, isr);
666 GEN_CHECK_OFF(APICState, isr.au32Bitmap[1]);
667 GEN_CHECK_OFF(APICState, tmr);
668 GEN_CHECK_OFF(APICState, tmr.au32Bitmap[1]);
669 GEN_CHECK_OFF(APICState, irr);
670 GEN_CHECK_OFF(APICState, irr.au32Bitmap[1]);
671 GEN_CHECK_OFF(APICState, lvt);
672 GEN_CHECK_OFF(APICState, lvt[1]);
673 GEN_CHECK_OFF(APICState, lvt[APIC_LVT_NB - 1]);
674 GEN_CHECK_OFF(APICState, esr);
675 GEN_CHECK_OFF(APICState, icr);
676 GEN_CHECK_OFF(APICState, icr[1]);
677 GEN_CHECK_OFF(APICState, divide_conf);
678 GEN_CHECK_OFF(APICState, count_shift);
679 GEN_CHECK_OFF(APICState, initial_count);
680 GEN_CHECK_OFF(APICState, initial_count_load_time);
681 GEN_CHECK_OFF(APICState, next_time);
682 GEN_CHECK_OFF(APICState, pTimerR3);
683 GEN_CHECK_OFF(APICState, pTimerR0);
684 GEN_CHECK_OFF(APICState, pTimerRC);
685 GEN_CHECK_OFF(APICState, fTimerArmed);
686 GEN_CHECK_OFF(APICState, uHintedInitialCount);
687 GEN_CHECK_OFF(APICState, uHintedCountShift);
688 GEN_CHECK_OFF(APICState, pszDesc);
689#ifdef VBOX_WITH_STATISTICS
690 GEN_CHECK_OFF(APICState, StatTimerSetInitialCount);
691 GEN_CHECK_OFF(APICState, StatTimerSetLvtNoRelevantChange);
692#endif
693
694 GEN_CHECK_SIZE(APICDeviceInfo);
695 GEN_CHECK_OFF(APICDeviceInfo, pDevInsR3);
696 GEN_CHECK_OFF(APICDeviceInfo, pApicHlpR3);
697 GEN_CHECK_OFF(APICDeviceInfo, paLapicsR3);
698 GEN_CHECK_OFF(APICDeviceInfo, pCritSectR3);
699 GEN_CHECK_OFF(APICDeviceInfo, pDevInsR0);
700 GEN_CHECK_OFF(APICDeviceInfo, pApicHlpR0);
701 GEN_CHECK_OFF(APICDeviceInfo, paLapicsR0);
702 GEN_CHECK_OFF(APICDeviceInfo, pCritSectR0);
703 GEN_CHECK_OFF(APICDeviceInfo, pDevInsRC);
704 GEN_CHECK_OFF(APICDeviceInfo, pApicHlpRC);
705 GEN_CHECK_OFF(APICDeviceInfo, paLapicsRC);
706 GEN_CHECK_OFF(APICDeviceInfo, pCritSectRC);
707 GEN_CHECK_OFF(APICDeviceInfo, enmVersion);
708 GEN_CHECK_OFF(APICDeviceInfo, cTPRPatchAttempts);
709 GEN_CHECK_OFF(APICDeviceInfo, cCpus);
710#ifdef VBOX_WITH_STATISTICS
711 GEN_CHECK_OFF(APICDeviceInfo, StatMMIOReadGC);
712 GEN_CHECK_OFF(APICDeviceInfo, StatMMIOWriteHC);
713#endif
714
715 /* PC/DevIoApic.cpp */
716 GEN_CHECK_SIZE(IOAPICState);
717 GEN_CHECK_OFF(IOAPICState, id);
718 GEN_CHECK_OFF(IOAPICState, ioregsel);
719 GEN_CHECK_OFF(IOAPICState, irr);
720 GEN_CHECK_OFF(IOAPICState, ioredtbl);
721 GEN_CHECK_OFF(IOAPICState, ioredtbl[1]);
722 GEN_CHECK_OFF(IOAPICState, ioredtbl[IOAPIC_NUM_PINS - 1]);
723 GEN_CHECK_OFF(IOAPICState, pDevInsR3);
724 GEN_CHECK_OFF(IOAPICState, pIoApicHlpR3);
725 GEN_CHECK_OFF(IOAPICState, pDevInsR0);
726 GEN_CHECK_OFF(IOAPICState, pIoApicHlpR0);
727 GEN_CHECK_OFF(IOAPICState, pDevInsRC);
728 GEN_CHECK_OFF(IOAPICState, pIoApicHlpRC);
729#ifdef VBOX_WITH_STATISTICS
730 GEN_CHECK_OFF(IOAPICState, StatMMIOReadGC);
731 GEN_CHECK_OFF(IOAPICState, StatSetIrqHC);
732#endif
733
734 /* Storage/DevATA.cpp */
735 GEN_CHECK_SIZE(BMDMAState);
736 GEN_CHECK_OFF(BMDMAState, u8Cmd);
737 GEN_CHECK_OFF(BMDMAState, u8Status);
738 GEN_CHECK_OFF(BMDMAState, pvAddr);
739 GEN_CHECK_SIZE(BMDMADesc);
740 GEN_CHECK_OFF(BMDMADesc, pBuffer);
741 GEN_CHECK_OFF(BMDMADesc, cbBuffer);
742 GEN_CHECK_SIZE(ATADevState);
743 GEN_CHECK_OFF(ATADevState, fLBA48);
744 GEN_CHECK_OFF(ATADevState, fATAPI);
745 GEN_CHECK_OFF(ATADevState, fIrqPending);
746 GEN_CHECK_OFF(ATADevState, cMultSectors);
747 GEN_CHECK_OFF(ATADevState, PCHSGeometry.cCylinders);
748 GEN_CHECK_OFF(ATADevState, PCHSGeometry.cHeads);
749 GEN_CHECK_OFF(ATADevState, PCHSGeometry.cSectors);
750 GEN_CHECK_OFF(ATADevState, cSectorsPerIRQ);
751 GEN_CHECK_OFF(ATADevState, cTotalSectors);
752 GEN_CHECK_OFF(ATADevState, uATARegFeature);
753 GEN_CHECK_OFF(ATADevState, uATARegFeatureHOB);
754 GEN_CHECK_OFF(ATADevState, uATARegError);
755 GEN_CHECK_OFF(ATADevState, uATARegNSector);
756 GEN_CHECK_OFF(ATADevState, uATARegNSectorHOB);
757 GEN_CHECK_OFF(ATADevState, uATARegSector);
758 GEN_CHECK_OFF(ATADevState, uATARegSectorHOB);
759 GEN_CHECK_OFF(ATADevState, uATARegLCyl);
760 GEN_CHECK_OFF(ATADevState, uATARegLCylHOB);
761 GEN_CHECK_OFF(ATADevState, uATARegHCyl);
762 GEN_CHECK_OFF(ATADevState, uATARegHCylHOB);
763 GEN_CHECK_OFF(ATADevState, uATARegSelect);
764 GEN_CHECK_OFF(ATADevState, uATARegStatus);
765 GEN_CHECK_OFF(ATADevState, uATARegCommand);
766 GEN_CHECK_OFF(ATADevState, uATARegDevCtl);
767 GEN_CHECK_OFF(ATADevState, uATATransferMode);
768 GEN_CHECK_OFF(ATADevState, uTxDir);
769 GEN_CHECK_OFF(ATADevState, iBeginTransfer);
770 GEN_CHECK_OFF(ATADevState, iSourceSink);
771 GEN_CHECK_OFF(ATADevState, fDMA);
772 GEN_CHECK_OFF(ATADevState, fATAPITransfer);
773 GEN_CHECK_OFF(ATADevState, cbTotalTransfer);
774 GEN_CHECK_OFF(ATADevState, cbElementaryTransfer);
775 GEN_CHECK_OFF(ATADevState, iIOBufferCur);
776 GEN_CHECK_OFF(ATADevState, iIOBufferEnd);
777 GEN_CHECK_OFF(ATADevState, iIOBufferPIODataStart);
778 GEN_CHECK_OFF(ATADevState, iIOBufferPIODataEnd);
779 GEN_CHECK_OFF(ATADevState, iATAPILBA);
780 GEN_CHECK_OFF(ATADevState, cbATAPISector);
781 GEN_CHECK_OFF(ATADevState, aATAPICmd);
782 GEN_CHECK_OFF(ATADevState, aATAPICmd[ATAPI_PACKET_SIZE - 1]);
783 GEN_CHECK_OFF(ATADevState, abATAPISense);
784 GEN_CHECK_OFF(ATADevState, abATAPISense[ATAPI_SENSE_SIZE - 1]);
785 GEN_CHECK_OFF(ATADevState, cNotifiedMediaChange);
786 GEN_CHECK_OFF(ATADevState, MediaEventStatus);
787 GEN_CHECK_OFF(ATADevState, MediaTrackType);
788 GEN_CHECK_OFF(ATADevState, Led);
789 GEN_CHECK_OFF(ATADevState, cbIOBuffer);
790 GEN_CHECK_OFF(ATADevState, pbIOBufferR3);
791 GEN_CHECK_OFF(ATADevState, pbIOBufferR0);
792 GEN_CHECK_OFF(ATADevState, pbIOBufferRC);
793 GEN_CHECK_OFF(ATADevState, StatATADMA);
794 GEN_CHECK_OFF(ATADevState, StatATAPIO);
795 GEN_CHECK_OFF(ATADevState, StatATAPIDMA);
796 GEN_CHECK_OFF(ATADevState, StatATAPIPIO);
797 GEN_CHECK_OFF(ATADevState, StatReads);
798 GEN_CHECK_OFF(ATADevState, StatBytesRead);
799 GEN_CHECK_OFF(ATADevState, StatWrites);
800 GEN_CHECK_OFF(ATADevState, StatBytesWritten);
801 GEN_CHECK_OFF(ATADevState, StatFlushes);
802 GEN_CHECK_OFF(ATADevState, fNonRotational);
803 GEN_CHECK_OFF(ATADevState, fATAPIPassthrough);
804 GEN_CHECK_OFF(ATADevState, fOverwriteInquiry);
805 GEN_CHECK_OFF(ATADevState, cErrors);
806 GEN_CHECK_OFF(ATADevState, pDrvBase);
807 GEN_CHECK_OFF(ATADevState, pDrvBlock);
808 GEN_CHECK_OFF(ATADevState, pDrvBlockBios);
809 GEN_CHECK_OFF(ATADevState, pDrvMount);
810 GEN_CHECK_OFF(ATADevState, IBase);
811 GEN_CHECK_OFF(ATADevState, IPort);
812 GEN_CHECK_OFF(ATADevState, IMountNotify);
813 GEN_CHECK_OFF(ATADevState, iLUN);
814 GEN_CHECK_OFF(ATADevState, pDevInsR3);
815 GEN_CHECK_OFF(ATADevState, pDevInsR0);
816 GEN_CHECK_OFF(ATADevState, pDevInsRC);
817 GEN_CHECK_OFF(ATADevState, pControllerR3);
818 GEN_CHECK_OFF(ATADevState, pControllerR0);
819 GEN_CHECK_OFF(ATADevState, pControllerRC);
820 GEN_CHECK_OFF(ATADevState, szSerialNumber);
821 GEN_CHECK_OFF(ATADevState, szSerialNumber[ATA_SERIAL_NUMBER_LENGTH]);
822 GEN_CHECK_OFF(ATADevState, szFirmwareRevision);
823 GEN_CHECK_OFF(ATADevState, szFirmwareRevision[ATA_FIRMWARE_REVISION_LENGTH]);
824 GEN_CHECK_OFF(ATADevState, szModelNumber);
825 GEN_CHECK_OFF(ATADevState, szModelNumber[ATA_MODEL_NUMBER_LENGTH]);
826 GEN_CHECK_OFF(ATADevState, szInquiryVendorId);
827 GEN_CHECK_OFF(ATADevState, szInquiryVendorId[ATAPI_INQUIRY_VENDOR_ID_LENGTH]);
828 GEN_CHECK_OFF(ATADevState, szInquiryProductId);
829 GEN_CHECK_OFF(ATADevState, szInquiryProductId[ATAPI_INQUIRY_PRODUCT_ID_LENGTH]);
830 GEN_CHECK_OFF(ATADevState, szInquiryRevision);
831 GEN_CHECK_OFF(ATADevState, szInquiryRevision[ATAPI_INQUIRY_REVISION_LENGTH]);
832 GEN_CHECK_OFF(ATADevState, cbCueSheet);
833 GEN_CHECK_OFF(ATADevState, pbCueSheet);
834 GEN_CHECK_SIZE(ATATransferRequest);
835 GEN_CHECK_OFF(ATATransferRequest, iIf);
836 GEN_CHECK_OFF(ATATransferRequest, iBeginTransfer);
837 GEN_CHECK_OFF(ATATransferRequest, iSourceSink);
838 GEN_CHECK_OFF(ATATransferRequest, cbTotalTransfer);
839 GEN_CHECK_OFF(ATATransferRequest, uTxDir);
840 GEN_CHECK_SIZE(ATAAbortRequest);
841 GEN_CHECK_OFF(ATAAbortRequest, iIf);
842 GEN_CHECK_OFF(ATAAbortRequest, fResetDrive);
843 GEN_CHECK_SIZE(ATARequest);
844 GEN_CHECK_OFF(ATARequest, ReqType);
845 GEN_CHECK_OFF(ATARequest, u);
846 GEN_CHECK_OFF(ATARequest, u.t);
847 GEN_CHECK_OFF(ATARequest, u.a);
848 GEN_CHECK_SIZE(ATACONTROLLER);
849 GEN_CHECK_OFF(ATACONTROLLER, IOPortBase1);
850 GEN_CHECK_OFF(ATACONTROLLER, IOPortBase2);
851 GEN_CHECK_OFF(ATACONTROLLER, irq);
852 GEN_CHECK_OFF(ATACONTROLLER, lock);
853 GEN_CHECK_OFF(ATACONTROLLER, iSelectedIf);
854 GEN_CHECK_OFF(ATACONTROLLER, iAIOIf);
855 GEN_CHECK_OFF(ATACONTROLLER, uAsyncIOState);
856 GEN_CHECK_OFF(ATACONTROLLER, fChainedTransfer);
857 GEN_CHECK_OFF(ATACONTROLLER, fReset);
858 GEN_CHECK_OFF(ATACONTROLLER, fRedo);
859 GEN_CHECK_OFF(ATACONTROLLER, fRedoIdle);
860 GEN_CHECK_OFF(ATACONTROLLER, fRedoDMALastDesc);
861 GEN_CHECK_OFF(ATACONTROLLER, BmDma);
862 GEN_CHECK_OFF(ATACONTROLLER, pFirstDMADesc);
863 GEN_CHECK_OFF(ATACONTROLLER, pLastDMADesc);
864 GEN_CHECK_OFF(ATACONTROLLER, pRedoDMABuffer);
865 GEN_CHECK_OFF(ATACONTROLLER, cbRedoDMABuffer);
866 GEN_CHECK_OFF(ATACONTROLLER, aIfs);
867 GEN_CHECK_OFF(ATACONTROLLER, aIfs[1]);
868 GEN_CHECK_OFF(ATACONTROLLER, pDevInsR3);
869 GEN_CHECK_OFF(ATACONTROLLER, pDevInsR0);
870 GEN_CHECK_OFF(ATACONTROLLER, pDevInsRC);
871 GEN_CHECK_OFF(ATACONTROLLER, fShutdown);
872 GEN_CHECK_OFF(ATACONTROLLER, AsyncIOThread);
873 GEN_CHECK_OFF(ATACONTROLLER, AsyncIOSem);
874 GEN_CHECK_OFF(ATACONTROLLER, aAsyncIORequests[4]);
875 GEN_CHECK_OFF(ATACONTROLLER, AsyncIOReqHead);
876 GEN_CHECK_OFF(ATACONTROLLER, AsyncIOReqTail);
877 GEN_CHECK_OFF(ATACONTROLLER, AsyncIORequestMutex);
878 GEN_CHECK_OFF(ATACONTROLLER, SuspendIOSem);
879 GEN_CHECK_OFF(ATACONTROLLER, fSignalIdle);
880 GEN_CHECK_OFF(ATACONTROLLER, DelayIRQMillies);
881 GEN_CHECK_OFF(ATACONTROLLER, u64ResetTime);
882 GEN_CHECK_OFF(ATACONTROLLER, StatAsyncOps);
883 GEN_CHECK_OFF(ATACONTROLLER, StatAsyncMinWait);
884 GEN_CHECK_OFF(ATACONTROLLER, StatAsyncMaxWait);
885 GEN_CHECK_OFF(ATACONTROLLER, StatAsyncTimeUS);
886 GEN_CHECK_OFF(ATACONTROLLER, StatAsyncTime);
887 GEN_CHECK_OFF(ATACONTROLLER, StatLockWait);
888 GEN_CHECK_SIZE(PCIATAState);
889 GEN_CHECK_OFF(PCIATAState, dev);
890 GEN_CHECK_OFF(PCIATAState, aCts);
891 GEN_CHECK_OFF(PCIATAState, aCts[1]);
892 GEN_CHECK_OFF(PCIATAState, pDevIns);
893 GEN_CHECK_OFF(PCIATAState, IBase);
894 GEN_CHECK_OFF(PCIATAState, ILeds);
895 GEN_CHECK_OFF(PCIATAState, pLedsConnector);
896 GEN_CHECK_OFF(PCIATAState, fGCEnabled);
897 GEN_CHECK_OFF(PCIATAState, fR0Enabled);
898
899#ifdef VBOX_WITH_USB
900 /* USB/DevOHCI.cpp */
901 GEN_CHECK_SIZE(OHCIHUBPORT);
902 GEN_CHECK_OFF(OHCIHUBPORT, fReg);
903 GEN_CHECK_OFF(OHCIHUBPORT, pDev);
904
905 GEN_CHECK_SIZE(OHCIROOTHUB);
906 GEN_CHECK_OFF(OHCIROOTHUB, pIBase);
907 GEN_CHECK_OFF(OHCIROOTHUB, pIRhConn);
908 GEN_CHECK_OFF(OHCIROOTHUB, pIDev);
909 GEN_CHECK_OFF(OHCIROOTHUB, IBase);
910 GEN_CHECK_OFF(OHCIROOTHUB, IRhPort);
911 GEN_CHECK_OFF(OHCIROOTHUB, status);
912 GEN_CHECK_OFF(OHCIROOTHUB, desc_a);
913 GEN_CHECK_OFF(OHCIROOTHUB, desc_b);
914 GEN_CHECK_OFF(OHCIROOTHUB, aPorts);
915 GEN_CHECK_OFF(OHCIROOTHUB, aPorts[1]);
916 GEN_CHECK_OFF(OHCIROOTHUB, aPorts[OHCI_NDP - 1]);
917 GEN_CHECK_OFF(OHCIROOTHUB, pOhci);
918
919 GEN_CHECK_SIZE(OHCI);
920 GEN_CHECK_OFF(OHCI, PciDev);
921 GEN_CHECK_OFF(OHCI, MMIOBase);
922 GEN_CHECK_OFF(OHCI, pEndOfFrameTimerR3);
923 GEN_CHECK_OFF(OHCI, pEndOfFrameTimerR0);
924 GEN_CHECK_OFF(OHCI, pEndOfFrameTimerRC);
925 GEN_CHECK_OFF(OHCI, pDevInsR3);
926 GEN_CHECK_OFF(OHCI, pDevInsR0);
927 GEN_CHECK_OFF(OHCI, pDevInsRC);
928 GEN_CHECK_OFF(OHCI, SofTime);
929 //GEN_CHECK_OFF(OHCI, dqic:3);
930 //GEN_CHECK_OFF(OHCI, fno:1);
931 GEN_CHECK_OFF(OHCI, RootHub);
932 GEN_CHECK_OFF(OHCI, ctl);
933 GEN_CHECK_OFF(OHCI, status);
934 GEN_CHECK_OFF(OHCI, intr_status);
935 GEN_CHECK_OFF(OHCI, intr);
936 GEN_CHECK_OFF(OHCI, hcca);
937 GEN_CHECK_OFF(OHCI, per_cur);
938 GEN_CHECK_OFF(OHCI, ctrl_cur);
939 GEN_CHECK_OFF(OHCI, ctrl_head);
940 GEN_CHECK_OFF(OHCI, bulk_cur);
941 GEN_CHECK_OFF(OHCI, bulk_head);
942 GEN_CHECK_OFF(OHCI, done);
943 //GEN_CHECK_OFF(OHCI, fsmps:15);
944 //GEN_CHECK_OFF(OHCI, fit:1);
945 //GEN_CHECK_OFF(OHCI, fi:14);
946 //GEN_CHECK_OFF(OHCI, frt:1);
947 GEN_CHECK_OFF(OHCI, HcFmNumber);
948 GEN_CHECK_OFF(OHCI, pstart);
949 GEN_CHECK_OFF(OHCI, cTicksPerFrame);
950 GEN_CHECK_OFF(OHCI, cTicksPerUsbTick);
951 GEN_CHECK_OFF(OHCI, cInFlight);
952 GEN_CHECK_OFF(OHCI, aInFlight);
953 GEN_CHECK_OFF(OHCI, aInFlight[0].GCPhysTD);
954 GEN_CHECK_OFF(OHCI, aInFlight[0].pUrb);
955 GEN_CHECK_OFF(OHCI, aInFlight[1]);
956 GEN_CHECK_OFF(OHCI, cInDoneQueue);
957 GEN_CHECK_OFF(OHCI, aInDoneQueue);
958 GEN_CHECK_OFF(OHCI, aInDoneQueue[0].GCPhysTD);
959 GEN_CHECK_OFF(OHCI, aInDoneQueue[1]);
960 GEN_CHECK_OFF(OHCI, u32FmDoneQueueTail);
961 GEN_CHECK_OFF(OHCI, pLoad);
962# ifdef VBOX_WITH_STATISTICS
963 GEN_CHECK_OFF(OHCI, StatCanceledIsocUrbs);
964 GEN_CHECK_OFF(OHCI, StatCanceledGenUrbs);
965 GEN_CHECK_OFF(OHCI, StatDroppedUrbs);
966 GEN_CHECK_OFF(OHCI, StatTimer);
967# endif
968# ifdef VBOX_WITH_EHCI_IMPL
969 /* USB/DevEHCI.cpp */
970 GEN_CHECK_SIZE(EHCIHUBPORT);
971 GEN_CHECK_OFF(EHCIHUBPORT, fReg);
972 GEN_CHECK_OFF(EHCIHUBPORT, pDev);
973
974 GEN_CHECK_SIZE(EHCIROOTHUB);
975 GEN_CHECK_OFF(EHCIROOTHUB, pIBase);
976 GEN_CHECK_OFF(EHCIROOTHUB, pIRhConn);
977 GEN_CHECK_OFF(EHCIROOTHUB, pIDev);
978 GEN_CHECK_OFF(EHCIROOTHUB, IBase);
979 GEN_CHECK_OFF(EHCIROOTHUB, IRhPort);
980 GEN_CHECK_OFF(EHCIROOTHUB, Led);
981 GEN_CHECK_OFF(EHCIROOTHUB, ILeds);
982 GEN_CHECK_OFF(EHCIROOTHUB, pLedsConnector);
983 GEN_CHECK_OFF(EHCIROOTHUB, status);
984 GEN_CHECK_OFF(EHCIROOTHUB, desc_a);
985 GEN_CHECK_OFF(EHCIROOTHUB, desc_b);
986 GEN_CHECK_OFF(EHCIROOTHUB, aPorts);
987 GEN_CHECK_OFF(EHCIROOTHUB, aPorts[1]);
988 GEN_CHECK_OFF(EHCIROOTHUB, aPorts[EHCI_NDP - 1]);
989 GEN_CHECK_OFF(EHCIROOTHUB, pEhci);
990
991 GEN_CHECK_SIZE(EHCI);
992 GEN_CHECK_OFF(EHCI, PciDev);
993 GEN_CHECK_OFF(EHCI, MMIOBase);
994 GEN_CHECK_OFF(EHCI, pEndOfFrameTimerR3);
995 GEN_CHECK_OFF(EHCI, pEndOfFrameTimerR0);
996 GEN_CHECK_OFF(EHCI, pEndOfFrameTimerRC);
997 GEN_CHECK_OFF(EHCI, pDevInsR3);
998 GEN_CHECK_OFF(EHCI, pDevInsR0);
999 GEN_CHECK_OFF(EHCI, pDevInsRC);
1000 GEN_CHECK_OFF(EHCI, MMIOBase);
1001 GEN_CHECK_OFF(EHCI, SofTime);
1002 GEN_CHECK_OFF(EHCI, RootHub);
1003 GEN_CHECK_OFF(EHCI, cap_length);
1004 GEN_CHECK_OFF(EHCI, hci_version);
1005 GEN_CHECK_OFF(EHCI, hcs_params);
1006 GEN_CHECK_OFF(EHCI, hcc_params);
1007 GEN_CHECK_OFF(EHCI, cmd);
1008 GEN_CHECK_OFF(EHCI, intr_status);
1009 GEN_CHECK_OFF(EHCI, intr);
1010 GEN_CHECK_OFF(EHCI, frame_idx);
1011 GEN_CHECK_OFF(EHCI, ds_segment);
1012 GEN_CHECK_OFF(EHCI, periodic_list_base);
1013 GEN_CHECK_OFF(EHCI, async_list_base);
1014 GEN_CHECK_OFF(EHCI, config);
1015 GEN_CHECK_OFF(EHCI, uIrqInterval);
1016 GEN_CHECK_OFF(EHCI, HcFmNumber);
1017 GEN_CHECK_OFF(EHCI, uFramesPerTimerCall);
1018 GEN_CHECK_OFF(EHCI, cTicksPerFrame);
1019 GEN_CHECK_OFF(EHCI, cTicksPerUsbTick);
1020 GEN_CHECK_OFF(EHCI, cInFlight);
1021 GEN_CHECK_OFF(EHCI, aInFlight);
1022 GEN_CHECK_OFF(EHCI, aInFlight[0].GCPhysTD);
1023 GEN_CHECK_OFF(EHCI, aInFlight[0].pUrb);
1024 GEN_CHECK_OFF(EHCI, aInFlight[1]);
1025 GEN_CHECK_OFF(EHCI, aInFlight[256]);
1026 GEN_CHECK_OFF(EHCI, pLoad);
1027 GEN_CHECK_OFF(EHCI, fAsyncTraversalTimerActive);
1028# ifdef VBOX_WITH_STATISTICS
1029 GEN_CHECK_OFF(EHCI, StatCanceledIsocUrbs);
1030 GEN_CHECK_OFF(EHCI, StatCanceledGenUrbs);
1031 GEN_CHECK_OFF(EHCI, StatDroppedUrbs);
1032 GEN_CHECK_OFF(EHCI, StatTimer);
1033# endif
1034 GEN_CHECK_OFF(EHCI, SavedStateEnd);
1035 GEN_CHECK_OFF(EHCI, u64TimerHz);
1036 GEN_CHECK_OFF(EHCI, cIdleCycles);
1037 GEN_CHECK_OFF(EHCI, uFrameRate);
1038 GEN_CHECK_OFF(EHCI, fIdle);
1039 GEN_CHECK_OFF(EHCI, pEOFTimerSyncR3);
1040 GEN_CHECK_OFF(EHCI, pEOFTimerSyncR0);
1041 GEN_CHECK_OFF(EHCI, pEOFTimerSyncRC);
1042 GEN_CHECK_OFF(EHCI, pEOFTimerNoSyncRC);
1043 GEN_CHECK_OFF(EHCI, pEOFTimerNoSyncR3);
1044 GEN_CHECK_OFF(EHCI, pEOFTimerNoSyncR0);
1045# endif /* VBOX_WITH_EHCI_IMPL */
1046#endif /* VBOX_WITH_USB */
1047
1048 /* VMMDev/VBoxDev.cpp */
1049
1050 /* Parallel/DevParallel.cpp */
1051 GEN_CHECK_SIZE(PARALLELPORT);
1052 GEN_CHECK_OFF(PARALLELPORT, pDevInsR3);
1053 GEN_CHECK_OFF(PARALLELPORT, pDevInsR0);
1054 GEN_CHECK_OFF(PARALLELPORT, pDevInsRC);
1055 GEN_CHECK_OFF(PARALLELPORT, IBase);
1056 GEN_CHECK_OFF(PARALLELPORT, IHostParallelPort);
1057 GEN_CHECK_OFF(PARALLELPORT, pDrvHostParallelConnector);
1058 GEN_CHECK_OFF(PARALLELPORT, fGCEnabled);
1059 GEN_CHECK_OFF(PARALLELPORT, fR0Enabled);
1060 GEN_CHECK_OFF(PARALLELPORT, fEppTimeout);
1061 GEN_CHECK_OFF(PARALLELPORT, IOBase);
1062 GEN_CHECK_OFF(PARALLELPORT, iIrq);
1063 GEN_CHECK_OFF(PARALLELPORT, regData);
1064 GEN_CHECK_OFF(PARALLELPORT, regStatus);
1065 GEN_CHECK_OFF(PARALLELPORT, regControl);
1066 GEN_CHECK_OFF(PARALLELPORT, regEppAddr);
1067 GEN_CHECK_OFF(PARALLELPORT, regEppData);
1068#if 0
1069 GEN_CHECK_OFF(PARALLELPORT, reg_ecp_ecr);
1070 GEN_CHECK_OFF(PARALLELPORT, reg_ecp_base_plus_400h);
1071 GEN_CHECK_OFF(PARALLELPORT, reg_ecp_config_b);
1072 GEN_CHECK_OFF(PARALLELPORT, ecp_fifo);
1073 GEN_CHECK_OFF(PARALLELPORT, ecp_fifo[1]);
1074 GEN_CHECK_OFF(PARALLELPORT, act_fifo_pos_write);
1075 GEN_CHECK_OFF(PARALLELPORT, act_fifo_pos_read);
1076#endif
1077
1078 /* Serial/DevSerial.cpp */
1079 GEN_CHECK_SIZE(SerialState);
1080 GEN_CHECK_OFF(SerialState, CritSect);
1081 GEN_CHECK_OFF(SerialState, pDevInsR3);
1082 GEN_CHECK_OFF(SerialState, pDevInsR0);
1083 GEN_CHECK_OFF(SerialState, pDevInsRC);
1084 GEN_CHECK_OFF(SerialState, IBase);
1085 GEN_CHECK_OFF(SerialState, ICharPort);
1086 GEN_CHECK_OFF(SerialState, pDrvBase);
1087 GEN_CHECK_OFF(SerialState, pDrvChar);
1088 GEN_CHECK_OFF(SerialState, ReceiveSem);
1089 GEN_CHECK_OFF(SerialState, base);
1090 GEN_CHECK_OFF(SerialState, divider);
1091 GEN_CHECK_OFF(SerialState, recv_fifo);
1092 GEN_CHECK_OFF(SerialState, xmit_fifo);
1093 GEN_CHECK_OFF(SerialState, rbr);
1094 GEN_CHECK_OFF(SerialState, thr);
1095 GEN_CHECK_OFF(SerialState, tsr);
1096 GEN_CHECK_OFF(SerialState, ier);
1097 GEN_CHECK_OFF(SerialState, iir);
1098 GEN_CHECK_OFF(SerialState, lcr);
1099 GEN_CHECK_OFF(SerialState, mcr);
1100 GEN_CHECK_OFF(SerialState, lsr);
1101 GEN_CHECK_OFF(SerialState, msr);
1102 GEN_CHECK_OFF(SerialState, scr);
1103 GEN_CHECK_OFF(SerialState, fcr);
1104 GEN_CHECK_OFF(SerialState, fcr_vmstate);
1105 GEN_CHECK_OFF(SerialState, thr_ipending);
1106 GEN_CHECK_OFF(SerialState, timeout_ipending);
1107 GEN_CHECK_OFF(SerialState, irq);
1108 GEN_CHECK_OFF(SerialState, last_break_enable);
1109 GEN_CHECK_OFF(SerialState, tsr_retry);
1110 GEN_CHECK_OFF(SerialState, msr_changed);
1111 GEN_CHECK_OFF(SerialState, fGCEnabled);
1112 GEN_CHECK_OFF(SerialState, fR0Enabled);
1113 GEN_CHECK_OFF(SerialState, fYieldOnLSRRead);
1114 GEN_CHECK_OFF(SerialState, char_transmit_time);
1115
1116#ifdef VBOX_WITH_AHCI
1117 /* Storage/ATAController.h */
1118 GEN_CHECK_SIZE(AHCIATADevState);
1119 GEN_CHECK_OFF(AHCIATADevState, fLBA48);
1120 GEN_CHECK_OFF(AHCIATADevState, fATAPI);
1121 GEN_CHECK_OFF(AHCIATADevState, fIrqPending);
1122 GEN_CHECK_OFF(AHCIATADevState, cMultSectors);
1123 GEN_CHECK_OFF(AHCIATADevState, PCHSGeometry.cCylinders);
1124 GEN_CHECK_OFF(AHCIATADevState, PCHSGeometry.cHeads);
1125 GEN_CHECK_OFF(AHCIATADevState, PCHSGeometry.cSectors);
1126 GEN_CHECK_OFF(AHCIATADevState, cSectorsPerIRQ);
1127 GEN_CHECK_OFF(AHCIATADevState, cTotalSectors);
1128 GEN_CHECK_OFF(AHCIATADevState, uATARegFeature);
1129 GEN_CHECK_OFF(AHCIATADevState, uATARegFeatureHOB);
1130 GEN_CHECK_OFF(AHCIATADevState, uATARegError);
1131 GEN_CHECK_OFF(AHCIATADevState, uATARegNSector);
1132 GEN_CHECK_OFF(AHCIATADevState, uATARegNSectorHOB);
1133 GEN_CHECK_OFF(AHCIATADevState, uATARegSector);
1134 GEN_CHECK_OFF(AHCIATADevState, uATARegSectorHOB);
1135 GEN_CHECK_OFF(AHCIATADevState, uATARegLCyl);
1136 GEN_CHECK_OFF(AHCIATADevState, uATARegLCylHOB);
1137 GEN_CHECK_OFF(AHCIATADevState, uATARegHCyl);
1138 GEN_CHECK_OFF(AHCIATADevState, uATARegHCylHOB);
1139 GEN_CHECK_OFF(AHCIATADevState, uATARegSelect);
1140 GEN_CHECK_OFF(AHCIATADevState, uATARegStatus);
1141 GEN_CHECK_OFF(AHCIATADevState, uATARegCommand);
1142 GEN_CHECK_OFF(AHCIATADevState, uATARegDevCtl);
1143 GEN_CHECK_OFF(AHCIATADevState, uATATransferMode);
1144 GEN_CHECK_OFF(AHCIATADevState, uTxDir);
1145 GEN_CHECK_OFF(AHCIATADevState, iBeginTransfer);
1146 GEN_CHECK_OFF(AHCIATADevState, iSourceSink);
1147 GEN_CHECK_OFF(AHCIATADevState, fDMA);
1148 GEN_CHECK_OFF(AHCIATADevState, fATAPITransfer);
1149 GEN_CHECK_OFF(AHCIATADevState, cbTotalTransfer);
1150 GEN_CHECK_OFF(AHCIATADevState, cbElementaryTransfer);
1151 GEN_CHECK_OFF(AHCIATADevState, iIOBufferCur);
1152 GEN_CHECK_OFF(AHCIATADevState, iIOBufferEnd);
1153 GEN_CHECK_OFF(AHCIATADevState, iIOBufferPIODataStart);
1154 GEN_CHECK_OFF(AHCIATADevState, iIOBufferPIODataEnd);
1155 GEN_CHECK_OFF(AHCIATADevState, iATAPILBA);
1156 GEN_CHECK_OFF(AHCIATADevState, cbATAPISector);
1157 GEN_CHECK_OFF(AHCIATADevState, aATAPICmd);
1158 GEN_CHECK_OFF(AHCIATADevState, aATAPICmd[ATAPI_PACKET_SIZE - 1]);
1159 GEN_CHECK_OFF(AHCIATADevState, abATAPISense);
1160 GEN_CHECK_OFF(AHCIATADevState, abATAPISense[ATAPI_SENSE_SIZE - 1]);
1161 GEN_CHECK_OFF(AHCIATADevState, cNotifiedMediaChange);
1162 GEN_CHECK_OFF(AHCIATADevState, MediaEventStatus);
1163 GEN_CHECK_OFF(AHCIATADevState, pLed);
1164 GEN_CHECK_OFF(AHCIATADevState, cbIOBuffer);
1165 GEN_CHECK_OFF(AHCIATADevState, pbIOBufferR3);
1166 GEN_CHECK_OFF(AHCIATADevState, pbIOBufferR0);
1167 GEN_CHECK_OFF(AHCIATADevState, pbIOBufferRC);
1168 GEN_CHECK_OFF(AHCIATADevState, StatATADMA);
1169 GEN_CHECK_OFF(AHCIATADevState, StatATAPIO);
1170 GEN_CHECK_OFF(AHCIATADevState, StatATAPIDMA);
1171 GEN_CHECK_OFF(AHCIATADevState, StatATAPIPIO);
1172 GEN_CHECK_OFF(AHCIATADevState, StatReads);
1173 GEN_CHECK_OFF(AHCIATADevState, pStatBytesRead);
1174 GEN_CHECK_OFF(AHCIATADevState, StatWrites);
1175 GEN_CHECK_OFF(AHCIATADevState, pStatBytesWritten);
1176 GEN_CHECK_OFF(AHCIATADevState, StatFlushes);
1177 GEN_CHECK_OFF(AHCIATADevState, fATAPIPassthrough);
1178 GEN_CHECK_OFF(AHCIATADevState, cErrors);
1179 GEN_CHECK_OFF(AHCIATADevState, pDrvBase);
1180 GEN_CHECK_OFF(AHCIATADevState, pDrvBlock);
1181 GEN_CHECK_OFF(AHCIATADevState, pDrvBlockBios);
1182 GEN_CHECK_OFF(AHCIATADevState, pDrvMount);
1183 GEN_CHECK_OFF(AHCIATADevState, IBase);
1184 GEN_CHECK_OFF(AHCIATADevState, IPort);
1185 GEN_CHECK_OFF(AHCIATADevState, IMountNotify);
1186 GEN_CHECK_OFF(AHCIATADevState, iLUN);
1187 GEN_CHECK_OFF(AHCIATADevState, pDevInsR3);
1188 GEN_CHECK_OFF(AHCIATADevState, pDevInsR0);
1189 GEN_CHECK_OFF(AHCIATADevState, pDevInsRC);
1190 GEN_CHECK_OFF(AHCIATADevState, pControllerR3);
1191 GEN_CHECK_OFF(AHCIATADevState, pControllerR0);
1192 GEN_CHECK_OFF(AHCIATADevState, pControllerRC);
1193 GEN_CHECK_SIZE(AHCIATATransferRequest);
1194 GEN_CHECK_OFF(AHCIATATransferRequest, iIf);
1195 GEN_CHECK_OFF(AHCIATATransferRequest, iBeginTransfer);
1196 GEN_CHECK_OFF(AHCIATATransferRequest, iSourceSink);
1197 GEN_CHECK_OFF(AHCIATATransferRequest, cbTotalTransfer);
1198 GEN_CHECK_OFF(AHCIATATransferRequest, uTxDir);
1199 GEN_CHECK_SIZE(AHCIATAAbortRequest);
1200 GEN_CHECK_OFF(AHCIATAAbortRequest, iIf);
1201 GEN_CHECK_OFF(AHCIATAAbortRequest, fResetDrive);
1202 GEN_CHECK_SIZE(AHCIATARequest);
1203 GEN_CHECK_OFF(AHCIATARequest, ReqType);
1204 GEN_CHECK_OFF(AHCIATARequest, u);
1205 GEN_CHECK_OFF(AHCIATARequest, u.t);
1206 GEN_CHECK_OFF(AHCIATARequest, u.a);
1207 GEN_CHECK_SIZE(AHCIATACONTROLLER);
1208 GEN_CHECK_OFF(AHCIATACONTROLLER, IOPortBase1);
1209 GEN_CHECK_OFF(AHCIATACONTROLLER, IOPortBase2);
1210 GEN_CHECK_OFF(AHCIATACONTROLLER, irq);
1211 GEN_CHECK_OFF(AHCIATACONTROLLER, lock);
1212 GEN_CHECK_OFF(AHCIATACONTROLLER, iSelectedIf);
1213 GEN_CHECK_OFF(AHCIATACONTROLLER, iAIOIf);
1214 GEN_CHECK_OFF(AHCIATACONTROLLER, uAsyncIOState);
1215 GEN_CHECK_OFF(AHCIATACONTROLLER, fChainedTransfer);
1216 GEN_CHECK_OFF(AHCIATACONTROLLER, fReset);
1217 GEN_CHECK_OFF(AHCIATACONTROLLER, fRedo);
1218 GEN_CHECK_OFF(AHCIATACONTROLLER, fRedoIdle);
1219 GEN_CHECK_OFF(AHCIATACONTROLLER, fRedoDMALastDesc);
1220 GEN_CHECK_OFF(AHCIATACONTROLLER, BmDma);
1221 GEN_CHECK_OFF(AHCIATACONTROLLER, pFirstDMADesc);
1222 GEN_CHECK_OFF(AHCIATACONTROLLER, pLastDMADesc);
1223 GEN_CHECK_OFF(AHCIATACONTROLLER, pRedoDMABuffer);
1224 GEN_CHECK_OFF(AHCIATACONTROLLER, cbRedoDMABuffer);
1225 GEN_CHECK_OFF(AHCIATACONTROLLER, aIfs);
1226 GEN_CHECK_OFF(AHCIATACONTROLLER, aIfs[1]);
1227 GEN_CHECK_OFF(AHCIATACONTROLLER, pDevInsR3);
1228 GEN_CHECK_OFF(AHCIATACONTROLLER, pDevInsR0);
1229 GEN_CHECK_OFF(AHCIATACONTROLLER, pDevInsRC);
1230 GEN_CHECK_OFF(AHCIATACONTROLLER, fShutdown);
1231 GEN_CHECK_OFF(AHCIATACONTROLLER, AsyncIOThread);
1232 GEN_CHECK_OFF(AHCIATACONTROLLER, AsyncIOSem);
1233 GEN_CHECK_OFF(AHCIATACONTROLLER, aAsyncIORequests[4]);
1234 GEN_CHECK_OFF(AHCIATACONTROLLER, AsyncIOReqHead);
1235 GEN_CHECK_OFF(AHCIATACONTROLLER, AsyncIOReqTail);
1236 GEN_CHECK_OFF(AHCIATACONTROLLER, AsyncIORequestMutex);
1237 GEN_CHECK_OFF(AHCIATACONTROLLER, SuspendIOSem);
1238 GEN_CHECK_OFF(AHCIATACONTROLLER, DelayIRQMillies);
1239 GEN_CHECK_OFF(AHCIATACONTROLLER, fSignalIdle);
1240 GEN_CHECK_OFF(AHCIATACONTROLLER, StatAsyncOps);
1241 GEN_CHECK_OFF(AHCIATACONTROLLER, StatAsyncMinWait);
1242 GEN_CHECK_OFF(AHCIATACONTROLLER, StatAsyncMaxWait);
1243 GEN_CHECK_OFF(AHCIATACONTROLLER, StatAsyncTimeUS);
1244 GEN_CHECK_OFF(AHCIATACONTROLLER, StatAsyncTime);
1245 GEN_CHECK_OFF(AHCIATACONTROLLER, StatLockWait);
1246
1247 /* Storage/DevAHCI.cpp */
1248
1249 GEN_CHECK_SIZE(AHCIPort);
1250 GEN_CHECK_OFF(AHCIPort, pDevInsR3);
1251 GEN_CHECK_OFF(AHCIPort, pDevInsR0);
1252 GEN_CHECK_OFF(AHCIPort, pDevInsRC);
1253 GEN_CHECK_OFF(AHCIPort, pAhciR3);
1254 GEN_CHECK_OFF(AHCIPort, pAhciR0);
1255 GEN_CHECK_OFF(AHCIPort, pAhciRC);
1256 GEN_CHECK_OFF(AHCIPort, regCLB);
1257 GEN_CHECK_OFF(AHCIPort, regCLBU);
1258 GEN_CHECK_OFF(AHCIPort, regFB);
1259 GEN_CHECK_OFF(AHCIPort, regFBU);
1260 GEN_CHECK_OFF(AHCIPort, regIS);
1261 GEN_CHECK_OFF(AHCIPort, regIE);
1262 GEN_CHECK_OFF(AHCIPort, regCMD);
1263 GEN_CHECK_OFF(AHCIPort, regTFD);
1264 GEN_CHECK_OFF(AHCIPort, regSIG);
1265 GEN_CHECK_OFF(AHCIPort, regSSTS);
1266 GEN_CHECK_OFF(AHCIPort, regSCTL);
1267 GEN_CHECK_OFF(AHCIPort, regSERR);
1268 GEN_CHECK_OFF(AHCIPort, regSACT);
1269 GEN_CHECK_OFF(AHCIPort, regCI);
1270 GEN_CHECK_OFF(AHCIPort, GCPhysAddrClb);
1271 GEN_CHECK_OFF(AHCIPort, GCPhysAddrFb);
1272 GEN_CHECK_OFF(AHCIPort, cTasksActive);
1273 GEN_CHECK_OFF(AHCIPort, fPoweredOn);
1274 GEN_CHECK_OFF(AHCIPort, fSpunUp);
1275 GEN_CHECK_OFF(AHCIPort, fFirstD2HFisSend);
1276 GEN_CHECK_OFF(AHCIPort, fATAPI);
1277 GEN_CHECK_OFF(AHCIPort, fATAPIPassthrough);
1278 GEN_CHECK_OFF(AHCIPort, fPortReset);
1279 GEN_CHECK_OFF(AHCIPort, fAsyncInterface);
1280 GEN_CHECK_OFF(AHCIPort, fResetDevice);
1281 GEN_CHECK_OFF(AHCIPort, fAsyncIOThreadIdle);
1282 GEN_CHECK_OFF(AHCIPort, fRedo);
1283 GEN_CHECK_OFF(AHCIPort, cTotalSectors);
1284 GEN_CHECK_OFF(AHCIPort, cMultSectors);
1285 GEN_CHECK_OFF(AHCIPort, uATATransferMode);
1286 GEN_CHECK_OFF(AHCIPort, abATAPISense);
1287 GEN_CHECK_OFF(AHCIPort, cNotifiedMediaChange);
1288 GEN_CHECK_OFF(AHCIPort, MediaEventStatus);
1289 GEN_CHECK_OFF(AHCIPort, MediaTrackType);
1290 GEN_CHECK_OFF(AHCIPort, iLUN);
1291 GEN_CHECK_OFF(AHCIPort, u32TasksFinished);
1292 GEN_CHECK_OFF(AHCIPort, u32QueuedTasksFinished);
1293 GEN_CHECK_OFF(AHCIPort, u32TasksNew);
1294 GEN_CHECK_OFF(AHCIPort, u32CurrentCommandSlot);
1295 GEN_CHECK_OFF(AHCIPort, pDrvBase);
1296 GEN_CHECK_OFF(AHCIPort, pDrvBlock);
1297 GEN_CHECK_OFF(AHCIPort, pDrvBlockAsync);
1298 GEN_CHECK_OFF(AHCIPort, pDrvBlockBios);
1299 GEN_CHECK_OFF(AHCIPort, pDrvMount);
1300 GEN_CHECK_OFF(AHCIPort, IBase);
1301 GEN_CHECK_OFF(AHCIPort, IPort);
1302 GEN_CHECK_OFF(AHCIPort, IPortAsync);
1303 GEN_CHECK_OFF(AHCIPort, IMountNotify);
1304 GEN_CHECK_OFF(AHCIPort, PCHSGeometry);
1305 GEN_CHECK_OFF(AHCIPort, Led);
1306 GEN_CHECK_OFF(AHCIPort, pAsyncIOThread);
1307 GEN_CHECK_OFF(AHCIPort, AsyncIORequestSem);
1308
1309 GEN_CHECK_OFF(AHCIPort, aCachedTasks);
1310 GEN_CHECK_OFF(AHCIPort, pTaskErr);
1311 GEN_CHECK_OFF(AHCIPort, StatDMA);
1312 GEN_CHECK_OFF(AHCIPort, StatBytesWritten);
1313 GEN_CHECK_OFF(AHCIPort, StatBytesRead);
1314 GEN_CHECK_OFF(AHCIPort, StatIORequestsPerSecond);
1315#ifdef VBOX_WITH_STATISTICS
1316 GEN_CHECK_OFF(AHCIPort, StatProfileProcessTime);
1317 GEN_CHECK_OFF(AHCIPort, StatProfileMapIntoR3);
1318 GEN_CHECK_OFF(AHCIPort, StatProfileReadWrite);
1319 GEN_CHECK_OFF(AHCIPort, StatProfileDestroyScatterGatherList);
1320#endif
1321 GEN_CHECK_OFF(AHCIPort, fAsyncIOThreadIdle);
1322 GEN_CHECK_OFF(AHCIPort, szSerialNumber);
1323 GEN_CHECK_OFF(AHCIPort, szSerialNumber[AHCI_SERIAL_NUMBER_LENGTH]); /* One additional byte for the termination.*/
1324 GEN_CHECK_OFF(AHCIPort, szFirmwareRevision);
1325 GEN_CHECK_OFF(AHCIPort, szFirmwareRevision[AHCI_FIRMWARE_REVISION_LENGTH]); /* One additional byte for the termination.*/
1326 GEN_CHECK_OFF(AHCIPort, szModelNumber);
1327 GEN_CHECK_OFF(AHCIPort, szModelNumber[AHCI_MODEL_NUMBER_LENGTH]); /* One additional byte for the termination.*/
1328 GEN_CHECK_OFF(AHCIPort, szInquiryVendorId[AHCI_ATAPI_INQUIRY_VENDOR_ID_LENGTH]);
1329 GEN_CHECK_OFF(AHCIPort, szInquiryProductId);
1330 GEN_CHECK_OFF(AHCIPort, szInquiryProductId[AHCI_ATAPI_INQUIRY_PRODUCT_ID_LENGTH]);
1331 GEN_CHECK_OFF(AHCIPort, szInquiryRevision);
1332 GEN_CHECK_OFF(AHCIPort, szInquiryRevision[AHCI_ATAPI_INQUIRY_REVISION_LENGTH]);
1333 GEN_CHECK_OFF(AHCIPort, cErrors);
1334 GEN_CHECK_OFF(AHCIPort, fRedo);
1335
1336 GEN_CHECK_SIZE(AHCI);
1337 GEN_CHECK_OFF(AHCI, dev);
1338 GEN_CHECK_OFF(AHCI, pDevInsR3);
1339 GEN_CHECK_OFF(AHCI, pDevInsR0);
1340 GEN_CHECK_OFF(AHCI, pDevInsRC);
1341 GEN_CHECK_OFF(AHCI, IBase);
1342 GEN_CHECK_OFF(AHCI, ILeds);
1343 GEN_CHECK_OFF(AHCI, pLedsConnector);
1344 GEN_CHECK_OFF(AHCI, MMIOBase);
1345 GEN_CHECK_OFF(AHCI, regHbaCap);
1346 GEN_CHECK_OFF(AHCI, regHbaCtrl);
1347 GEN_CHECK_OFF(AHCI, regHbaIs);
1348 GEN_CHECK_OFF(AHCI, regHbaPi);
1349 GEN_CHECK_OFF(AHCI, regHbaVs);
1350 GEN_CHECK_OFF(AHCI, regHbaCccCtl);
1351 GEN_CHECK_OFF(AHCI, regHbaCccPorts);
1352 GEN_CHECK_OFF(AHCI, regIdx);
1353 GEN_CHECK_OFF(AHCI, pHbaCccTimerR3);
1354 GEN_CHECK_OFF(AHCI, pHbaCccTimerR0);
1355 GEN_CHECK_OFF(AHCI, pHbaCccTimerRC);
1356 GEN_CHECK_OFF(AHCI, pNotifierQueueR3);
1357 GEN_CHECK_OFF(AHCI, pNotifierQueueR0);
1358 GEN_CHECK_OFF(AHCI, pNotifierQueueRC);
1359 GEN_CHECK_OFF(AHCI, uCccPortNr);
1360 GEN_CHECK_OFF(AHCI, uCccTimeout);
1361 GEN_CHECK_OFF(AHCI, uCccNr);
1362 GEN_CHECK_OFF(AHCI, uCccCurrentNr);
1363 GEN_CHECK_OFF(AHCI, ahciPort);
1364 GEN_CHECK_OFF(AHCI, ahciPort[AHCI_MAX_NR_PORTS_IMPL-1]);
1365 GEN_CHECK_OFF(AHCI, aCts);
1366 GEN_CHECK_OFF(AHCI, aCts[1]);
1367 GEN_CHECK_OFF(AHCI, lock);
1368 GEN_CHECK_OFF(AHCI, u32PortsInterrupted);
1369 GEN_CHECK_OFF(AHCI, fReset);
1370 GEN_CHECK_OFF(AHCI, f64BitAddr);
1371 GEN_CHECK_OFF(AHCI, fGCEnabled);
1372 GEN_CHECK_OFF(AHCI, fR0Enabled);
1373 GEN_CHECK_OFF(AHCI, fSignalIdle);
1374 GEN_CHECK_OFF(AHCI, fBootable);
1375 GEN_CHECK_OFF(AHCI, cPortsImpl);
1376 GEN_CHECK_OFF(AHCI, cCmdSlotsAvail);
1377 GEN_CHECK_OFF(AHCI, f8ByteMMIO4BytesWrittenSuccessfully);
1378#endif /* VBOX_WITH_AHCI */
1379
1380#ifdef VBOX_WITH_E1000
1381 GEN_CHECK_SIZE(EEPROM93C46);
1382 GEN_CHECK_OFF(EEPROM93C46, m_eState);
1383 GEN_CHECK_OFF(EEPROM93C46, m_au16Data);
1384 GEN_CHECK_OFF(EEPROM93C46, m_fWriteEnabled);
1385 GEN_CHECK_OFF(EEPROM93C46, m_u16Word);
1386 GEN_CHECK_OFF(EEPROM93C46, m_u16Mask);
1387 GEN_CHECK_OFF(EEPROM93C46, m_u16Addr);
1388 GEN_CHECK_OFF(EEPROM93C46, m_u32InternalWires);
1389 GEN_CHECK_OFF(EEPROM93C46, m_eOp);
1390
1391 GEN_CHECK_SIZE(E1KSTATE);
1392 GEN_CHECK_OFF(E1KSTATE, IBase);
1393 GEN_CHECK_OFF(E1KSTATE, INetworkDown);
1394 GEN_CHECK_OFF(E1KSTATE, INetworkConfig);
1395 GEN_CHECK_OFF(E1KSTATE, ILeds);
1396 GEN_CHECK_OFF(E1KSTATE, pDrvBase);
1397 GEN_CHECK_OFF(E1KSTATE, pDrvR3);
1398 GEN_CHECK_OFF(E1KSTATE, pDrvR0);
1399 GEN_CHECK_OFF(E1KSTATE, pDrvRC);
1400 GEN_CHECK_OFF(E1KSTATE, pLedsConnector);
1401 GEN_CHECK_OFF(E1KSTATE, pDevInsR3);
1402 GEN_CHECK_OFF(E1KSTATE, pDevInsR0);
1403 GEN_CHECK_OFF(E1KSTATE, pDevInsRC);
1404 GEN_CHECK_OFF(E1KSTATE, pTxQueueR3);
1405 GEN_CHECK_OFF(E1KSTATE, pTxQueueR0);
1406 GEN_CHECK_OFF(E1KSTATE, pTxQueueRC);
1407 GEN_CHECK_OFF(E1KSTATE, pCanRxQueueR3);
1408 GEN_CHECK_OFF(E1KSTATE, pCanRxQueueR0);
1409 GEN_CHECK_OFF(E1KSTATE, pCanRxQueueRC);
1410 GEN_CHECK_OFF(E1KSTATE, pRIDTimerR3);
1411 GEN_CHECK_OFF(E1KSTATE, pRIDTimerR0);
1412 GEN_CHECK_OFF(E1KSTATE, pRIDTimerRC);
1413 GEN_CHECK_OFF(E1KSTATE, pRADTimerR3);
1414 GEN_CHECK_OFF(E1KSTATE, pRADTimerR0);
1415 GEN_CHECK_OFF(E1KSTATE, pRADTimerRC);
1416 GEN_CHECK_OFF(E1KSTATE, pTIDTimerR3);
1417 GEN_CHECK_OFF(E1KSTATE, pTIDTimerR0);
1418 GEN_CHECK_OFF(E1KSTATE, pTIDTimerRC);
1419 GEN_CHECK_OFF(E1KSTATE, pTADTimerR3);
1420 GEN_CHECK_OFF(E1KSTATE, pTADTimerR0);
1421 GEN_CHECK_OFF(E1KSTATE, pTADTimerRC);
1422 GEN_CHECK_OFF(E1KSTATE, pIntTimerR3);
1423 GEN_CHECK_OFF(E1KSTATE, pIntTimerR0);
1424 GEN_CHECK_OFF(E1KSTATE, pIntTimerRC);
1425 GEN_CHECK_OFF(E1KSTATE, pLUTimerR3);
1426 GEN_CHECK_OFF(E1KSTATE, pLUTimerR0);
1427 GEN_CHECK_OFF(E1KSTATE, pLUTimerRC);
1428 GEN_CHECK_OFF(E1KSTATE, cs);
1429# ifndef E1K_GLOBAL_MUTEX
1430 GEN_CHECK_OFF(E1KSTATE, csRx);
1431# endif
1432 GEN_CHECK_OFF(E1KSTATE, addrMMReg);
1433 GEN_CHECK_OFF(E1KSTATE, macConfigured);
1434 GEN_CHECK_OFF(E1KSTATE, addrIOPort);
1435 GEN_CHECK_OFF(E1KSTATE, pciDevice);
1436 GEN_CHECK_OFF(E1KSTATE, u64AckedAt);
1437 GEN_CHECK_OFF(E1KSTATE, fIntRaised);
1438 GEN_CHECK_OFF(E1KSTATE, fCableConnected);
1439 GEN_CHECK_OFF(E1KSTATE, fR0Enabled);
1440 GEN_CHECK_OFF(E1KSTATE, fGCEnabled);
1441 GEN_CHECK_OFF(E1KSTATE, auRegs[E1K_NUM_OF_32BIT_REGS]);
1442 GEN_CHECK_OFF(E1KSTATE, led);
1443 GEN_CHECK_OFF(E1KSTATE, u32PktNo);
1444 GEN_CHECK_OFF(E1KSTATE, uSelectedReg);
1445 GEN_CHECK_OFF(E1KSTATE, auMTA[128]);
1446 GEN_CHECK_OFF(E1KSTATE, aRecAddr);
1447 GEN_CHECK_OFF(E1KSTATE, auVFTA[128]);
1448 GEN_CHECK_OFF(E1KSTATE, u16RxBSize);
1449 GEN_CHECK_OFF(E1KSTATE, fLocked);
1450 GEN_CHECK_OFF(E1KSTATE, fDelayInts);
1451 GEN_CHECK_OFF(E1KSTATE, fIntMaskUsed);
1452 GEN_CHECK_OFF(E1KSTATE, fMaybeOutOfSpace);
1453 GEN_CHECK_OFF(E1KSTATE, hEventMoreRxDescAvail);
1454 GEN_CHECK_OFF(E1KSTATE, contextTSE);
1455 GEN_CHECK_OFF(E1KSTATE, contextNormal);
1456# ifdef E1K_WITH_TXD_CACHE
1457 GEN_CHECK_OFF(E1KSTATE, aTxDescriptors);
1458 GEN_CHECK_OFF(E1KSTATE, nTxDFetched);
1459 GEN_CHECK_OFF(E1KSTATE, iTxDCurrent);
1460 GEN_CHECK_OFF(E1KSTATE, fGSO);
1461 GEN_CHECK_OFF(E1KSTATE, cbTxAlloc);
1462# endif
1463 GEN_CHECK_OFF(E1KSTATE, GsoCtx);
1464 GEN_CHECK_OFF(E1KSTATE, uTxFallback);
1465 GEN_CHECK_OFF(E1KSTATE, fVTag);
1466 GEN_CHECK_OFF(E1KSTATE, u16VTagTCI);
1467 GEN_CHECK_OFF(E1KSTATE, aTxPacketFallback[E1K_MAX_TX_PKT_SIZE]);
1468 GEN_CHECK_OFF(E1KSTATE, u16TxPktLen);
1469 GEN_CHECK_OFF(E1KSTATE, fIPcsum);
1470 GEN_CHECK_OFF(E1KSTATE, fTCPcsum);
1471 GEN_CHECK_OFF(E1KSTATE, u32PayRemain);
1472 GEN_CHECK_OFF(E1KSTATE, u16HdrRemain);
1473 GEN_CHECK_OFF(E1KSTATE, u16SavedFlags);
1474 GEN_CHECK_OFF(E1KSTATE, u32SavedCsum);
1475 GEN_CHECK_OFF(E1KSTATE, eeprom);
1476 GEN_CHECK_OFF(E1KSTATE, phy);
1477 GEN_CHECK_OFF(E1KSTATE, StatReceiveBytes);
1478#endif /* VBOX_WITH_E1000 */
1479
1480#ifdef VBOX_WITH_VIRTIO
1481 GEN_CHECK_OFF(VPCISTATE, cs);
1482 GEN_CHECK_OFF(VPCISTATE, szInstance);
1483 GEN_CHECK_OFF(VPCISTATE, IBase);
1484 GEN_CHECK_OFF(VPCISTATE, ILeds);
1485 GEN_CHECK_OFF(VPCISTATE, pLedsConnector);
1486 GEN_CHECK_OFF(VPCISTATE, pDevInsR3);
1487 GEN_CHECK_OFF(VPCISTATE, pDevInsR0);
1488 GEN_CHECK_OFF(VPCISTATE, pDevInsRC);
1489 GEN_CHECK_OFF(VPCISTATE, pciDevice);
1490 GEN_CHECK_OFF(VPCISTATE, addrIOPort);
1491 GEN_CHECK_OFF(VPCISTATE, led);
1492 GEN_CHECK_OFF(VPCISTATE, uGuestFeatures);
1493 GEN_CHECK_OFF(VPCISTATE, uQueueSelector);
1494 GEN_CHECK_OFF(VPCISTATE, uStatus);
1495 GEN_CHECK_OFF(VPCISTATE, uISR);
1496 GEN_CHECK_OFF(VPCISTATE, Queues);
1497 GEN_CHECK_OFF(VPCISTATE, Queues[VIRTIO_MAX_NQUEUES]);
1498 GEN_CHECK_OFF(VNETSTATE, VPCI);
1499 GEN_CHECK_OFF(VNETSTATE, INetworkDown);
1500 GEN_CHECK_OFF(VNETSTATE, INetworkConfig);
1501 GEN_CHECK_OFF(VNETSTATE, pDrvBase);
1502 GEN_CHECK_OFF(VNETSTATE, pCanRxQueueR3);
1503 GEN_CHECK_OFF(VNETSTATE, pCanRxQueueR0);
1504 GEN_CHECK_OFF(VNETSTATE, pCanRxQueueRC);
1505 GEN_CHECK_OFF(VNETSTATE, pLinkUpTimer);
1506# ifdef VNET_TX_DELAY
1507 GEN_CHECK_OFF(VNETSTATE, pTxTimerR3);
1508 GEN_CHECK_OFF(VNETSTATE, pTxTimerR0);
1509 GEN_CHECK_OFF(VNETSTATE, pTxTimerRC);
1510# endif /* VNET_TX_DELAY */
1511 GEN_CHECK_OFF(VNETSTATE, config);
1512 GEN_CHECK_OFF(VNETSTATE, macConfigured);
1513 GEN_CHECK_OFF(VNETSTATE, fCableConnected);
1514 GEN_CHECK_OFF(VNETSTATE, u32PktNo);
1515 GEN_CHECK_OFF(VNETSTATE, fPromiscuous);
1516 GEN_CHECK_OFF(VNETSTATE, fAllMulti);
1517 GEN_CHECK_OFF(VNETSTATE, pRxQueue);
1518 GEN_CHECK_OFF(VNETSTATE, pTxQueue);
1519 GEN_CHECK_OFF(VNETSTATE, pCtlQueue);
1520 GEN_CHECK_OFF(VNETSTATE, fMaybeOutOfSpace);
1521 GEN_CHECK_OFF(VNETSTATE, hEventMoreRxDescAvail);
1522#endif /* VBOX_WITH_VIRTIO */
1523
1524#ifdef VBOX_WITH_SCSI
1525 GEN_CHECK_SIZE(VBOXSCSI);
1526 GEN_CHECK_OFF(VBOXSCSI, regIdentify);
1527 GEN_CHECK_OFF(VBOXSCSI, uTargetDevice);
1528 GEN_CHECK_OFF(VBOXSCSI, uTxDir);
1529 GEN_CHECK_OFF(VBOXSCSI, cbCDB);
1530 GEN_CHECK_OFF(VBOXSCSI, aCDB);
1531 GEN_CHECK_OFF(VBOXSCSI, aCDB[11]);
1532 GEN_CHECK_OFF(VBOXSCSI, iCDB);
1533 GEN_CHECK_OFF(VBOXSCSI, pBuf);
1534 GEN_CHECK_OFF(VBOXSCSI, cbBuf);
1535 GEN_CHECK_OFF(VBOXSCSI, iBuf);
1536 GEN_CHECK_OFF(VBOXSCSI, fBusy);
1537 GEN_CHECK_OFF(VBOXSCSI, enmState);
1538#endif
1539
1540 /* VMMDev*.cpp/h */
1541 GEN_CHECK_SIZE(VMMDevState);
1542 GEN_CHECK_OFF(VMMDevState, dev);
1543 GEN_CHECK_OFF(VMMDevState, CritSect);
1544 GEN_CHECK_OFF(VMMDevState, hypervisorSize);
1545 GEN_CHECK_OFF(VMMDevState, mouseCapabilities);
1546 GEN_CHECK_OFF(VMMDevState, mouseXAbs);
1547 GEN_CHECK_OFF(VMMDevState, mouseYAbs);
1548 GEN_CHECK_OFF(VMMDevState, fHostCursorRequested);
1549 GEN_CHECK_OFF(VMMDevState, pDevIns);
1550 GEN_CHECK_OFF(VMMDevState, IBase);
1551 GEN_CHECK_OFF(VMMDevState, IPort);
1552#ifdef VBOX_WITH_HGCM
1553 GEN_CHECK_OFF(VMMDevState, IHGCMPort);
1554#endif
1555 GEN_CHECK_OFF(VMMDevState, pDrvBase);
1556 GEN_CHECK_OFF(VMMDevState, pDrv);
1557#ifdef VBOX_WITH_HGCM
1558 GEN_CHECK_OFF(VMMDevState, pHGCMDrv);
1559#endif
1560 GEN_CHECK_OFF(VMMDevState, szMsg);
1561 GEN_CHECK_OFF(VMMDevState, iMsg);
1562 GEN_CHECK_OFF(VMMDevState, PortBase);
1563 GEN_CHECK_OFF(VMMDevState, irq);
1564 GEN_CHECK_OFF(VMMDevState, u32HostEventFlags);
1565 GEN_CHECK_OFF(VMMDevState, u32GuestFilterMask);
1566 GEN_CHECK_OFF(VMMDevState, u32NewGuestFilterMask);
1567 GEN_CHECK_OFF(VMMDevState, fNewGuestFilterMask);
1568 GEN_CHECK_OFF(VMMDevState, GCPhysVMMDevRAM);
1569 GEN_CHECK_OFF(VMMDevState, pVMMDevRAMR3);
1570 GEN_CHECK_OFF(VMMDevState, pVMMDevHeapR3);
1571 GEN_CHECK_OFF(VMMDevState, GCPhysVMMDevHeap);
1572 GEN_CHECK_OFF(VMMDevState, guestInfo);
1573 GEN_CHECK_OFF(VMMDevState, guestCaps);
1574 GEN_CHECK_OFF(VMMDevState, fu32AdditionsOk);
1575 GEN_CHECK_OFF(VMMDevState, u32VideoAccelEnabled);
1576 GEN_CHECK_OFF(VMMDevState, displayChangeData);
1577 GEN_CHECK_OFF(VMMDevState, pCredentials);
1578 GEN_CHECK_OFF(VMMDevState, u32MemoryBalloonSize);
1579 GEN_CHECK_OFF(VMMDevState, u32LastMemoryBalloonSize);
1580 GEN_CHECK_OFF(VMMDevState, cbGuestRAM);
1581 GEN_CHECK_OFF(VMMDevState, idSession);
1582 GEN_CHECK_OFF(VMMDevState, u32StatIntervalSize);
1583 GEN_CHECK_OFF(VMMDevState, u32LastStatIntervalSize);
1584 GEN_CHECK_OFF(VMMDevState, fLastSeamlessEnabled),
1585 GEN_CHECK_OFF(VMMDevState, fSeamlessEnabled);
1586 GEN_CHECK_OFF(VMMDevState, fVRDPEnabled);
1587 GEN_CHECK_OFF(VMMDevState, u32VRDPExperienceLevel);
1588#ifdef TIMESYNC_BACKDOOR
1589 GEN_CHECK_OFF(VMMDevState, hostTime);
1590 GEN_CHECK_OFF(VMMDevState, fTimesyncBackdoorLo);
1591#endif
1592 GEN_CHECK_OFF(VMMDevState, fGetHostTimeDisabled);
1593 GEN_CHECK_OFF(VMMDevState, fBackdoorLogDisabled);
1594 GEN_CHECK_OFF(VMMDevState, fKeepCredentials);
1595 GEN_CHECK_OFF(VMMDevState, fHeapEnabled);
1596#ifdef VBOX_WITH_HGCM
1597 GEN_CHECK_OFF(VMMDevState, pHGCMCmdList);
1598 GEN_CHECK_OFF(VMMDevState, critsectHGCMCmdList);
1599 GEN_CHECK_OFF(VMMDevState, u32HGCMEnabled);
1600#endif
1601 GEN_CHECK_OFF(VMMDevState, SharedFolders);
1602 GEN_CHECK_OFF(VMMDevState, SharedFolders.Led);
1603 GEN_CHECK_OFF(VMMDevState, SharedFolders.ILeds);
1604 GEN_CHECK_OFF(VMMDevState, SharedFolders.pLedsConnector);
1605 GEN_CHECK_OFF(VMMDevState, fCpuHotPlugEventsEnabled);
1606 GEN_CHECK_OFF(VMMDevState, enmCpuHotPlugEvent);
1607 GEN_CHECK_OFF(VMMDevState, idCpuCore);
1608 GEN_CHECK_OFF(VMMDevState, idCpuPackage);
1609 GEN_CHECK_OFF(VMMDevState, StatMemBalloonChunks);
1610 GEN_CHECK_OFF(VMMDevState, fRZEnabled);
1611 GEN_CHECK_OFF(VMMDevState, fTestingEnabled);
1612 GEN_CHECK_OFF(VMMDevState, u32TestingHighTimestamp);
1613 GEN_CHECK_OFF(VMMDevState, u32TestingCmd);
1614 GEN_CHECK_OFF(VMMDevState, offTestingData);
1615 GEN_CHECK_OFF(VMMDevState, TestingData);
1616 GEN_CHECK_OFF(VMMDevState, TestingData.Value.u64Value);
1617 GEN_CHECK_OFF(VMMDevState, TestingData.Value.u32Unit);
1618 GEN_CHECK_OFF(VMMDevState, TestingData.Value.szName);
1619
1620#ifdef VBOX_WITH_BUSLOGIC
1621 GEN_CHECK_SIZE(BUSLOGICDEVICE);
1622 GEN_CHECK_OFF(BUSLOGICDEVICE, pBusLogicR3);
1623 GEN_CHECK_OFF(BUSLOGICDEVICE, pBusLogicR0);
1624 GEN_CHECK_OFF(BUSLOGICDEVICE, pBusLogicRC);
1625 GEN_CHECK_OFF(BUSLOGICDEVICE, fPresent);
1626 GEN_CHECK_OFF(BUSLOGICDEVICE, iLUN);
1627 GEN_CHECK_OFF(BUSLOGICDEVICE, IBase);
1628 GEN_CHECK_OFF(BUSLOGICDEVICE, ISCSIPort);
1629 GEN_CHECK_OFF(BUSLOGICDEVICE, ILed);
1630 GEN_CHECK_OFF(BUSLOGICDEVICE, pDrvBase);
1631 GEN_CHECK_OFF(BUSLOGICDEVICE, pDrvSCSIConnector);
1632 GEN_CHECK_OFF(BUSLOGICDEVICE, Led);
1633 GEN_CHECK_OFF(BUSLOGICDEVICE, cOutstandingRequests);
1634
1635 GEN_CHECK_SIZE(BUSLOGIC);
1636 GEN_CHECK_OFF(BUSLOGIC, dev);
1637 GEN_CHECK_OFF(BUSLOGIC, pDevInsR3);
1638 GEN_CHECK_OFF(BUSLOGIC, pDevInsR0);
1639 GEN_CHECK_OFF(BUSLOGIC, pDevInsRC);
1640 GEN_CHECK_OFF(BUSLOGIC, IOPortBase);
1641 GEN_CHECK_OFF(BUSLOGIC, MMIOBase);
1642 GEN_CHECK_OFF(BUSLOGIC, regStatus);
1643 GEN_CHECK_OFF(BUSLOGIC, regInterrupt);
1644 GEN_CHECK_OFF(BUSLOGIC, regGeometry);
1645 GEN_CHECK_OFF(BUSLOGIC, LocalRam);
1646 GEN_CHECK_OFF(BUSLOGIC, uOperationCode);
1647 GEN_CHECK_OFF(BUSLOGIC, aCommandBuffer);
1648 GEN_CHECK_OFF(BUSLOGIC, aCommandBuffer[BUSLOGIC_COMMAND_SIZE_MAX]);
1649 GEN_CHECK_OFF(BUSLOGIC, iParameter);
1650 GEN_CHECK_OFF(BUSLOGIC, cbCommandParametersLeft);
1651 GEN_CHECK_OFF(BUSLOGIC, fUseLocalRam);
1652 GEN_CHECK_OFF(BUSLOGIC, aReplyBuffer);
1653 GEN_CHECK_OFF(BUSLOGIC, aReplyBuffer[BUSLOGIC_REPLY_SIZE_MAX]);
1654 GEN_CHECK_OFF(BUSLOGIC, iReply);
1655 GEN_CHECK_OFF(BUSLOGIC, cbReplyParametersLeft);
1656 GEN_CHECK_OFF(BUSLOGIC, fIRQEnabled);
1657 GEN_CHECK_OFF(BUSLOGIC, cMailbox);
1658 GEN_CHECK_OFF(BUSLOGIC, GCPhysAddrMailboxOutgoingBase);
1659 GEN_CHECK_OFF(BUSLOGIC, uMailboxOutgoingPositionCurrent);
1660 GEN_CHECK_OFF(BUSLOGIC, cMailboxesReady);
1661 GEN_CHECK_OFF(BUSLOGIC, fNotificationSend);
1662 GEN_CHECK_OFF(BUSLOGIC, GCPhysAddrMailboxIncomingBase);
1663 GEN_CHECK_OFF(BUSLOGIC, uMailboxIncomingPositionCurrent);
1664 GEN_CHECK_OFF(BUSLOGIC, fStrictRoundRobinMode);
1665 GEN_CHECK_OFF(BUSLOGIC, fExtendedLunCCBFormat);
1666 GEN_CHECK_OFF(BUSLOGIC, pNotifierQueueR3);
1667 GEN_CHECK_OFF(BUSLOGIC, pNotifierQueueR0);
1668 GEN_CHECK_OFF(BUSLOGIC, pNotifierQueueRC);
1669 GEN_CHECK_OFF(BUSLOGIC, CritSectIntr);
1670 GEN_CHECK_OFF(BUSLOGIC, hTaskCache);
1671 GEN_CHECK_OFF(BUSLOGIC, VBoxSCSI);
1672 GEN_CHECK_OFF(BUSLOGIC, aDeviceStates);
1673 GEN_CHECK_OFF(BUSLOGIC, aDeviceStates[BUSLOGIC_MAX_DEVICES-1]);
1674 GEN_CHECK_OFF(BUSLOGIC, IBase);
1675 GEN_CHECK_OFF(BUSLOGIC, ILeds);
1676 GEN_CHECK_OFF(BUSLOGIC, pLedsConnector);
1677 GEN_CHECK_OFF(BUSLOGIC, fSignalIdle);
1678 GEN_CHECK_OFF(BUSLOGIC, fRedo);
1679 GEN_CHECK_OFF(BUSLOGIC, pTasksRedoHead);
1680#endif /* VBOX_WITH_BUSLOGIC */
1681
1682#ifdef VBOX_WITH_LSILOGIC
1683 GEN_CHECK_SIZE(LSILOGICSCSI);
1684 GEN_CHECK_OFF(LSILOGICSCSI, PciDev);
1685 GEN_CHECK_OFF(LSILOGICSCSI, pDevInsR3);
1686 GEN_CHECK_OFF(LSILOGICSCSI, pDevInsR0);
1687 GEN_CHECK_OFF(LSILOGICSCSI, pDevInsRC);
1688 GEN_CHECK_OFF(LSILOGICSCSI, fGCEnabled);
1689 GEN_CHECK_OFF(LSILOGICSCSI, fR0Enabled);
1690 GEN_CHECK_OFF(LSILOGICSCSI, enmState);
1691 GEN_CHECK_OFF(LSILOGICSCSI, enmWhoInit);
1692 GEN_CHECK_OFF(LSILOGICSCSI, fDoorbellInProgress);
1693 GEN_CHECK_OFF(LSILOGICSCSI, fDiagnosticEnabled);
1694 GEN_CHECK_OFF(LSILOGICSCSI, fNotificationSend);
1695 GEN_CHECK_OFF(LSILOGICSCSI, fEventNotificationEnabled);
1696 GEN_CHECK_OFF(LSILOGICSCSI, pNotificationQueueR3);
1697 GEN_CHECK_OFF(LSILOGICSCSI, pNotificationQueueR0);
1698 GEN_CHECK_OFF(LSILOGICSCSI, pNotificationQueueRC);
1699 GEN_CHECK_OFF(LSILOGICSCSI, cDeviceStates);
1700 GEN_CHECK_OFF(LSILOGICSCSI, paDeviceStates);
1701 GEN_CHECK_OFF(LSILOGICSCSI, GCPhysMMIOBase);
1702 GEN_CHECK_OFF(LSILOGICSCSI, IOPortBase);
1703 GEN_CHECK_OFF(LSILOGICSCSI, uInterruptMask);
1704 GEN_CHECK_OFF(LSILOGICSCSI, uInterruptStatus);
1705 GEN_CHECK_OFF(LSILOGICSCSI, aMessage);
1706 GEN_CHECK_OFF(LSILOGICSCSI, aMessage[sizeof(MptConfigurationRequest)-1]);
1707 GEN_CHECK_OFF(LSILOGICSCSI, iMessage);
1708 GEN_CHECK_OFF(LSILOGICSCSI, cMessage);
1709 GEN_CHECK_OFF(LSILOGICSCSI, ReplyBuffer);
1710 GEN_CHECK_OFF(LSILOGICSCSI, uNextReplyEntryRead);
1711 GEN_CHECK_OFF(LSILOGICSCSI, cReplySize);
1712 GEN_CHECK_OFF(LSILOGICSCSI, u16IOCFaultCode);
1713 GEN_CHECK_OFF(LSILOGICSCSI, u32HostMFAHighAddr);
1714 GEN_CHECK_OFF(LSILOGICSCSI, u32SenseBufferHighAddr);
1715 GEN_CHECK_OFF(LSILOGICSCSI, cMaxDevices);
1716 GEN_CHECK_OFF(LSILOGICSCSI, cMaxBuses);
1717 GEN_CHECK_OFF(LSILOGICSCSI, cbReplyFrame);
1718 GEN_CHECK_OFF(LSILOGICSCSI, iDiagnosticAccess);
1719 GEN_CHECK_OFF(LSILOGICSCSI, cReplyQueueEntries);
1720 GEN_CHECK_OFF(LSILOGICSCSI, cRequestQueueEntries);
1721 GEN_CHECK_OFF(LSILOGICSCSI, ReplyPostQueueCritSect);
1722 GEN_CHECK_OFF(LSILOGICSCSI, ReplyFreeQueueCritSect);
1723 GEN_CHECK_OFF(LSILOGICSCSI, pReplyFreeQueueBaseR3);
1724 GEN_CHECK_OFF(LSILOGICSCSI, pReplyPostQueueBaseR3);
1725 GEN_CHECK_OFF(LSILOGICSCSI, pRequestQueueBaseR3);
1726 GEN_CHECK_OFF(LSILOGICSCSI, pReplyFreeQueueBaseR0);
1727 GEN_CHECK_OFF(LSILOGICSCSI, pReplyPostQueueBaseR0);
1728 GEN_CHECK_OFF(LSILOGICSCSI, pRequestQueueBaseR0);
1729 GEN_CHECK_OFF(LSILOGICSCSI, pReplyFreeQueueBaseRC);
1730 GEN_CHECK_OFF(LSILOGICSCSI, pReplyPostQueueBaseRC);
1731 GEN_CHECK_OFF(LSILOGICSCSI, pRequestQueueBaseRC);
1732 GEN_CHECK_OFF(LSILOGICSCSI, uReplyFreeQueueNextEntryFreeWrite);
1733 GEN_CHECK_OFF(LSILOGICSCSI, uReplyFreeQueueNextAddressRead);
1734 GEN_CHECK_OFF(LSILOGICSCSI, uReplyPostQueueNextEntryFreeWrite);
1735 GEN_CHECK_OFF(LSILOGICSCSI, uReplyPostQueueNextAddressRead);
1736 GEN_CHECK_OFF(LSILOGICSCSI, uRequestQueueNextEntryFreeWrite);
1737 GEN_CHECK_OFF(LSILOGICSCSI, uRequestQueueNextAddressRead);
1738 GEN_CHECK_OFF(LSILOGICSCSI, u16NextHandle);
1739 GEN_CHECK_OFF(LSILOGICSCSI, enmCtrlType);
1740 GEN_CHECK_OFF(LSILOGICSCSI, VBoxSCSI);
1741 GEN_CHECK_OFF(LSILOGICSCSI, hTaskCache);
1742 GEN_CHECK_OFF(LSILOGICSCSI, IBase);
1743 GEN_CHECK_OFF(LSILOGICSCSI, ILeds);
1744 GEN_CHECK_OFF(LSILOGICSCSI, pLedsConnector);
1745 GEN_CHECK_OFF(LSILOGICSCSI, pConfigurationPages);
1746 GEN_CHECK_OFF(LSILOGICSCSI, fSignalIdle);
1747 GEN_CHECK_OFF(LSILOGICSCSI, fRedo);
1748 GEN_CHECK_OFF(LSILOGICSCSI, pTasksRedoHead);
1749#endif /* VBOX_WITH_LSILOGIC */
1750
1751 GEN_CHECK_SIZE(HpetState);
1752 GEN_CHECK_OFF(HpetState, pDevInsR3);
1753 GEN_CHECK_OFF(HpetState, pDevInsR0);
1754 GEN_CHECK_OFF(HpetState, pDevInsRC);
1755 GEN_CHECK_OFF(HpetState, u64HpetOffset);
1756 GEN_CHECK_OFF(HpetState, u32Capabilities);
1757 GEN_CHECK_OFF(HpetState, u32Period);
1758 GEN_CHECK_OFF(HpetState, u64HpetConfig);
1759 GEN_CHECK_OFF(HpetState, u64Isr);
1760 GEN_CHECK_OFF(HpetState, u64HpetCounter);
1761 GEN_CHECK_OFF(HpetState, csLock);
1762 GEN_CHECK_OFF(HpetState, fIch9);
1763
1764 GEN_CHECK_SIZE(HpetTimer);
1765 GEN_CHECK_OFF(HpetTimer, pTimerR3);
1766 GEN_CHECK_OFF(HpetTimer, pHpetR3);
1767 GEN_CHECK_OFF(HpetTimer, pTimerR0);
1768 GEN_CHECK_OFF(HpetTimer, pHpetR0);
1769 GEN_CHECK_OFF(HpetTimer, pTimerRC);
1770 GEN_CHECK_OFF(HpetTimer, pHpetRC);
1771 GEN_CHECK_OFF(HpetTimer, idxTimer);
1772 GEN_CHECK_OFF(HpetTimer, u64Config);
1773 GEN_CHECK_OFF(HpetTimer, u64Cmp);
1774 GEN_CHECK_OFF(HpetTimer, u64Fsb);
1775 GEN_CHECK_OFF(HpetTimer, u64Period);
1776 GEN_CHECK_OFF(HpetTimer, u8Wrap);
1777
1778 return (0);
1779}
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette