VirtualBox

source: vbox/trunk/src/VBox/Devices/testcase/tstDeviceStructSizeGC.cpp@ 15518

Last change on this file since 15518 was 15517, checked in by vboxsync, 16 years ago

LsiLogic: Fix bug introduced when starting to implement support for the BIOS and make Vista go further (Configuration request can be passed through the system doorbell), fails now in DrvSCSI due to some unimplemented commands

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 56.3 KB
Line 
1/* $Id: tstDeviceStructSizeGC.cpp 15517 2008-12-15 16:11:49Z vboxsync $ */
2/** @file
3 * tstDeviceStructSizeGC - Generate structure member and size checks from the GC perspective.
4 *
5 * This is built using the VBOXGC template but linked into a host
6 * ring-3 executable, rather hacky.
7 */
8
9/*
10 * Copyright (C) 2006-2008 Sun Microsystems, Inc.
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 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
21 * Clara, CA 95054 USA or visit http://www.sun.com if you need
22 * additional information or have any questions.
23 */
24
25
26/*
27 * Sanity checks.
28 */
29#ifndef IN_RC
30# error Incorrect template!
31#endif
32#if defined(IN_RING3) || defined(IN_RING0)
33# error Incorrect template!
34#endif
35
36
37/*******************************************************************************
38* Header Files *
39*******************************************************************************/
40#define VBOX_DEVICE_STRUCT_TESTCASE
41#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"
61#ifdef VBOX_WITH_USB
62# 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 "../Parallel/DevParallel.cpp"
70#undef LOG_GROUP
71#include "../Serial/DevSerial.cpp"
72#ifdef VBOX_WITH_AHCI
73# undef LOG_GROUP
74# include "../Storage/DevAHCI.cpp"
75#endif
76#ifdef VBOX_WITH_E1000
77# undef LOG_GROUP
78# include "../Network/DevE1000.cpp"
79#endif
80#ifdef VBOX_WITH_BUSLOGIC
81# undef LOG_GROUP
82# include "../Storage/DevBusLogic.cpp"
83#endif
84#ifdef VBOX_WITH_LSILOGIC
85# undef LOG_GROUP
86# include "../Storage/DevLsiLogicSCSI.cpp"
87#endif
88
89/* we don't use iprt here because we're pretending to be in GC! */
90#include <stdio.h>
91
92#define GEN_CHECK_SIZE(s) printf(" CHECK_SIZE(%s, %d);\n", #s, (int)sizeof(s))
93#define GEN_CHECK_OFF(s, m) printf(" CHECK_OFF(%s, %d, %s);\n", #s, (int)RT_OFFSETOF(s, m), #m)
94#define GEN_CHECK_PADDING(s, m) printf(" CHECK_PADDING(%s, %s);\n", #s, #m)
95
96int main()
97{
98 /* misc */
99 GEN_CHECK_SIZE(PDMDEVINS);
100 GEN_CHECK_OFF(PDMDEVINS, Internal);
101 GEN_CHECK_OFF(PDMDEVINS, pDevReg);
102 GEN_CHECK_OFF(PDMDEVINS, pCfgHandle);
103 GEN_CHECK_OFF(PDMDEVINS, iInstance);
104 GEN_CHECK_OFF(PDMDEVINS, IBase);
105 GEN_CHECK_OFF(PDMDEVINS, pDevHlpR3);
106 GEN_CHECK_OFF(PDMDEVINS, pDevHlpR0);
107 GEN_CHECK_OFF(PDMDEVINS, pDevHlpRC);
108 GEN_CHECK_OFF(PDMDEVINS, pvInstanceDataR3);
109 GEN_CHECK_OFF(PDMDEVINS, pvInstanceDataR0);
110 GEN_CHECK_OFF(PDMDEVINS, pvInstanceDataRC);
111 GEN_CHECK_OFF(PDMDEVINS, achInstanceData);
112
113 /* DevPCI.cpp */
114 GEN_CHECK_SIZE(PCIDEVICE);
115 GEN_CHECK_SIZE(PCIDEVICEINT);
116 GEN_CHECK_SIZE(PCIIOREGION);
117 GEN_CHECK_OFF(PCIDEVICE, config);
118 GEN_CHECK_OFF(PCIDEVICE, devfn);
119 GEN_CHECK_OFF(PCIDEVICE, name);
120 GEN_CHECK_OFF(PCIDEVICE, pDevIns);
121 GEN_CHECK_OFF(PCIDEVICE, Int);
122 GEN_CHECK_OFF(PCIDEVICE, Int.s.aIORegions);
123 GEN_CHECK_OFF(PCIDEVICE, Int.s.aIORegions[1]);
124 GEN_CHECK_OFF(PCIDEVICE, Int.s.aIORegions[PCI_NUM_REGIONS - 1]);
125 GEN_CHECK_OFF(PCIDEVICE, Int.s.aIORegions[0].addr);
126 GEN_CHECK_OFF(PCIDEVICE, Int.s.aIORegions[0].size);
127 GEN_CHECK_OFF(PCIDEVICE, Int.s.aIORegions[0].type);
128 GEN_CHECK_OFF(PCIDEVICE, Int.s.aIORegions[0].padding);
129 GEN_CHECK_OFF(PCIDEVICE, Int.s.pBusR3);
130 GEN_CHECK_OFF(PCIDEVICE, Int.s.pBusR0);
131 GEN_CHECK_OFF(PCIDEVICE, Int.s.pBusRC);
132 GEN_CHECK_OFF(PCIDEVICE, Int.s.pfnConfigRead);
133 GEN_CHECK_OFF(PCIDEVICE, Int.s.pfnConfigWrite);
134 GEN_CHECK_OFF(PCIDEVICE, Int.s.fRequestedDevFn);
135 GEN_CHECK_OFF(PCIDEVICE, Int.s.fPciToPciBridge);
136 GEN_CHECK_OFF(PCIDEVICE, Int.s.uIrqPinState);
137 GEN_CHECK_OFF(PCIDEVICE, Int.s.pfnBridgeConfigRead);
138 GEN_CHECK_OFF(PCIDEVICE, Int.s.pfnBridgeConfigWrite);
139 GEN_CHECK_PADDING(PCIDEVICE, Int);
140 GEN_CHECK_SIZE(PIIX3State);
141 GEN_CHECK_SIZE(PCIBUS);
142 GEN_CHECK_OFF(PCIBUS, iBus);
143 GEN_CHECK_OFF(PCIBUS, iDevSearch);
144 GEN_CHECK_OFF(PCIBUS, cBridges);
145 GEN_CHECK_OFF(PCIBUS, devices);
146 GEN_CHECK_OFF(PCIBUS, devices[1]);
147 GEN_CHECK_OFF(PCIBUS, pDevInsR3);
148 GEN_CHECK_OFF(PCIBUS, pPciHlpR3);
149 GEN_CHECK_OFF(PCIBUS, papBridgesR3);
150 GEN_CHECK_OFF(PCIBUS, pDevInsR0);
151 GEN_CHECK_OFF(PCIBUS, pPciHlpR0);
152 GEN_CHECK_OFF(PCIBUS, pDevInsRC);
153 GEN_CHECK_OFF(PCIBUS, pPciHlpRC);
154 GEN_CHECK_OFF(PCIBUS, PciDev);
155 GEN_CHECK_SIZE(PCIGLOBALS);
156 GEN_CHECK_OFF(PCIGLOBALS, pci_bios_io_addr);
157 GEN_CHECK_OFF(PCIGLOBALS, pci_bios_mem_addr);
158 GEN_CHECK_OFF(PCIGLOBALS, pci_irq_levels);
159 GEN_CHECK_OFF(PCIGLOBALS, pci_irq_levels[1]);
160 GEN_CHECK_OFF(PCIGLOBALS, fUseIoApic);
161 GEN_CHECK_OFF(PCIGLOBALS, pci_apic_irq_levels);
162 GEN_CHECK_OFF(PCIGLOBALS, pci_apic_irq_levels[1]);
163 GEN_CHECK_OFF(PCIGLOBALS, acpi_irq_level);
164 GEN_CHECK_OFF(PCIGLOBALS, acpi_irq);
165 GEN_CHECK_OFF(PCIGLOBALS, uConfigReg);
166 GEN_CHECK_OFF(PCIGLOBALS, pDevInsR3);
167 GEN_CHECK_OFF(PCIGLOBALS, pDevInsR0);
168 GEN_CHECK_OFF(PCIGLOBALS, pDevInsRC);
169 GEN_CHECK_OFF(PCIGLOBALS, PIIX3State);
170 GEN_CHECK_OFF(PCIGLOBALS, PciBus);
171
172 /* DevVGA.cpp */
173 GEN_CHECK_SIZE(VGASTATE);
174 GEN_CHECK_OFF(VGASTATE, vram_ptrR3);
175 GEN_CHECK_OFF(VGASTATE, vram_size);
176 GEN_CHECK_OFF(VGASTATE, latch);
177 GEN_CHECK_OFF(VGASTATE, sr_index);
178 GEN_CHECK_OFF(VGASTATE, sr);
179 GEN_CHECK_OFF(VGASTATE, sr[1]);
180 GEN_CHECK_OFF(VGASTATE, gr_index);
181 GEN_CHECK_OFF(VGASTATE, gr);
182 GEN_CHECK_OFF(VGASTATE, gr[1]);
183 GEN_CHECK_OFF(VGASTATE, ar_index);
184 GEN_CHECK_OFF(VGASTATE, ar);
185 GEN_CHECK_OFF(VGASTATE, ar[1]);
186 GEN_CHECK_OFF(VGASTATE, ar_flip_flop);
187 GEN_CHECK_OFF(VGASTATE, cr_index);
188 GEN_CHECK_OFF(VGASTATE, cr);
189 GEN_CHECK_OFF(VGASTATE, cr[1]);
190 GEN_CHECK_OFF(VGASTATE, msr);
191 GEN_CHECK_OFF(VGASTATE, msr);
192 GEN_CHECK_OFF(VGASTATE, fcr);
193 GEN_CHECK_OFF(VGASTATE, st00);
194 GEN_CHECK_OFF(VGASTATE, st01);
195 GEN_CHECK_OFF(VGASTATE, dac_state);
196 GEN_CHECK_OFF(VGASTATE, dac_sub_index);
197 GEN_CHECK_OFF(VGASTATE, dac_read_index);
198 GEN_CHECK_OFF(VGASTATE, dac_write_index);
199 GEN_CHECK_OFF(VGASTATE, dac_cache);
200 GEN_CHECK_OFF(VGASTATE, dac_cache[1]);
201 GEN_CHECK_OFF(VGASTATE, palette);
202 GEN_CHECK_OFF(VGASTATE, palette[1]);
203 GEN_CHECK_OFF(VGASTATE, bank_offset);
204 GEN_CHECK_OFF(VGASTATE, get_bpp);
205 GEN_CHECK_OFF(VGASTATE, get_offsets);
206 GEN_CHECK_OFF(VGASTATE, get_resolution);
207#ifdef CONFIG_BOCHS_VBE
208 GEN_CHECK_OFF(VGASTATE, vbe_index);
209 GEN_CHECK_OFF(VGASTATE, vbe_regs);
210 GEN_CHECK_OFF(VGASTATE, vbe_regs[1]);
211 GEN_CHECK_OFF(VGASTATE, vbe_regs[VBE_DISPI_INDEX_NB - 1]);
212 GEN_CHECK_OFF(VGASTATE, vbe_start_addr);
213 GEN_CHECK_OFF(VGASTATE, vbe_line_offset);
214 GEN_CHECK_OFF(VGASTATE, vbe_bank_max);
215#endif
216 GEN_CHECK_OFF(VGASTATE, font_offsets);
217 GEN_CHECK_OFF(VGASTATE, font_offsets[1]);
218 GEN_CHECK_OFF(VGASTATE, graphic_mode);
219 GEN_CHECK_OFF(VGASTATE, shift_control);
220 GEN_CHECK_OFF(VGASTATE, double_scan);
221 GEN_CHECK_OFF(VGASTATE, line_offset);
222 GEN_CHECK_OFF(VGASTATE, line_compare);
223 GEN_CHECK_OFF(VGASTATE, start_addr);
224 GEN_CHECK_OFF(VGASTATE, plane_updated);
225 GEN_CHECK_OFF(VGASTATE, last_cw);
226 GEN_CHECK_OFF(VGASTATE, last_ch);
227 GEN_CHECK_OFF(VGASTATE, last_width);
228 GEN_CHECK_OFF(VGASTATE, last_height);
229 GEN_CHECK_OFF(VGASTATE, last_scr_width);
230 GEN_CHECK_OFF(VGASTATE, last_scr_height);
231 GEN_CHECK_OFF(VGASTATE, last_bpp);
232 GEN_CHECK_OFF(VGASTATE, cursor_start);
233 GEN_CHECK_OFF(VGASTATE, cursor_end);
234 GEN_CHECK_OFF(VGASTATE, cursor_offset);
235 GEN_CHECK_OFF(VGASTATE, rgb_to_pixel);
236 GEN_CHECK_OFF(VGASTATE, invalidated_y_table);
237 GEN_CHECK_OFF(VGASTATE, invalidated_y_table[1]);
238 GEN_CHECK_OFF(VGASTATE, invalidated_y_table[(VGA_MAX_HEIGHT / 32) - 1]);
239 GEN_CHECK_OFF(VGASTATE, cursor_invalidate);
240 GEN_CHECK_OFF(VGASTATE, cursor_draw_line);
241 GEN_CHECK_OFF(VGASTATE, last_palette);
242 GEN_CHECK_OFF(VGASTATE, last_palette[1]);
243 GEN_CHECK_OFF(VGASTATE, last_ch_attr);
244 GEN_CHECK_OFF(VGASTATE, last_ch_attr[CH_ATTR_SIZE - 1]);
245 GEN_CHECK_OFF(VGASTATE, u32Marker);
246 GEN_CHECK_OFF(VGASTATE, GCPhysVRAM);
247 GEN_CHECK_OFF(VGASTATE, vram_ptrR0);
248 GEN_CHECK_OFF(VGASTATE, vram_ptrRC);
249 GEN_CHECK_OFF(VGASTATE, fLFBUpdated);
250 GEN_CHECK_OFF(VGASTATE, fGCEnabled);
251 GEN_CHECK_OFF(VGASTATE, fR0Enabled);
252 GEN_CHECK_OFF(VGASTATE, fHasDirtyBits);
253 GEN_CHECK_OFF(VGASTATE, fRemappedVGA);
254 GEN_CHECK_OFF(VGASTATE, fRenderVRAM);
255 GEN_CHECK_OFF(VGASTATE, RCPtrLFBHandler);
256 GEN_CHECK_OFF(VGASTATE, au32DirtyBitmap);
257 GEN_CHECK_OFF(VGASTATE, au32DirtyBitmap[1]);
258 GEN_CHECK_OFF(VGASTATE, au32DirtyBitmap[(VGA_VRAM_MAX / PAGE_SIZE / 32) - 1]);
259 GEN_CHECK_OFF(VGASTATE, pDevInsR3);
260 GEN_CHECK_OFF(VGASTATE, pDevInsR0);
261 GEN_CHECK_OFF(VGASTATE, pDevInsRC);
262 GEN_CHECK_OFF(VGASTATE, Base);
263 GEN_CHECK_OFF(VGASTATE, Port);
264 GEN_CHECK_OFF(VGASTATE, pDrvBase);
265 GEN_CHECK_OFF(VGASTATE, pDrv);
266 GEN_CHECK_OFF(VGASTATE, RefreshTimer);
267 GEN_CHECK_OFF(VGASTATE, cMilliesRefreshInterval);
268 GEN_CHECK_OFF(VGASTATE, Dev);
269 GEN_CHECK_OFF(VGASTATE, StatRZMemoryRead);
270 GEN_CHECK_OFF(VGASTATE, StatR3MemoryRead);
271 GEN_CHECK_OFF(VGASTATE, StatRZMemoryWrite);
272 GEN_CHECK_OFF(VGASTATE, StatR3MemoryWrite);
273#ifdef VBE_BYTEWISE_IO
274 GEN_CHECK_OFF(VGASTATE, fReadVBEData);
275 GEN_CHECK_OFF(VGASTATE, fWriteVBEData);
276 GEN_CHECK_OFF(VGASTATE, fReadVBEIndex);
277 GEN_CHECK_OFF(VGASTATE, fWriteVBEIndex);
278 GEN_CHECK_OFF(VGASTATE, cbWriteVBEData);
279 GEN_CHECK_OFF(VGASTATE, cbWriteVBEIndex);
280#ifdef VBE_NEW_DYN_LIST
281 GEN_CHECK_OFF(VGASTATE, cbWriteVBEExtraAddress);
282#endif
283#endif
284#ifdef VBE_NEW_DYN_LIST
285 GEN_CHECK_OFF(VGASTATE, cbVBEExtraData);
286 GEN_CHECK_OFF(VGASTATE, pu8VBEExtraData);
287 GEN_CHECK_OFF(VGASTATE, u16VBEExtraAddress);
288#endif
289
290 /* Input/pckbd.c */
291 GEN_CHECK_SIZE(KBDQueue);
292 GEN_CHECK_OFF(KBDQueue, data);
293 GEN_CHECK_OFF(KBDQueue, rptr);
294 GEN_CHECK_OFF(KBDQueue, wptr);
295 GEN_CHECK_OFF(KBDQueue, count);
296 GEN_CHECK_SIZE(MouseCmdQueue);
297 GEN_CHECK_OFF(MouseCmdQueue, data);
298 GEN_CHECK_OFF(MouseCmdQueue, rptr);
299 GEN_CHECK_OFF(MouseCmdQueue, wptr);
300 GEN_CHECK_OFF(MouseCmdQueue, count);
301 GEN_CHECK_SIZE(MouseEventQueue);
302 GEN_CHECK_OFF(MouseEventQueue, data);
303 GEN_CHECK_OFF(MouseEventQueue, rptr);
304 GEN_CHECK_OFF(MouseEventQueue, wptr);
305 GEN_CHECK_OFF(MouseEventQueue, count);
306 GEN_CHECK_SIZE(KBDState);
307 GEN_CHECK_OFF(KBDState, queue);
308 GEN_CHECK_OFF(KBDState, mouse_command_queue);
309 GEN_CHECK_OFF(KBDState, mouse_event_queue);
310 GEN_CHECK_OFF(KBDState, write_cmd);
311 GEN_CHECK_OFF(KBDState, status);
312 GEN_CHECK_OFF(KBDState, mode);
313 GEN_CHECK_OFF(KBDState, kbd_write_cmd);
314 GEN_CHECK_OFF(KBDState, scan_enabled);
315 GEN_CHECK_OFF(KBDState, mouse_write_cmd);
316 GEN_CHECK_OFF(KBDState, mouse_status);
317 GEN_CHECK_OFF(KBDState, mouse_resolution);
318 GEN_CHECK_OFF(KBDState, mouse_sample_rate);
319 GEN_CHECK_OFF(KBDState, mouse_wrap);
320 GEN_CHECK_OFF(KBDState, mouse_type);
321 GEN_CHECK_OFF(KBDState, mouse_detect_state);
322 GEN_CHECK_OFF(KBDState, mouse_dx);
323 GEN_CHECK_OFF(KBDState, mouse_dy);
324 GEN_CHECK_OFF(KBDState, mouse_dz);
325 GEN_CHECK_OFF(KBDState, mouse_buttons);
326 GEN_CHECK_OFF(KBDState, pDevInsR3);
327 GEN_CHECK_OFF(KBDState, pDevInsR0);
328 GEN_CHECK_OFF(KBDState, pDevInsRC);
329 GEN_CHECK_OFF(KBDState, Keyboard.Base);
330 GEN_CHECK_OFF(KBDState, Keyboard.Port);
331 GEN_CHECK_OFF(KBDState, Keyboard.pDrvBase);
332 GEN_CHECK_OFF(KBDState, Keyboard.pDrv);
333 GEN_CHECK_OFF(KBDState, Mouse.Base);
334 GEN_CHECK_OFF(KBDState, Mouse.Port);
335 GEN_CHECK_OFF(KBDState, Mouse.pDrvBase);
336 GEN_CHECK_OFF(KBDState, Mouse.pDrv);
337
338 /* Network/DevPCNet.cpp */
339 GEN_CHECK_SIZE(PCNetState);
340 GEN_CHECK_OFF(PCNetState, PciDev);
341#ifndef PCNET_NO_POLLING
342 GEN_CHECK_OFF(PCNetState, pTimerPollR3);
343 GEN_CHECK_OFF(PCNetState, pTimerPollR0);
344 GEN_CHECK_OFF(PCNetState, pTimerPollRC);
345#endif
346 GEN_CHECK_OFF(PCNetState, pTimerSoftIntR3);
347 GEN_CHECK_OFF(PCNetState, pTimerSoftIntR0);
348 GEN_CHECK_OFF(PCNetState, pTimerSoftIntRC);
349 GEN_CHECK_OFF(PCNetState, u32RAP);
350 GEN_CHECK_OFF(PCNetState, iISR);
351 GEN_CHECK_OFF(PCNetState, u32Lnkst);
352 GEN_CHECK_OFF(PCNetState, GCRDRA);
353 GEN_CHECK_OFF(PCNetState, GCTDRA);
354 GEN_CHECK_OFF(PCNetState, aPROM);
355 GEN_CHECK_OFF(PCNetState, aPROM[1]);
356 GEN_CHECK_OFF(PCNetState, aCSR);
357 GEN_CHECK_OFF(PCNetState, aCSR[1]);
358 GEN_CHECK_OFF(PCNetState, aCSR[CSR_MAX_REG - 1]);
359 GEN_CHECK_OFF(PCNetState, aBCR);
360 GEN_CHECK_OFF(PCNetState, aBCR[1]);
361 GEN_CHECK_OFF(PCNetState, aBCR[BCR_MAX_RAP - 1]);
362 GEN_CHECK_OFF(PCNetState, aMII);
363 GEN_CHECK_OFF(PCNetState, aMII[1]);
364 GEN_CHECK_OFF(PCNetState, aMII[MII_MAX_REG - 1]);
365 GEN_CHECK_OFF(PCNetState, u16CSR0LastSeenByGuest);
366 GEN_CHECK_OFF(PCNetState, u64LastPoll);
367 GEN_CHECK_OFF(PCNetState, abSendBuf);
368 GEN_CHECK_OFF(PCNetState, abRecvBuf);
369 GEN_CHECK_OFF(PCNetState, iLog2DescSize);
370 GEN_CHECK_OFF(PCNetState, GCUpperPhys);
371 GEN_CHECK_OFF(PCNetState, pXmitQueueR3);
372 GEN_CHECK_OFF(PCNetState, pXmitQueueR0);
373 GEN_CHECK_OFF(PCNetState, pXmitQueueRC);
374 GEN_CHECK_OFF(PCNetState, pCanRxQueueR3);
375 GEN_CHECK_OFF(PCNetState, pCanRxQueueR0);
376 GEN_CHECK_OFF(PCNetState, pCanRxQueueRC);
377 GEN_CHECK_OFF(PCNetState, pTimerRestore);
378 GEN_CHECK_OFF(PCNetState, pDevInsR3);
379 GEN_CHECK_OFF(PCNetState, pDevInsR0);
380 GEN_CHECK_OFF(PCNetState, pDevInsRC);
381 GEN_CHECK_OFF(PCNetState, pDrv);
382 GEN_CHECK_OFF(PCNetState, pDrvBase);
383 GEN_CHECK_OFF(PCNetState, IBase);
384 GEN_CHECK_OFF(PCNetState, INetworkPort);
385 GEN_CHECK_OFF(PCNetState, INetworkConfig);
386 GEN_CHECK_OFF(PCNetState, MMIOBase);
387 GEN_CHECK_OFF(PCNetState, IOPortBase);
388 GEN_CHECK_OFF(PCNetState, fLinkUp);
389 GEN_CHECK_OFF(PCNetState, fLinkTempDown);
390 GEN_CHECK_OFF(PCNetState, cLinkDownReported);
391 GEN_CHECK_OFF(PCNetState, MacConfigured);
392 GEN_CHECK_OFF(PCNetState, Led);
393 GEN_CHECK_OFF(PCNetState, ILeds);
394 GEN_CHECK_OFF(PCNetState, pLedsConnector);
395 GEN_CHECK_OFF(PCNetState, hSendEventSem);
396 GEN_CHECK_OFF(PCNetState, pSendThread);
397 GEN_CHECK_OFF(PCNetState, CritSect);
398 GEN_CHECK_OFF(PCNetState, cPendingSends);
399#ifdef PCNET_NO_POLLING
400 GEN_CHECK_OFF(PCNetState, TDRAPhysOld);
401 GEN_CHECK_OFF(PCNetState, cbTDRAOld);
402 GEN_CHECK_OFF(PCNetState, RDRAPhysOld);
403 GEN_CHECK_OFF(PCNetState, cbRDRAOld);
404 GEN_CHECK_OFF(PCNetState, pfnEMInterpretInstructionGC
405 GEN_CHECK_OFF(PCNetState, pfnEMInterpretInstructionR0
406#endif
407 GEN_CHECK_OFF(PCNetState, pSharedMMIOR3);
408 GEN_CHECK_OFF(PCNetState, pSharedMMIOR0);
409 GEN_CHECK_OFF(PCNetState, pSharedMMIORC);
410 GEN_CHECK_OFF(PCNetState, fPrivIfEnabled);
411 GEN_CHECK_OFF(PCNetState, fGCEnabled);
412 GEN_CHECK_OFF(PCNetState, fR0Enabled);
413 GEN_CHECK_OFF(PCNetState, fAm79C973);
414 GEN_CHECK_OFF(PCNetState, u32LinkSpeed);
415#ifdef VBOX_WITH_STATISTICS
416 GEN_CHECK_OFF(PCNetState, StatMMIOReadGC);
417 GEN_CHECK_OFF(PCNetState, StatMIIReads);
418# ifdef PCNET_NO_POLLING
419 GEN_CHECK_OFF(PCNetState, StatRCVRingWrite);
420 GEN_CHECK_OFF(PCNetState, StatRingWriteOutsideRangeGC);
421# endif
422#endif
423
424 /* PC/DevACPI.cpp */
425 GEN_CHECK_SIZE(ACPIState);
426 GEN_CHECK_OFF(ACPIState, dev);
427 GEN_CHECK_OFF(ACPIState, pm1a_en);
428 GEN_CHECK_OFF(ACPIState, pm1a_sts);
429 GEN_CHECK_OFF(ACPIState, pm1a_ctl);
430 GEN_CHECK_OFF(ACPIState, pm_timer_initial);
431 GEN_CHECK_OFF(ACPIState, tsR3);
432 GEN_CHECK_OFF(ACPIState, tsR0);
433 GEN_CHECK_OFF(ACPIState, tsRC);
434 GEN_CHECK_OFF(ACPIState, gpe0_en);
435 GEN_CHECK_OFF(ACPIState, gpe0_sts);
436 GEN_CHECK_OFF(ACPIState, uBatteryIndex);
437 GEN_CHECK_OFF(ACPIState, au8BatteryInfo);
438 GEN_CHECK_OFF(ACPIState, uSystemInfoIndex);
439 GEN_CHECK_OFF(ACPIState, u64RamSize);
440 GEN_CHECK_OFF(ACPIState, uSleepState);
441 GEN_CHECK_OFF(ACPIState, au8RSDPPage);
442 GEN_CHECK_OFF(ACPIState, u8IndexShift);
443 GEN_CHECK_OFF(ACPIState, u8UseIOApic);
444 GEN_CHECK_OFF(ACPIState, IBase);
445 GEN_CHECK_OFF(ACPIState, IACPIPort);
446 GEN_CHECK_OFF(ACPIState, pDevIns);
447 GEN_CHECK_OFF(ACPIState, pDrvBase);
448 GEN_CHECK_OFF(ACPIState, pDrv);
449
450 /* PC/DevPIC.cpp */
451 GEN_CHECK_SIZE(PicState);
452 GEN_CHECK_OFF(PicState, last_irr);
453 GEN_CHECK_OFF(PicState, irr);
454 GEN_CHECK_OFF(PicState, imr);
455 GEN_CHECK_OFF(PicState, isr);
456 GEN_CHECK_OFF(PicState, priority_add);
457 GEN_CHECK_OFF(PicState, irq_base);
458 GEN_CHECK_OFF(PicState, read_reg_select);
459 GEN_CHECK_OFF(PicState, poll);
460 GEN_CHECK_OFF(PicState, special_mask);
461 GEN_CHECK_OFF(PicState, init_state);
462 GEN_CHECK_OFF(PicState, auto_eoi);
463 GEN_CHECK_OFF(PicState, rotate_on_auto_eoi);
464 GEN_CHECK_OFF(PicState, special_fully_nested_mode);
465 GEN_CHECK_OFF(PicState, init4);
466 GEN_CHECK_OFF(PicState, elcr);
467 GEN_CHECK_OFF(PicState, elcr_mask);
468 GEN_CHECK_OFF(PicState, pDevInsR3);
469 GEN_CHECK_OFF(PicState, pDevInsR0);
470 GEN_CHECK_OFF(PicState, pDevInsRC);
471
472 GEN_CHECK_SIZE(DEVPIC);
473 GEN_CHECK_OFF(DEVPIC, aPics);
474 GEN_CHECK_OFF(DEVPIC, aPics[1]);
475 GEN_CHECK_OFF(DEVPIC, pDevInsR3);
476 GEN_CHECK_OFF(DEVPIC, pDevInsR0);
477 GEN_CHECK_OFF(DEVPIC, pDevInsRC);
478 GEN_CHECK_OFF(DEVPIC, pPicHlpR3);
479 GEN_CHECK_OFF(DEVPIC, pPicHlpR0);
480 GEN_CHECK_OFF(DEVPIC, pPicHlpRC);
481#ifdef VBOX_WITH_STATISTICS
482 GEN_CHECK_OFF(DEVPIC, StatSetIrqGC);
483 GEN_CHECK_OFF(DEVPIC, StatClearedActiveSlaveIRQ);
484#endif
485
486 /* PC/DevPit-i8254.cpp */
487 GEN_CHECK_SIZE(PITChannelState);
488 GEN_CHECK_OFF(PITChannelState, pPitR3);
489 GEN_CHECK_OFF(PITChannelState, pTimerR3);
490 GEN_CHECK_OFF(PITChannelState, pPitR0);
491 GEN_CHECK_OFF(PITChannelState, pTimerR0);
492 GEN_CHECK_OFF(PITChannelState, pPitRC);
493 GEN_CHECK_OFF(PITChannelState, pTimerRC);
494 GEN_CHECK_OFF(PITChannelState, u64ReloadTS);
495 GEN_CHECK_OFF(PITChannelState, u64NextTS);
496 GEN_CHECK_OFF(PITChannelState, count_load_time);
497 GEN_CHECK_OFF(PITChannelState, next_transition_time);
498 GEN_CHECK_OFF(PITChannelState, irq);
499 GEN_CHECK_OFF(PITChannelState, cRelLogEntries);
500 GEN_CHECK_OFF(PITChannelState, count);
501 GEN_CHECK_OFF(PITChannelState, latched_count);
502 GEN_CHECK_OFF(PITChannelState, count_latched);
503 GEN_CHECK_OFF(PITChannelState, status_latched);
504 GEN_CHECK_OFF(PITChannelState, status);
505 GEN_CHECK_OFF(PITChannelState, read_state);
506 GEN_CHECK_OFF(PITChannelState, write_state);
507 GEN_CHECK_OFF(PITChannelState, write_latch);
508 GEN_CHECK_OFF(PITChannelState, rw_mode);
509 GEN_CHECK_OFF(PITChannelState, mode);
510 GEN_CHECK_OFF(PITChannelState, bcd);
511 GEN_CHECK_OFF(PITChannelState, gate);
512 GEN_CHECK_SIZE(PITState);
513 GEN_CHECK_OFF(PITState, channels);
514 GEN_CHECK_OFF(PITState, channels[1]);
515 GEN_CHECK_OFF(PITState, speaker_data_on);
516// GEN_CHECK_OFF(PITState, dummy_refresh_clock);
517 GEN_CHECK_OFF(PITState, pDevIns);
518 GEN_CHECK_OFF(PITState, StatPITIrq);
519 GEN_CHECK_OFF(PITState, StatPITHandler);
520
521 /* PC/DevRTC.cpp */
522 GEN_CHECK_SIZE(RTCState);
523 GEN_CHECK_OFF(RTCState, cmos_data);
524 GEN_CHECK_OFF(RTCState, cmos_data[1]);
525 GEN_CHECK_OFF(RTCState, cmos_index);
526 GEN_CHECK_OFF(RTCState, current_tm);
527 GEN_CHECK_OFF(RTCState, current_tm.tm_sec);
528 GEN_CHECK_OFF(RTCState, current_tm.tm_min);
529 GEN_CHECK_OFF(RTCState, current_tm.tm_hour);
530 GEN_CHECK_OFF(RTCState, current_tm.tm_mday);
531 GEN_CHECK_OFF(RTCState, current_tm.tm_mon);
532 GEN_CHECK_OFF(RTCState, current_tm.tm_year);
533 GEN_CHECK_OFF(RTCState, current_tm.tm_wday);
534 GEN_CHECK_OFF(RTCState, current_tm.tm_yday);
535 GEN_CHECK_OFF(RTCState, irq);
536 GEN_CHECK_OFF(RTCState, pPeriodicTimerR0);
537 GEN_CHECK_OFF(RTCState, pPeriodicTimerR3);
538 GEN_CHECK_OFF(RTCState, pPeriodicTimerRC);
539 GEN_CHECK_OFF(RTCState, next_periodic_time);
540 GEN_CHECK_OFF(RTCState, next_second_time);
541 GEN_CHECK_OFF(RTCState, pSecondTimerR0);
542 GEN_CHECK_OFF(RTCState, pSecondTimerR3);
543 GEN_CHECK_OFF(RTCState, pSecondTimerRC);
544 GEN_CHECK_OFF(RTCState, pSecondTimer2R0);
545 GEN_CHECK_OFF(RTCState, pSecondTimer2R3);
546 GEN_CHECK_OFF(RTCState, pSecondTimer2RC);
547 GEN_CHECK_OFF(RTCState, pDevInsR0);
548 GEN_CHECK_OFF(RTCState, pDevInsR3);
549 GEN_CHECK_OFF(RTCState, pDevInsRC);
550 GEN_CHECK_OFF(RTCState, fUTC);
551 GEN_CHECK_OFF(RTCState, RtcReg);
552 GEN_CHECK_OFF(RTCState, pRtcHlpR3);
553 GEN_CHECK_OFF(RTCState, cRelLogEntries);
554 GEN_CHECK_OFF(RTCState, CurPeriod);
555
556 /* PC/apic.c */
557 GEN_CHECK_SIZE(APICState);
558 GEN_CHECK_OFF(APICState, apicbase);
559 GEN_CHECK_OFF(APICState, id);
560 GEN_CHECK_OFF(APICState, arb_id);
561 GEN_CHECK_OFF(APICState, tpr);
562 GEN_CHECK_OFF(APICState, spurious_vec);
563 GEN_CHECK_OFF(APICState, log_dest);
564 GEN_CHECK_OFF(APICState, dest_mode);
565 GEN_CHECK_OFF(APICState, isr);
566 GEN_CHECK_OFF(APICState, isr[1]);
567 GEN_CHECK_OFF(APICState, tmr);
568 GEN_CHECK_OFF(APICState, tmr[1]);
569 GEN_CHECK_OFF(APICState, irr);
570 GEN_CHECK_OFF(APICState, irr[1]);
571 GEN_CHECK_OFF(APICState, lvt);
572 GEN_CHECK_OFF(APICState, lvt[1]);
573 GEN_CHECK_OFF(APICState, lvt[APIC_LVT_NB - 1]);
574 GEN_CHECK_OFF(APICState, esr);
575 GEN_CHECK_OFF(APICState, icr);
576 GEN_CHECK_OFF(APICState, icr[1]);
577 GEN_CHECK_OFF(APICState, divide_conf);
578 GEN_CHECK_OFF(APICState, count_shift);
579 GEN_CHECK_OFF(APICState, initial_count);
580 GEN_CHECK_OFF(APICState, initial_count_load_time);
581 GEN_CHECK_OFF(APICState, next_time);
582 GEN_CHECK_OFF(APICState, pTimerR3);
583 GEN_CHECK_OFF(APICState, pTimerR0);
584 GEN_CHECK_OFF(APICState, pTimerRC);
585
586 GEN_CHECK_SIZE(APICDeviceInfo);
587 GEN_CHECK_OFF(APICDeviceInfo, pDevInsR3);
588 GEN_CHECK_OFF(APICDeviceInfo, pApicHlpR3);
589 GEN_CHECK_OFF(APICDeviceInfo, pDevInsR0);
590 GEN_CHECK_OFF(APICDeviceInfo, pApicHlpR0);
591 GEN_CHECK_OFF(APICDeviceInfo, pDevInsRC);
592 GEN_CHECK_OFF(APICDeviceInfo, pApicHlpRC);
593 GEN_CHECK_OFF(APICDeviceInfo, ulTPRPatchAttempts);
594#ifdef VBOX_WITH_STATISTICS
595 GEN_CHECK_OFF(APICDeviceInfo, StatMMIOReadGC);
596 GEN_CHECK_OFF(APICDeviceInfo, StatMMIOWriteHC);
597#endif
598
599 GEN_CHECK_SIZE(IOAPICState);
600 GEN_CHECK_OFF(IOAPICState, id);
601 GEN_CHECK_OFF(IOAPICState, ioregsel);
602 GEN_CHECK_OFF(IOAPICState, irr);
603 GEN_CHECK_OFF(IOAPICState, ioredtbl);
604 GEN_CHECK_OFF(IOAPICState, ioredtbl[1]);
605 GEN_CHECK_OFF(IOAPICState, ioredtbl[IOAPIC_NUM_PINS - 1]);
606 GEN_CHECK_OFF(IOAPICState, pDevInsR3);
607 GEN_CHECK_OFF(IOAPICState, pIoApicHlpR3);
608 GEN_CHECK_OFF(IOAPICState, pDevInsR0);
609 GEN_CHECK_OFF(IOAPICState, pIoApicHlpR0);
610 GEN_CHECK_OFF(IOAPICState, pDevInsRC);
611 GEN_CHECK_OFF(IOAPICState, pIoApicHlpRC);
612#ifdef VBOX_WITH_STATISTICS
613 GEN_CHECK_OFF(IOAPICState, StatMMIOReadGC);
614 GEN_CHECK_OFF(IOAPICState, StatSetIrqHC);
615#endif
616
617 /* Storage/DevATA.cpp */
618 GEN_CHECK_SIZE(BMDMAState);
619 GEN_CHECK_OFF(BMDMAState, u8Cmd);
620 GEN_CHECK_OFF(BMDMAState, u8Status);
621 GEN_CHECK_OFF(BMDMAState, pvAddr);
622 GEN_CHECK_SIZE(BMDMADesc);
623 GEN_CHECK_OFF(BMDMADesc, pBuffer);
624 GEN_CHECK_OFF(BMDMADesc, cbBuffer);
625 GEN_CHECK_SIZE(ATADevState);
626 GEN_CHECK_OFF(ATADevState, fLBA48);
627 GEN_CHECK_OFF(ATADevState, fATAPI);
628 GEN_CHECK_OFF(ATADevState, fIrqPending);
629 GEN_CHECK_OFF(ATADevState, cMultSectors);
630 GEN_CHECK_OFF(ATADevState, PCHSGeometry.cCylinders);
631 GEN_CHECK_OFF(ATADevState, PCHSGeometry.cHeads);
632 GEN_CHECK_OFF(ATADevState, PCHSGeometry.cSectors);
633 GEN_CHECK_OFF(ATADevState, cSectorsPerIRQ);
634 GEN_CHECK_OFF(ATADevState, cTotalSectors);
635 GEN_CHECK_OFF(ATADevState, uATARegFeature);
636 GEN_CHECK_OFF(ATADevState, uATARegFeatureHOB);
637 GEN_CHECK_OFF(ATADevState, uATARegError);
638 GEN_CHECK_OFF(ATADevState, uATARegNSector);
639 GEN_CHECK_OFF(ATADevState, uATARegNSectorHOB);
640 GEN_CHECK_OFF(ATADevState, uATARegSector);
641 GEN_CHECK_OFF(ATADevState, uATARegSectorHOB);
642 GEN_CHECK_OFF(ATADevState, uATARegLCyl);
643 GEN_CHECK_OFF(ATADevState, uATARegLCylHOB);
644 GEN_CHECK_OFF(ATADevState, uATARegHCyl);
645 GEN_CHECK_OFF(ATADevState, uATARegHCylHOB);
646 GEN_CHECK_OFF(ATADevState, uATARegSelect);
647 GEN_CHECK_OFF(ATADevState, uATARegStatus);
648 GEN_CHECK_OFF(ATADevState, uATARegCommand);
649 GEN_CHECK_OFF(ATADevState, uATARegDevCtl);
650 GEN_CHECK_OFF(ATADevState, uATATransferMode);
651 GEN_CHECK_OFF(ATADevState, uTxDir);
652 GEN_CHECK_OFF(ATADevState, iBeginTransfer);
653 GEN_CHECK_OFF(ATADevState, iSourceSink);
654 GEN_CHECK_OFF(ATADevState, fDMA);
655 GEN_CHECK_OFF(ATADevState, fATAPITransfer);
656 GEN_CHECK_OFF(ATADevState, cbTotalTransfer);
657 GEN_CHECK_OFF(ATADevState, cbElementaryTransfer);
658 GEN_CHECK_OFF(ATADevState, iIOBufferCur);
659 GEN_CHECK_OFF(ATADevState, iIOBufferEnd);
660 GEN_CHECK_OFF(ATADevState, iIOBufferPIODataStart);
661 GEN_CHECK_OFF(ATADevState, iIOBufferPIODataEnd);
662 GEN_CHECK_OFF(ATADevState, iATAPILBA);
663 GEN_CHECK_OFF(ATADevState, cbATAPISector);
664 GEN_CHECK_OFF(ATADevState, aATAPICmd);
665 GEN_CHECK_OFF(ATADevState, aATAPICmd[ATAPI_PACKET_SIZE - 1]);
666 GEN_CHECK_OFF(ATADevState, abATAPISense);
667 GEN_CHECK_OFF(ATADevState, abATAPISense[ATAPI_SENSE_SIZE - 1]);
668 GEN_CHECK_OFF(ATADevState, cNotifiedMediaChange);
669 GEN_CHECK_OFF(ATADevState, MediaEventStatus);
670 GEN_CHECK_OFF(ATADevState, Led);
671 GEN_CHECK_OFF(ATADevState, cbIOBuffer);
672 GEN_CHECK_OFF(ATADevState, pbIOBufferR3);
673 GEN_CHECK_OFF(ATADevState, pbIOBufferR0);
674 GEN_CHECK_OFF(ATADevState, pbIOBufferRC);
675 GEN_CHECK_OFF(ATADevState, StatATADMA);
676 GEN_CHECK_OFF(ATADevState, StatATAPIO);
677 GEN_CHECK_OFF(ATADevState, StatATAPIDMA);
678 GEN_CHECK_OFF(ATADevState, StatATAPIPIO);
679 GEN_CHECK_OFF(ATADevState, StatReads);
680 GEN_CHECK_OFF(ATADevState, StatBytesRead);
681 GEN_CHECK_OFF(ATADevState, StatWrites);
682 GEN_CHECK_OFF(ATADevState, StatBytesWritten);
683 GEN_CHECK_OFF(ATADevState, StatFlushes);
684 GEN_CHECK_OFF(ATADevState, fATAPIPassthrough);
685 GEN_CHECK_OFF(ATADevState, cErrors);
686 GEN_CHECK_OFF(ATADevState, pDrvBase);
687 GEN_CHECK_OFF(ATADevState, pDrvBlock);
688 GEN_CHECK_OFF(ATADevState, pDrvBlockBios);
689 GEN_CHECK_OFF(ATADevState, pDrvMount);
690 GEN_CHECK_OFF(ATADevState, IBase);
691 GEN_CHECK_OFF(ATADevState, IPort);
692 GEN_CHECK_OFF(ATADevState, IMountNotify);
693 GEN_CHECK_OFF(ATADevState, iLUN);
694 GEN_CHECK_OFF(ATADevState, pDevInsR3);
695 GEN_CHECK_OFF(ATADevState, pDevInsR0);
696 GEN_CHECK_OFF(ATADevState, pDevInsRC);
697 GEN_CHECK_OFF(ATADevState, pControllerR3);
698 GEN_CHECK_OFF(ATADevState, pControllerR0);
699 GEN_CHECK_OFF(ATADevState, pControllerRC);
700 GEN_CHECK_SIZE(ATATransferRequest);
701 GEN_CHECK_OFF(ATATransferRequest, iIf);
702 GEN_CHECK_OFF(ATATransferRequest, iBeginTransfer);
703 GEN_CHECK_OFF(ATATransferRequest, iSourceSink);
704 GEN_CHECK_OFF(ATATransferRequest, cbTotalTransfer);
705 GEN_CHECK_OFF(ATATransferRequest, uTxDir);
706 GEN_CHECK_SIZE(ATAAbortRequest);
707 GEN_CHECK_OFF(ATAAbortRequest, iIf);
708 GEN_CHECK_OFF(ATAAbortRequest, fResetDrive);
709 GEN_CHECK_SIZE(ATARequest);
710 GEN_CHECK_OFF(ATARequest, ReqType);
711 GEN_CHECK_OFF(ATARequest, u);
712 GEN_CHECK_OFF(ATARequest, u.t);
713 GEN_CHECK_OFF(ATARequest, u.a);
714 GEN_CHECK_SIZE(ATACONTROLLER);
715 GEN_CHECK_OFF(ATACONTROLLER, IOPortBase1);
716 GEN_CHECK_OFF(ATACONTROLLER, IOPortBase2);
717 GEN_CHECK_OFF(ATACONTROLLER, irq);
718 GEN_CHECK_OFF(ATACONTROLLER, lock);
719 GEN_CHECK_OFF(ATACONTROLLER, iSelectedIf);
720 GEN_CHECK_OFF(ATACONTROLLER, iAIOIf);
721 GEN_CHECK_OFF(ATACONTROLLER, uAsyncIOState);
722 GEN_CHECK_OFF(ATACONTROLLER, fChainedTransfer);
723 GEN_CHECK_OFF(ATACONTROLLER, fReset);
724 GEN_CHECK_OFF(ATACONTROLLER, fRedo);
725 GEN_CHECK_OFF(ATACONTROLLER, fRedoIdle);
726 GEN_CHECK_OFF(ATACONTROLLER, fRedoDMALastDesc);
727 GEN_CHECK_OFF(ATACONTROLLER, BmDma);
728 GEN_CHECK_OFF(ATACONTROLLER, pFirstDMADesc);
729 GEN_CHECK_OFF(ATACONTROLLER, pLastDMADesc);
730 GEN_CHECK_OFF(ATACONTROLLER, pRedoDMABuffer);
731 GEN_CHECK_OFF(ATACONTROLLER, cbRedoDMABuffer);
732 GEN_CHECK_OFF(ATACONTROLLER, aIfs);
733 GEN_CHECK_OFF(ATACONTROLLER, aIfs[1]);
734 GEN_CHECK_OFF(ATACONTROLLER, pDevInsR3);
735 GEN_CHECK_OFF(ATACONTROLLER, pDevInsR0);
736 GEN_CHECK_OFF(ATACONTROLLER, pDevInsRC);
737 GEN_CHECK_OFF(ATACONTROLLER, fShutdown);
738 GEN_CHECK_OFF(ATACONTROLLER, AsyncIOThread);
739 GEN_CHECK_OFF(ATACONTROLLER, AsyncIOSem);
740 GEN_CHECK_OFF(ATACONTROLLER, aAsyncIORequests[4]);
741 GEN_CHECK_OFF(ATACONTROLLER, AsyncIOReqHead);
742 GEN_CHECK_OFF(ATACONTROLLER, AsyncIOReqTail);
743 GEN_CHECK_OFF(ATACONTROLLER, AsyncIORequestMutex);
744 GEN_CHECK_OFF(ATACONTROLLER, SuspendIOSem);
745 GEN_CHECK_OFF(ATACONTROLLER, DelayIRQMillies);
746 GEN_CHECK_OFF(ATACONTROLLER, StatAsyncOps);
747 GEN_CHECK_OFF(ATACONTROLLER, StatAsyncMinWait);
748 GEN_CHECK_OFF(ATACONTROLLER, StatAsyncMaxWait);
749 GEN_CHECK_OFF(ATACONTROLLER, StatAsyncTimeUS);
750 GEN_CHECK_OFF(ATACONTROLLER, StatAsyncTime);
751 GEN_CHECK_OFF(ATACONTROLLER, StatLockWait);
752 GEN_CHECK_SIZE(PCIATAState);
753 GEN_CHECK_OFF(PCIATAState, dev);
754 GEN_CHECK_OFF(PCIATAState, aCts);
755 GEN_CHECK_OFF(PCIATAState, aCts[1]);
756 GEN_CHECK_OFF(PCIATAState, pDevIns);
757 GEN_CHECK_OFF(PCIATAState, IBase);
758 GEN_CHECK_OFF(PCIATAState, ILeds);
759 GEN_CHECK_OFF(PCIATAState, pLedsConnector);
760 GEN_CHECK_OFF(PCIATAState, fGCEnabled);
761 GEN_CHECK_OFF(PCIATAState, fR0Enabled);
762
763#ifdef VBOX_WITH_USB
764 /* USB/DevOHCI.cpp */
765 GEN_CHECK_SIZE(OHCIHUBPORT);
766 GEN_CHECK_OFF(OHCIHUBPORT, fReg);
767 GEN_CHECK_OFF(OHCIHUBPORT, pDev);
768
769 GEN_CHECK_SIZE(OHCIROOTHUB);
770 GEN_CHECK_OFF(OHCIROOTHUB, pIBase);
771 GEN_CHECK_OFF(OHCIROOTHUB, pIRhConn);
772 GEN_CHECK_OFF(OHCIROOTHUB, pIDev);
773 GEN_CHECK_OFF(OHCIROOTHUB, IBase);
774 GEN_CHECK_OFF(OHCIROOTHUB, IRhPort);
775 GEN_CHECK_OFF(OHCIROOTHUB, status);
776 GEN_CHECK_OFF(OHCIROOTHUB, desc_a);
777 GEN_CHECK_OFF(OHCIROOTHUB, desc_b);
778 GEN_CHECK_OFF(OHCIROOTHUB, aPorts);
779 GEN_CHECK_OFF(OHCIROOTHUB, aPorts[1]);
780 GEN_CHECK_OFF(OHCIROOTHUB, aPorts[OHCI_NDP - 1]);
781 GEN_CHECK_OFF(OHCIROOTHUB, pOhci);
782
783 GEN_CHECK_SIZE(OHCI);
784 GEN_CHECK_OFF(OHCI, PciDev);
785 GEN_CHECK_OFF(OHCI, MMIOBase);
786 GEN_CHECK_OFF(OHCI, pEndOfFrameTimerR3);
787 GEN_CHECK_OFF(OHCI, pEndOfFrameTimerR0);
788 GEN_CHECK_OFF(OHCI, pEndOfFrameTimerRC);
789 GEN_CHECK_OFF(OHCI, pDevInsR3);
790 GEN_CHECK_OFF(OHCI, pDevInsR0);
791 GEN_CHECK_OFF(OHCI, pDevInsRC);
792 GEN_CHECK_OFF(OHCI, SofTime);
793 //GEN_CHECK_OFF(OHCI, dqic:3);
794 //GEN_CHECK_OFF(OHCI, fno:1);
795 GEN_CHECK_OFF(OHCI, RootHub);
796 GEN_CHECK_OFF(OHCI, ctl);
797 GEN_CHECK_OFF(OHCI, status);
798 GEN_CHECK_OFF(OHCI, intr_status);
799 GEN_CHECK_OFF(OHCI, intr);
800 GEN_CHECK_OFF(OHCI, hcca);
801 GEN_CHECK_OFF(OHCI, per_cur);
802 GEN_CHECK_OFF(OHCI, ctrl_cur);
803 GEN_CHECK_OFF(OHCI, ctrl_head);
804 GEN_CHECK_OFF(OHCI, bulk_cur);
805 GEN_CHECK_OFF(OHCI, bulk_head);
806 GEN_CHECK_OFF(OHCI, done);
807 //GEN_CHECK_OFF(OHCI, fsmps:15);
808 //GEN_CHECK_OFF(OHCI, fit:1);
809 //GEN_CHECK_OFF(OHCI, fi:14);
810 //GEN_CHECK_OFF(OHCI, frt:1);
811 GEN_CHECK_OFF(OHCI, HcFmNumber);
812 GEN_CHECK_OFF(OHCI, pstart);
813 GEN_CHECK_OFF(OHCI, cTicksPerFrame);
814 GEN_CHECK_OFF(OHCI, cTicksPerUsbTick);
815 GEN_CHECK_OFF(OHCI, cInFlight);
816 GEN_CHECK_OFF(OHCI, aInFlight);
817 GEN_CHECK_OFF(OHCI, aInFlight[0].GCPhysTD);
818 GEN_CHECK_OFF(OHCI, aInFlight[0].pUrb);
819 GEN_CHECK_OFF(OHCI, aInFlight[1]);
820 GEN_CHECK_OFF(OHCI, cInDoneQueue);
821 GEN_CHECK_OFF(OHCI, aInDoneQueue);
822 GEN_CHECK_OFF(OHCI, aInDoneQueue[0].GCPhysTD);
823 GEN_CHECK_OFF(OHCI, aInDoneQueue[1]);
824 GEN_CHECK_OFF(OHCI, u32FmDoneQueueTail);
825 GEN_CHECK_OFF(OHCI, pLoad);
826# ifdef VBOX_WITH_STATISTICS
827 GEN_CHECK_OFF(OHCI, StatCanceledIsocUrbs);
828 GEN_CHECK_OFF(OHCI, StatCanceledGenUrbs);
829 GEN_CHECK_OFF(OHCI, StatDroppedUrbs);
830 GEN_CHECK_OFF(OHCI, StatTimer);
831# endif
832 /* USB/DevEHCI.cpp */
833 GEN_CHECK_SIZE(EHCIHUBPORT);
834 GEN_CHECK_OFF(EHCIHUBPORT, fReg);
835 GEN_CHECK_OFF(EHCIHUBPORT, pDev);
836
837 GEN_CHECK_SIZE(EHCIROOTHUB);
838 GEN_CHECK_OFF(EHCIROOTHUB, pIBase);
839 GEN_CHECK_OFF(EHCIROOTHUB, pIRhConn);
840 GEN_CHECK_OFF(EHCIROOTHUB, pIDev);
841 GEN_CHECK_OFF(EHCIROOTHUB, IBase);
842 GEN_CHECK_OFF(EHCIROOTHUB, IRhPort);
843 GEN_CHECK_OFF(EHCIROOTHUB, status);
844 GEN_CHECK_OFF(EHCIROOTHUB, desc_a);
845 GEN_CHECK_OFF(EHCIROOTHUB, desc_b);
846 GEN_CHECK_OFF(EHCIROOTHUB, aPorts);
847 GEN_CHECK_OFF(EHCIROOTHUB, aPorts[1]);
848 GEN_CHECK_OFF(EHCIROOTHUB, aPorts[EHCI_NDP - 1]);
849 GEN_CHECK_OFF(EHCIROOTHUB, pEhci);
850
851 GEN_CHECK_SIZE(EHCI);
852 GEN_CHECK_OFF(EHCI, PciDev);
853 GEN_CHECK_OFF(EHCI, MMIOBase);
854 GEN_CHECK_OFF(EHCI, pEndOfFrameTimerR3);
855 GEN_CHECK_OFF(EHCI, pEndOfFrameTimerR0);
856 GEN_CHECK_OFF(EHCI, pEndOfFrameTimerRC);
857 GEN_CHECK_OFF(EHCI, pDevInsR3);
858 GEN_CHECK_OFF(EHCI, pDevInsR0);
859 GEN_CHECK_OFF(EHCI, pDevInsRC);
860 GEN_CHECK_OFF(EHCI, SofTime);
861 GEN_CHECK_OFF(EHCI, RootHub);
862 GEN_CHECK_OFF(EHCI, intr_status);
863 GEN_CHECK_OFF(EHCI, intr);
864 GEN_CHECK_OFF(EHCI, HcFmNumber);
865 GEN_CHECK_OFF(EHCI, cTicksPerFrame);
866 GEN_CHECK_OFF(EHCI, cTicksPerUsbTick);
867 GEN_CHECK_OFF(EHCI, cInFlight);
868 GEN_CHECK_OFF(EHCI, aInFlight);
869 GEN_CHECK_OFF(EHCI, aInFlight[0].GCPhysTD);
870 GEN_CHECK_OFF(EHCI, aInFlight[0].pUrb);
871 GEN_CHECK_OFF(EHCI, aInFlight[1]);
872 GEN_CHECK_OFF(EHCI, pLoad);
873 GEN_CHECK_OFF(EHCI, fAsyncTraversalTimerActive);
874# ifdef VBOX_WITH_STATISTICS
875 GEN_CHECK_OFF(EHCI, StatCanceledIsocUrbs);
876 GEN_CHECK_OFF(EHCI, StatCanceledGenUrbs);
877 GEN_CHECK_OFF(EHCI, StatDroppedUrbs);
878 GEN_CHECK_OFF(EHCI, StatTimer);
879# endif
880#endif /* VBOX_WITH_USB */
881
882 /* VMMDev/VBoxDev.cpp */
883
884 /* Parallel/DevParallel.cpp */
885 GEN_CHECK_SIZE(ParallelState);
886 GEN_CHECK_OFF(ParallelState, pDevInsR3);
887 GEN_CHECK_OFF(ParallelState, pDevInsR0);
888 GEN_CHECK_OFF(ParallelState, pDevInsRC);
889 GEN_CHECK_OFF(ParallelState, IBase);
890 GEN_CHECK_OFF(ParallelState, IHostParallelPort);
891 GEN_CHECK_OFF(ParallelState, pDrvHostParallelConnector);
892 GEN_CHECK_OFF(ParallelState, ReceiveSem);
893 GEN_CHECK_OFF(ParallelState, reg_data);
894 GEN_CHECK_OFF(ParallelState, reg_status);
895 GEN_CHECK_OFF(ParallelState, reg_control);
896 GEN_CHECK_OFF(ParallelState, reg_epp_addr);
897 GEN_CHECK_OFF(ParallelState, reg_epp_data);
898 GEN_CHECK_OFF(ParallelState, reg_ecp_ecr);
899 GEN_CHECK_OFF(ParallelState, reg_ecp_base_plus_400h);
900 GEN_CHECK_OFF(ParallelState, reg_ecp_config_b);
901 GEN_CHECK_OFF(ParallelState, ecp_fifo);
902 GEN_CHECK_OFF(ParallelState, ecp_fifo[1]);
903 GEN_CHECK_OFF(ParallelState, act_fifo_pos_write);
904 GEN_CHECK_OFF(ParallelState, act_fifo_pos_read);
905 GEN_CHECK_OFF(ParallelState, irq);
906 GEN_CHECK_OFF(ParallelState, epp_timeout);
907 GEN_CHECK_OFF(ParallelState, fGCEnabled);
908 GEN_CHECK_OFF(ParallelState, fR0Enabled);
909 GEN_CHECK_OFF(ParallelState, base);
910
911 /* Serial/DevSerial.cpp */
912 GEN_CHECK_SIZE(SerialState);
913 GEN_CHECK_OFF(SerialState, divider);
914 GEN_CHECK_OFF(SerialState, rbr);
915 GEN_CHECK_OFF(SerialState, ier);
916 GEN_CHECK_OFF(SerialState, iir);
917 GEN_CHECK_OFF(SerialState, lcr);
918 GEN_CHECK_OFF(SerialState, mcr);
919 GEN_CHECK_OFF(SerialState, lsr);
920 GEN_CHECK_OFF(SerialState, msr);
921 GEN_CHECK_OFF(SerialState, scr);
922 GEN_CHECK_OFF(SerialState, thr_ipending);
923 GEN_CHECK_OFF(SerialState, irq);
924 GEN_CHECK_OFF(SerialState, msr_changed);
925 GEN_CHECK_OFF(SerialState, fGCEnabled);
926 GEN_CHECK_OFF(SerialState, fR0Enabled);
927 GEN_CHECK_OFF(SerialState, pDevInsR3);
928 GEN_CHECK_OFF(SerialState, pDevInsR0);
929 GEN_CHECK_OFF(SerialState, pDevInsRC);
930 GEN_CHECK_OFF(SerialState, IBase);
931 GEN_CHECK_OFF(SerialState, ICharPort);
932 GEN_CHECK_OFF(SerialState, pDrvBase);
933 GEN_CHECK_OFF(SerialState, pDrvChar);
934 GEN_CHECK_OFF(SerialState, CritSect);
935 GEN_CHECK_OFF(SerialState, ReceiveSem);
936 GEN_CHECK_OFF(SerialState, last_break_enable);
937 GEN_CHECK_OFF(SerialState, base);
938
939#ifdef VBOX_WITH_AHCI
940 /* Storage/ATAController.h */
941 GEN_CHECK_SIZE(AHCIATADevState);
942 GEN_CHECK_OFF(AHCIATADevState, fLBA48);
943 GEN_CHECK_OFF(AHCIATADevState, fATAPI);
944 GEN_CHECK_OFF(AHCIATADevState, fIrqPending);
945 GEN_CHECK_OFF(AHCIATADevState, cMultSectors);
946 GEN_CHECK_OFF(AHCIATADevState, PCHSGeometry.cCylinders);
947 GEN_CHECK_OFF(AHCIATADevState, PCHSGeometry.cHeads);
948 GEN_CHECK_OFF(AHCIATADevState, PCHSGeometry.cSectors);
949 GEN_CHECK_OFF(AHCIATADevState, cSectorsPerIRQ);
950 GEN_CHECK_OFF(AHCIATADevState, cTotalSectors);
951 GEN_CHECK_OFF(AHCIATADevState, uATARegFeature);
952 GEN_CHECK_OFF(AHCIATADevState, uATARegFeatureHOB);
953 GEN_CHECK_OFF(AHCIATADevState, uATARegError);
954 GEN_CHECK_OFF(AHCIATADevState, uATARegNSector);
955 GEN_CHECK_OFF(AHCIATADevState, uATARegNSectorHOB);
956 GEN_CHECK_OFF(AHCIATADevState, uATARegSector);
957 GEN_CHECK_OFF(AHCIATADevState, uATARegSectorHOB);
958 GEN_CHECK_OFF(AHCIATADevState, uATARegLCyl);
959 GEN_CHECK_OFF(AHCIATADevState, uATARegLCylHOB);
960 GEN_CHECK_OFF(AHCIATADevState, uATARegHCyl);
961 GEN_CHECK_OFF(AHCIATADevState, uATARegHCylHOB);
962 GEN_CHECK_OFF(AHCIATADevState, uATARegSelect);
963 GEN_CHECK_OFF(AHCIATADevState, uATARegStatus);
964 GEN_CHECK_OFF(AHCIATADevState, uATARegCommand);
965 GEN_CHECK_OFF(AHCIATADevState, uATARegDevCtl);
966 GEN_CHECK_OFF(AHCIATADevState, uATATransferMode);
967 GEN_CHECK_OFF(AHCIATADevState, uTxDir);
968 GEN_CHECK_OFF(AHCIATADevState, iBeginTransfer);
969 GEN_CHECK_OFF(AHCIATADevState, iSourceSink);
970 GEN_CHECK_OFF(AHCIATADevState, fDMA);
971 GEN_CHECK_OFF(AHCIATADevState, fATAPITransfer);
972 GEN_CHECK_OFF(AHCIATADevState, cbTotalTransfer);
973 GEN_CHECK_OFF(AHCIATADevState, cbElementaryTransfer);
974 GEN_CHECK_OFF(AHCIATADevState, iIOBufferCur);
975 GEN_CHECK_OFF(AHCIATADevState, iIOBufferEnd);
976 GEN_CHECK_OFF(AHCIATADevState, iIOBufferPIODataStart);
977 GEN_CHECK_OFF(AHCIATADevState, iIOBufferPIODataEnd);
978 GEN_CHECK_OFF(AHCIATADevState, iATAPILBA);
979 GEN_CHECK_OFF(AHCIATADevState, cbATAPISector);
980 GEN_CHECK_OFF(AHCIATADevState, aATAPICmd);
981 GEN_CHECK_OFF(AHCIATADevState, aATAPICmd[ATAPI_PACKET_SIZE - 1]);
982 GEN_CHECK_OFF(AHCIATADevState, abATAPISense);
983 GEN_CHECK_OFF(AHCIATADevState, abATAPISense[ATAPI_SENSE_SIZE - 1]);
984 GEN_CHECK_OFF(AHCIATADevState, cNotifiedMediaChange);
985 GEN_CHECK_OFF(AHCIATADevState, MediaEventStatus);
986 GEN_CHECK_OFF(AHCIATADevState, pLed);
987 GEN_CHECK_OFF(AHCIATADevState, cbIOBuffer);
988 GEN_CHECK_OFF(AHCIATADevState, pbIOBufferR3);
989 GEN_CHECK_OFF(AHCIATADevState, pbIOBufferR0);
990 GEN_CHECK_OFF(AHCIATADevState, pbIOBufferRC);
991 GEN_CHECK_OFF(AHCIATADevState, StatATADMA);
992 GEN_CHECK_OFF(AHCIATADevState, StatATAPIO);
993 GEN_CHECK_OFF(AHCIATADevState, StatATAPIDMA);
994 GEN_CHECK_OFF(AHCIATADevState, StatATAPIPIO);
995 GEN_CHECK_OFF(AHCIATADevState, StatReads);
996 GEN_CHECK_OFF(AHCIATADevState, pStatBytesRead);
997 GEN_CHECK_OFF(AHCIATADevState, StatWrites);
998 GEN_CHECK_OFF(AHCIATADevState, pStatBytesWritten);
999 GEN_CHECK_OFF(AHCIATADevState, StatFlushes);
1000 GEN_CHECK_OFF(AHCIATADevState, fATAPIPassthrough);
1001 GEN_CHECK_OFF(AHCIATADevState, cErrors);
1002 GEN_CHECK_OFF(AHCIATADevState, pDrvBase);
1003 GEN_CHECK_OFF(AHCIATADevState, pDrvBlock);
1004 GEN_CHECK_OFF(AHCIATADevState, pDrvBlockBios);
1005 GEN_CHECK_OFF(AHCIATADevState, pDrvMount);
1006 GEN_CHECK_OFF(AHCIATADevState, IBase);
1007 GEN_CHECK_OFF(AHCIATADevState, IPort);
1008 GEN_CHECK_OFF(AHCIATADevState, IMountNotify);
1009 GEN_CHECK_OFF(AHCIATADevState, iLUN);
1010 GEN_CHECK_OFF(AHCIATADevState, pDevInsR3);
1011 GEN_CHECK_OFF(AHCIATADevState, pDevInsR0);
1012 GEN_CHECK_OFF(AHCIATADevState, pDevInsRC);
1013 GEN_CHECK_OFF(AHCIATADevState, pControllerR3);
1014 GEN_CHECK_OFF(AHCIATADevState, pControllerR0);
1015 GEN_CHECK_OFF(AHCIATADevState, pControllerRC);
1016 GEN_CHECK_SIZE(AHCIATATransferRequest);
1017 GEN_CHECK_OFF(AHCIATATransferRequest, iIf);
1018 GEN_CHECK_OFF(AHCIATATransferRequest, iBeginTransfer);
1019 GEN_CHECK_OFF(AHCIATATransferRequest, iSourceSink);
1020 GEN_CHECK_OFF(AHCIATATransferRequest, cbTotalTransfer);
1021 GEN_CHECK_OFF(AHCIATATransferRequest, uTxDir);
1022 GEN_CHECK_SIZE(AHCIATAAbortRequest);
1023 GEN_CHECK_OFF(AHCIATAAbortRequest, iIf);
1024 GEN_CHECK_OFF(AHCIATAAbortRequest, fResetDrive);
1025 GEN_CHECK_SIZE(AHCIATARequest);
1026 GEN_CHECK_OFF(AHCIATARequest, ReqType);
1027 GEN_CHECK_OFF(AHCIATARequest, u);
1028 GEN_CHECK_OFF(AHCIATARequest, u.t);
1029 GEN_CHECK_OFF(AHCIATARequest, u.a);
1030 GEN_CHECK_SIZE(AHCIATACONTROLLER);
1031 GEN_CHECK_OFF(AHCIATACONTROLLER, IOPortBase1);
1032 GEN_CHECK_OFF(AHCIATACONTROLLER, IOPortBase2);
1033 GEN_CHECK_OFF(AHCIATACONTROLLER, irq);
1034 GEN_CHECK_OFF(AHCIATACONTROLLER, lock);
1035 GEN_CHECK_OFF(AHCIATACONTROLLER, iSelectedIf);
1036 GEN_CHECK_OFF(AHCIATACONTROLLER, iAIOIf);
1037 GEN_CHECK_OFF(AHCIATACONTROLLER, uAsyncIOState);
1038 GEN_CHECK_OFF(AHCIATACONTROLLER, fChainedTransfer);
1039 GEN_CHECK_OFF(AHCIATACONTROLLER, fReset);
1040 GEN_CHECK_OFF(AHCIATACONTROLLER, fRedo);
1041 GEN_CHECK_OFF(AHCIATACONTROLLER, fRedoIdle);
1042 GEN_CHECK_OFF(AHCIATACONTROLLER, fRedoDMALastDesc);
1043 GEN_CHECK_OFF(AHCIATACONTROLLER, BmDma);
1044 GEN_CHECK_OFF(AHCIATACONTROLLER, pFirstDMADesc);
1045 GEN_CHECK_OFF(AHCIATACONTROLLER, pLastDMADesc);
1046 GEN_CHECK_OFF(AHCIATACONTROLLER, pRedoDMABuffer);
1047 GEN_CHECK_OFF(AHCIATACONTROLLER, cbRedoDMABuffer);
1048 GEN_CHECK_OFF(AHCIATACONTROLLER, aIfs);
1049 GEN_CHECK_OFF(AHCIATACONTROLLER, aIfs[1]);
1050 GEN_CHECK_OFF(AHCIATACONTROLLER, pDevInsR3);
1051 GEN_CHECK_OFF(AHCIATACONTROLLER, pDevInsR0);
1052 GEN_CHECK_OFF(AHCIATACONTROLLER, pDevInsRC);
1053 GEN_CHECK_OFF(AHCIATACONTROLLER, fShutdown);
1054 GEN_CHECK_OFF(AHCIATACONTROLLER, AsyncIOThread);
1055 GEN_CHECK_OFF(AHCIATACONTROLLER, AsyncIOSem);
1056 GEN_CHECK_OFF(AHCIATACONTROLLER, aAsyncIORequests[4]);
1057 GEN_CHECK_OFF(AHCIATACONTROLLER, AsyncIOReqHead);
1058 GEN_CHECK_OFF(AHCIATACONTROLLER, AsyncIOReqTail);
1059 GEN_CHECK_OFF(AHCIATACONTROLLER, AsyncIORequestMutex);
1060 GEN_CHECK_OFF(AHCIATACONTROLLER, SuspendIOSem);
1061 GEN_CHECK_OFF(AHCIATACONTROLLER, DelayIRQMillies);
1062 GEN_CHECK_OFF(AHCIATACONTROLLER, StatAsyncOps);
1063 GEN_CHECK_OFF(AHCIATACONTROLLER, StatAsyncMinWait);
1064 GEN_CHECK_OFF(AHCIATACONTROLLER, StatAsyncMaxWait);
1065 GEN_CHECK_OFF(AHCIATACONTROLLER, StatAsyncTimeUS);
1066 GEN_CHECK_OFF(AHCIATACONTROLLER, StatAsyncTime);
1067 GEN_CHECK_OFF(AHCIATACONTROLLER, StatLockWait);
1068
1069 /* Storage/DevAHCI.cpp */
1070
1071 GEN_CHECK_SIZE(AHCIPort);
1072 GEN_CHECK_OFF(AHCIPort, pDevInsR3);
1073 GEN_CHECK_OFF(AHCIPort, pDevInsR0);
1074 GEN_CHECK_OFF(AHCIPort, pDevInsRC);
1075 GEN_CHECK_OFF(AHCIPort, pAhciR3);
1076 GEN_CHECK_OFF(AHCIPort, pAhciR0);
1077 GEN_CHECK_OFF(AHCIPort, pAhciRC);
1078 GEN_CHECK_OFF(AHCIPort, regCLB);
1079 GEN_CHECK_OFF(AHCIPort, regCLBU);
1080 GEN_CHECK_OFF(AHCIPort, regFB);
1081 GEN_CHECK_OFF(AHCIPort, regFBU);
1082 GEN_CHECK_OFF(AHCIPort, regIS);
1083 GEN_CHECK_OFF(AHCIPort, regIE);
1084 GEN_CHECK_OFF(AHCIPort, regCMD);
1085 GEN_CHECK_OFF(AHCIPort, regTFD);
1086 GEN_CHECK_OFF(AHCIPort, regSIG);
1087 GEN_CHECK_OFF(AHCIPort, regSSTS);
1088 GEN_CHECK_OFF(AHCIPort, regSCTL);
1089 GEN_CHECK_OFF(AHCIPort, regSERR);
1090 GEN_CHECK_OFF(AHCIPort, regSACT);
1091 GEN_CHECK_OFF(AHCIPort, regCI);
1092 GEN_CHECK_OFF(AHCIPort, GCPhysAddrClb);
1093 GEN_CHECK_OFF(AHCIPort, GCPhysAddrFb);
1094 GEN_CHECK_OFF(AHCIPort, fAsyncInterface);
1095 GEN_CHECK_OFF(AHCIPort, pAsyncIOThread);
1096 GEN_CHECK_OFF(AHCIPort, AsyncIORequestSem);
1097 GEN_CHECK_OFF(AHCIPort, ahciIOTasks);
1098 GEN_CHECK_OFF(AHCIPort, ahciIOTasks[2*AHCI_NR_COMMAND_SLOTS-1]);
1099 GEN_CHECK_OFF(AHCIPort, uActWritePos);
1100 GEN_CHECK_OFF(AHCIPort, uActReadPos);
1101 GEN_CHECK_OFF(AHCIPort, uActTasksActive);
1102 GEN_CHECK_OFF(AHCIPort, fPoweredOn);
1103 GEN_CHECK_OFF(AHCIPort, fSpunUp);
1104 GEN_CHECK_OFF(AHCIPort, fFirstD2HFisSend);
1105 GEN_CHECK_OFF(AHCIPort, fATAPI);
1106 GEN_CHECK_OFF(AHCIPort, pDrvBase);
1107 GEN_CHECK_OFF(AHCIPort, pDrvBlock);
1108 GEN_CHECK_OFF(AHCIPort, pDrvBlockAsync);
1109 GEN_CHECK_OFF(AHCIPort, pDrvBlockBios);
1110 GEN_CHECK_OFF(AHCIPort, pDrvMount);
1111 GEN_CHECK_OFF(AHCIPort, IBase);
1112 GEN_CHECK_OFF(AHCIPort, IPort);
1113 GEN_CHECK_OFF(AHCIPort, IPortAsync);
1114 GEN_CHECK_OFF(AHCIPort, IMountNotify);
1115 GEN_CHECK_OFF(AHCIPort, PCHSGeometry);
1116 GEN_CHECK_OFF(AHCIPort, Led);
1117 GEN_CHECK_OFF(AHCIPort, cTotalSectors);
1118 GEN_CHECK_OFF(AHCIPort, cMultSectors);
1119 GEN_CHECK_OFF(AHCIPort, uATATransferMode);
1120 GEN_CHECK_OFF(AHCIPort, uATAPISenseKey);
1121 GEN_CHECK_OFF(AHCIPort, uATAPIASC);
1122 GEN_CHECK_OFF(AHCIPort, cNotifiedMediaChange);
1123 GEN_CHECK_OFF(AHCIPort, iLUN);
1124 GEN_CHECK_OFF(AHCIPort, fResetDevice);
1125 GEN_CHECK_OFF(AHCIPort, u32TasksFinished);
1126 GEN_CHECK_OFF(AHCIPort, u32QueuedTasksFinished);
1127 GEN_CHECK_OFF(AHCIPort, StatDMA);
1128 GEN_CHECK_OFF(AHCIPort, StatBytesWritten);
1129 GEN_CHECK_OFF(AHCIPort, StatBytesRead);
1130 GEN_CHECK_OFF(AHCIPort, StatIORequestsPerSecond);
1131#ifdef VBOX_WITH_STATISTICS
1132 GEN_CHECK_OFF(AHCIPort, StatProfileProcessTime);
1133 GEN_CHECK_OFF(AHCIPort, StatProfileMapIntoR3);
1134 GEN_CHECK_OFF(AHCIPort, StatProfileReadWrite);
1135 GEN_CHECK_OFF(AHCIPort, StatProfileDestroyScatterGatherList);
1136#endif
1137 GEN_CHECK_OFF(AHCIPort, fNotificationSend);
1138 GEN_CHECK_OFF(AHCIPort, fPortReset);
1139
1140 GEN_CHECK_SIZE(AHCI);
1141 GEN_CHECK_OFF(AHCI, dev);
1142 GEN_CHECK_OFF(AHCI, pDevInsR3);
1143 GEN_CHECK_OFF(AHCI, pDevInsR0);
1144 GEN_CHECK_OFF(AHCI, pDevInsRC);
1145 GEN_CHECK_OFF(AHCI, IBase);
1146 GEN_CHECK_OFF(AHCI, ILeds);
1147 GEN_CHECK_OFF(AHCI, pLedsConnector);
1148 GEN_CHECK_OFF(AHCI, MMIOBase);
1149 GEN_CHECK_OFF(AHCI, regHbaCap);
1150 GEN_CHECK_OFF(AHCI, regHbaCtrl);
1151 GEN_CHECK_OFF(AHCI, regHbaIs);
1152 GEN_CHECK_OFF(AHCI, regHbaPi);
1153 GEN_CHECK_OFF(AHCI, regHbaVs);
1154 GEN_CHECK_OFF(AHCI, regHbaCccCtl);
1155 GEN_CHECK_OFF(AHCI, regHbaCccPorts);
1156 GEN_CHECK_OFF(AHCI, pHbaCccTimerR3);
1157 GEN_CHECK_OFF(AHCI, pHbaCccTimerR0);
1158 GEN_CHECK_OFF(AHCI, pHbaCccTimerRC);
1159 GEN_CHECK_OFF(AHCI, pNotifierQueueR3);
1160 GEN_CHECK_OFF(AHCI, pNotifierQueueR0);
1161 GEN_CHECK_OFF(AHCI, pNotifierQueueRC);
1162 GEN_CHECK_OFF(AHCI, uCccPortNr);
1163 GEN_CHECK_OFF(AHCI, uCccTimeout);
1164 GEN_CHECK_OFF(AHCI, uCccNr);
1165 GEN_CHECK_OFF(AHCI, uCccCurrentNr);
1166 GEN_CHECK_OFF(AHCI, ahciPort);
1167 GEN_CHECK_OFF(AHCI, ahciPort[AHCI_MAX_NR_PORTS_IMPL-1]);
1168 GEN_CHECK_OFF(AHCI, aCts);
1169 GEN_CHECK_OFF(AHCI, aCts[1]);
1170 GEN_CHECK_OFF(AHCI, u32PortsInterrupted);
1171 GEN_CHECK_OFF(AHCI, fReset);
1172 GEN_CHECK_OFF(AHCI, f64BitAddr);
1173 GEN_CHECK_OFF(AHCI, fGCEnabled);
1174 GEN_CHECK_OFF(AHCI, fR0Enabled);
1175 GEN_CHECK_OFF(AHCI, lock);
1176 GEN_CHECK_OFF(AHCI, cPortsImpl);
1177 GEN_CHECK_OFF(AHCI, f8ByteMMIO4BytesWrittenSuccessfully);
1178 GEN_CHECK_OFF(AHCI, cHighIOThreshold);
1179 GEN_CHECK_OFF(AHCI, cMillisToSleep);
1180#endif /* VBOX_WITH_AHCI */
1181
1182#ifdef VBOX_WITH_E1000
1183 GEN_CHECK_SIZE(EEPROM93C46);
1184 GEN_CHECK_OFF(EEPROM93C46, m_eState);
1185 GEN_CHECK_OFF(EEPROM93C46, m_au16Data);
1186 GEN_CHECK_OFF(EEPROM93C46, m_fWriteEnabled);
1187 GEN_CHECK_OFF(EEPROM93C46, m_u16Word);
1188 GEN_CHECK_OFF(EEPROM93C46, m_u16Mask);
1189 GEN_CHECK_OFF(EEPROM93C46, m_u16Addr);
1190 GEN_CHECK_OFF(EEPROM93C46, m_u32InternalWires);
1191 GEN_CHECK_OFF(EEPROM93C46, m_eOp);
1192
1193 GEN_CHECK_SIZE(E1KSTATE);
1194 GEN_CHECK_OFF(E1KSTATE, IBase);
1195 GEN_CHECK_OFF(E1KSTATE, INetworkPort);
1196 GEN_CHECK_OFF(E1KSTATE, INetworkConfig);
1197 GEN_CHECK_OFF(E1KSTATE, ILeds);
1198 GEN_CHECK_OFF(E1KSTATE, pDrvBase);
1199 GEN_CHECK_OFF(E1KSTATE, pDrv);
1200 GEN_CHECK_OFF(E1KSTATE, pLedsConnector);
1201 GEN_CHECK_OFF(E1KSTATE, pDevInsR3);
1202 GEN_CHECK_OFF(E1KSTATE, pDevInsR0);
1203 GEN_CHECK_OFF(E1KSTATE, pDevInsRC);
1204 GEN_CHECK_OFF(E1KSTATE, pTxQueueR3);
1205 GEN_CHECK_OFF(E1KSTATE, pTxQueueR0);
1206 GEN_CHECK_OFF(E1KSTATE, pTxQueueRC);
1207 GEN_CHECK_OFF(E1KSTATE, pCanRxQueueR3);
1208 GEN_CHECK_OFF(E1KSTATE, pCanRxQueueR0);
1209 GEN_CHECK_OFF(E1KSTATE, pCanRxQueueRC);
1210 GEN_CHECK_OFF(E1KSTATE, pRIDTimerR3);
1211 GEN_CHECK_OFF(E1KSTATE, pRIDTimerR0);
1212 GEN_CHECK_OFF(E1KSTATE, pRIDTimerRC);
1213 GEN_CHECK_OFF(E1KSTATE, pRADTimerR3);
1214 GEN_CHECK_OFF(E1KSTATE, pRADTimerR0);
1215 GEN_CHECK_OFF(E1KSTATE, pRADTimerRC);
1216 GEN_CHECK_OFF(E1KSTATE, pTIDTimerR3);
1217 GEN_CHECK_OFF(E1KSTATE, pTIDTimerR0);
1218 GEN_CHECK_OFF(E1KSTATE, pTIDTimerRC);
1219 GEN_CHECK_OFF(E1KSTATE, pTADTimerR3);
1220 GEN_CHECK_OFF(E1KSTATE, pTADTimerR0);
1221 GEN_CHECK_OFF(E1KSTATE, pTADTimerRC);
1222 GEN_CHECK_OFF(E1KSTATE, pIntTimerR3);
1223 GEN_CHECK_OFF(E1KSTATE, pIntTimerR0);
1224 GEN_CHECK_OFF(E1KSTATE, pIntTimerRC);
1225 GEN_CHECK_OFF(E1KSTATE, pLUTimer);
1226 GEN_CHECK_OFF(E1KSTATE, pTxThread);
1227 GEN_CHECK_OFF(E1KSTATE, cs);
1228#ifndef E1K_GLOBAL_MUTEX
1229 GEN_CHECK_OFF(E1KSTATE, csRx);
1230#endif
1231 GEN_CHECK_OFF(E1KSTATE, hTxSem);
1232 GEN_CHECK_OFF(E1KSTATE, addrMMReg);
1233 GEN_CHECK_OFF(E1KSTATE, macAddress);
1234 GEN_CHECK_OFF(E1KSTATE, addrIOPort);
1235 GEN_CHECK_OFF(E1KSTATE, pciDevice);
1236 GEN_CHECK_OFF(E1KSTATE, u64AckedAt);
1237 GEN_CHECK_OFF(E1KSTATE, fIntRaised);
1238 GEN_CHECK_OFF(E1KSTATE, fCableConnected);
1239 GEN_CHECK_OFF(E1KSTATE, fR0Enabled);
1240 GEN_CHECK_OFF(E1KSTATE, fGCEnabled);
1241 GEN_CHECK_OFF(E1KSTATE, auRegs[E1K_NUM_OF_32BIT_REGS]);
1242 GEN_CHECK_OFF(E1KSTATE, led);
1243 GEN_CHECK_OFF(E1KSTATE, u32PktNo);
1244 GEN_CHECK_OFF(E1KSTATE, uSelectedReg);
1245 GEN_CHECK_OFF(E1KSTATE, auMTA[128]);
1246 GEN_CHECK_OFF(E1KSTATE, aRecAddr);
1247 GEN_CHECK_OFF(E1KSTATE, auVFTA[128]);
1248 GEN_CHECK_OFF(E1KSTATE, u16RxBSize);
1249 GEN_CHECK_OFF(E1KSTATE, fLocked);
1250 GEN_CHECK_OFF(E1KSTATE, fDelayInts);
1251 GEN_CHECK_OFF(E1KSTATE, fIntMaskUsed);
1252 GEN_CHECK_OFF(E1KSTATE, fMaybeOutOfSpace);
1253 GEN_CHECK_OFF(E1KSTATE, hEventMoreRxDescAvail);
1254 GEN_CHECK_OFF(E1KSTATE, contextTSE);
1255 GEN_CHECK_OFF(E1KSTATE, contextNormal);
1256 GEN_CHECK_OFF(E1KSTATE, aTxPacket[E1K_MAX_TX_PKT_SIZE]);
1257 GEN_CHECK_OFF(E1KSTATE, u16TxPktLen);
1258 GEN_CHECK_OFF(E1KSTATE, fIPcsum);
1259 GEN_CHECK_OFF(E1KSTATE, fTCPcsum);
1260 GEN_CHECK_OFF(E1KSTATE, u32PayRemain);
1261 GEN_CHECK_OFF(E1KSTATE, u16HdrRemain);
1262 GEN_CHECK_OFF(E1KSTATE, u16SavedFlags);
1263 GEN_CHECK_OFF(E1KSTATE, u32SavedCsum);
1264 GEN_CHECK_OFF(E1KSTATE, eeprom);
1265 GEN_CHECK_OFF(E1KSTATE, phy);
1266#endif /* VBOX_WITH_E1000 */
1267
1268#ifdef VBOX_WITH_SCSI
1269 GEN_CHECK_SIZE(VBOXSCSI);
1270 GEN_CHECK_OFF(VBOXSCSI, regIdentify);
1271 GEN_CHECK_OFF(VBOXSCSI, uTargetDevice);
1272 GEN_CHECK_OFF(VBOXSCSI, uTxDir);
1273 GEN_CHECK_OFF(VBOXSCSI, cbCDB);
1274 GEN_CHECK_OFF(VBOXSCSI, aCDB);
1275 GEN_CHECK_OFF(VBOXSCSI, aCDB[11]);
1276 GEN_CHECK_OFF(VBOXSCSI, iCDB);
1277 GEN_CHECK_OFF(VBOXSCSI, pBuf);
1278 GEN_CHECK_OFF(VBOXSCSI, cbBuf);
1279 GEN_CHECK_OFF(VBOXSCSI, iBuf);
1280 GEN_CHECK_OFF(VBOXSCSI, fBusy);
1281 GEN_CHECK_OFF(VBOXSCSI, enmState);
1282#endif
1283
1284#ifdef VBOX_WITH_BUSLOGIC
1285 GEN_CHECK_SIZE(BUSLOGICDEVICE);
1286 GEN_CHECK_OFF(BUSLOGICDEVICE, pBusLogicR3);
1287 GEN_CHECK_OFF(BUSLOGICDEVICE, pBusLogicR0);
1288 GEN_CHECK_OFF(BUSLOGICDEVICE, pBusLogicRC);
1289 GEN_CHECK_OFF(BUSLOGICDEVICE, fPresent);
1290 GEN_CHECK_OFF(BUSLOGICDEVICE, iLUN);
1291 GEN_CHECK_OFF(BUSLOGICDEVICE, IBase);
1292 GEN_CHECK_OFF(BUSLOGICDEVICE, ISCSIPort);
1293 GEN_CHECK_OFF(BUSLOGICDEVICE, pDrvBase);
1294 GEN_CHECK_OFF(BUSLOGICDEVICE, pDrvSCSIConnector);
1295 GEN_CHECK_OFF(BUSLOGICDEVICE, cOutstandingRequests);
1296
1297 GEN_CHECK_SIZE(BUSLOGIC);
1298 GEN_CHECK_OFF(BUSLOGIC, dev);
1299 GEN_CHECK_OFF(BUSLOGIC, pDevInsR3);
1300 GEN_CHECK_OFF(BUSLOGIC, pDevInsR0);
1301 GEN_CHECK_OFF(BUSLOGIC, pDevInsRC);
1302 GEN_CHECK_OFF(BUSLOGIC, IOPortBase);
1303 GEN_CHECK_OFF(BUSLOGIC, MMIOBase);
1304 GEN_CHECK_OFF(BUSLOGIC, regStatus);
1305 GEN_CHECK_OFF(BUSLOGIC, regInterrupt);
1306 GEN_CHECK_OFF(BUSLOGIC, regGeometry);
1307 GEN_CHECK_OFF(BUSLOGIC, LocalRam);
1308 GEN_CHECK_OFF(BUSLOGIC, uOperationCode);
1309 GEN_CHECK_OFF(BUSLOGIC, aCommandBuffer);
1310 GEN_CHECK_OFF(BUSLOGIC, aCommandBuffer[BUSLOGIC_COMMAND_SIZE_MAX]);
1311 GEN_CHECK_OFF(BUSLOGIC, iParameter);
1312 GEN_CHECK_OFF(BUSLOGIC, cbCommandParametersLeft);
1313 GEN_CHECK_OFF(BUSLOGIC, fUseLocalRam);
1314 GEN_CHECK_OFF(BUSLOGIC, aReplyBuffer);
1315 GEN_CHECK_OFF(BUSLOGIC, aReplyBuffer[BUSLOGIC_REPLY_SIZE_MAX]);
1316 GEN_CHECK_OFF(BUSLOGIC, iReply);
1317 GEN_CHECK_OFF(BUSLOGIC, cbReplyParametersLeft);
1318 GEN_CHECK_OFF(BUSLOGIC, fIRQEnabled);
1319 GEN_CHECK_OFF(BUSLOGIC, cMailbox);
1320 GEN_CHECK_OFF(BUSLOGIC, GCPhysAddrMailboxOutgoingBase);
1321 GEN_CHECK_OFF(BUSLOGIC, uMailboxOutgoingPositionCurrent);
1322 GEN_CHECK_OFF(BUSLOGIC, cMailboxesReady);
1323 GEN_CHECK_OFF(BUSLOGIC, fNotificationSend);
1324 GEN_CHECK_OFF(BUSLOGIC, GCPhysAddrMailboxIncomingBase);
1325 GEN_CHECK_OFF(BUSLOGIC, uMailboxIncomingPositionCurrent);
1326 GEN_CHECK_OFF(BUSLOGIC, fStrictRoundRobinMode);
1327 GEN_CHECK_OFF(BUSLOGIC, fExtendedLunCCBFormat);
1328 GEN_CHECK_OFF(BUSLOGIC, pNotifierQueueR3);
1329 GEN_CHECK_OFF(BUSLOGIC, pNotifierQueueR0);
1330 GEN_CHECK_OFF(BUSLOGIC, pNotifierQueueRC);
1331 GEN_CHECK_OFF(BUSLOGIC, pTaskCache);
1332 GEN_CHECK_OFF(BUSLOGIC, VBoxSCSI);
1333 GEN_CHECK_OFF(BUSLOGIC, aDeviceStates);
1334 GEN_CHECK_OFF(BUSLOGIC, aDeviceStates[BUSLOGIC_MAX_DEVICES-1]);
1335#endif /* VBOX_WITH_BUSLOGIC */
1336
1337#ifdef VBOX_WITH_LSILOGIC
1338 GEN_CHECK_SIZE(LSILOGICDEVICE);
1339 GEN_CHECK_OFF(LSILOGICDEVICE, pLsiLogicR3);
1340 GEN_CHECK_OFF(LSILOGICDEVICE, pLsiLogicR0);
1341 GEN_CHECK_OFF(LSILOGICDEVICE, pLsiLogicRC);
1342 GEN_CHECK_OFF(LSILOGICDEVICE, iLUN);
1343 GEN_CHECK_OFF(LSILOGICDEVICE, cOutstandingRequests);
1344 GEN_CHECK_OFF(LSILOGICDEVICE, IBase);
1345 GEN_CHECK_OFF(LSILOGICDEVICE, ISCSIPort);
1346 GEN_CHECK_OFF(LSILOGICDEVICE, pDrvBase);
1347 GEN_CHECK_OFF(LSILOGICDEVICE, pDrvSCSIConnector);
1348
1349 GEN_CHECK_SIZE(LSILOGICSCSI);
1350 GEN_CHECK_OFF(LSILOGICSCSI, PciDev);
1351 GEN_CHECK_OFF(LSILOGICSCSI, pDevInsR3);
1352 GEN_CHECK_OFF(LSILOGICSCSI, pDevInsR0);
1353 GEN_CHECK_OFF(LSILOGICSCSI, pDevInsRC);
1354 GEN_CHECK_OFF(LSILOGICSCSI, fGCEnabled);
1355 GEN_CHECK_OFF(LSILOGICSCSI, fR0Enabled);
1356 GEN_CHECK_OFF(LSILOGICSCSI, enmState);
1357 GEN_CHECK_OFF(LSILOGICSCSI, enmWhoInit);
1358 GEN_CHECK_OFF(LSILOGICSCSI, fDoorbellInProgress);
1359 GEN_CHECK_OFF(LSILOGICSCSI, fDiagnosticEnabled);
1360 GEN_CHECK_OFF(LSILOGICSCSI, fNotificationSend);
1361 GEN_CHECK_OFF(LSILOGICSCSI, fEventNotificationEnabled);
1362 GEN_CHECK_OFF(LSILOGICSCSI, pNotificationQueueR3);
1363 GEN_CHECK_OFF(LSILOGICSCSI, pNotificationQueueR0);
1364 GEN_CHECK_OFF(LSILOGICSCSI, pNotificationQueueRC);
1365 GEN_CHECK_OFF(LSILOGICSCSI, aDeviceStates);
1366 GEN_CHECK_OFF(LSILOGICSCSI, aDeviceStates[LSILOGIC_DEVICES_MAX-1]);
1367 GEN_CHECK_OFF(LSILOGICSCSI, GCPhysMMIOBase);
1368 GEN_CHECK_OFF(LSILOGICSCSI, IOPortBase);
1369 GEN_CHECK_OFF(LSILOGICSCSI, uInterruptMask);
1370 GEN_CHECK_OFF(LSILOGICSCSI, uInterruptStatus);
1371 GEN_CHECK_OFF(LSILOGICSCSI, aMessage);
1372 GEN_CHECK_OFF(LSILOGICSCSI, aMessage[sizeof(MptConfigurationRequest)-1]);
1373 GEN_CHECK_OFF(LSILOGICSCSI, iMessage);
1374 GEN_CHECK_OFF(LSILOGICSCSI, cMessage);
1375 GEN_CHECK_OFF(LSILOGICSCSI, ReplyBuffer);
1376 GEN_CHECK_OFF(LSILOGICSCSI, uNextReplyEntryRead);
1377 GEN_CHECK_OFF(LSILOGICSCSI, cReplySize);
1378 GEN_CHECK_OFF(LSILOGICSCSI, u16IOCFaultCode);
1379 GEN_CHECK_OFF(LSILOGICSCSI, u32HostMFAHighAddr);
1380 GEN_CHECK_OFF(LSILOGICSCSI, u32SenseBufferHighAddr);
1381 GEN_CHECK_OFF(LSILOGICSCSI, cMaxDevices);
1382 GEN_CHECK_OFF(LSILOGICSCSI, cMaxBuses);
1383 GEN_CHECK_OFF(LSILOGICSCSI, cbReplyFrame);
1384 GEN_CHECK_OFF(LSILOGICSCSI, iDiagnosticAccess);
1385 GEN_CHECK_OFF(LSILOGICSCSI, cReplyQueueEntries);
1386 GEN_CHECK_OFF(LSILOGICSCSI, cRequestQueueEntries);
1387 GEN_CHECK_OFF(LSILOGICSCSI, ReplyPostQueueCritSect);
1388 GEN_CHECK_OFF(LSILOGICSCSI, ReplyFreeQueueCritSect);
1389 GEN_CHECK_OFF(LSILOGICSCSI, pReplyFreeQueueBaseR3);
1390 GEN_CHECK_OFF(LSILOGICSCSI, pReplyPostQueueBaseR3);
1391 GEN_CHECK_OFF(LSILOGICSCSI, pRequestQueueBaseR3);
1392 GEN_CHECK_OFF(LSILOGICSCSI, pReplyFreeQueueBaseR0);
1393 GEN_CHECK_OFF(LSILOGICSCSI, pReplyPostQueueBaseR0);
1394 GEN_CHECK_OFF(LSILOGICSCSI, pRequestQueueBaseR0);
1395 GEN_CHECK_OFF(LSILOGICSCSI, pReplyFreeQueueBaseRC);
1396 GEN_CHECK_OFF(LSILOGICSCSI, pReplyPostQueueBaseRC);
1397 GEN_CHECK_OFF(LSILOGICSCSI, pRequestQueueBaseRC);
1398 GEN_CHECK_OFF(LSILOGICSCSI, uReplyFreeQueueNextEntryFreeWrite);
1399 GEN_CHECK_OFF(LSILOGICSCSI, uReplyFreeQueueNextAddressRead);
1400 GEN_CHECK_OFF(LSILOGICSCSI, uReplyPostQueueNextEntryFreeWrite);
1401 GEN_CHECK_OFF(LSILOGICSCSI, uReplyPostQueueNextAddressRead);
1402 GEN_CHECK_OFF(LSILOGICSCSI, uRequestQueueNextEntryFreeWrite);
1403 GEN_CHECK_OFF(LSILOGICSCSI, uRequestQueueNextAddressRead);
1404 GEN_CHECK_OFF(LSILOGICSCSI, ConfigurationPages);
1405 GEN_CHECK_OFF(LSILOGICSCSI, VBoxSCSI);
1406 GEN_CHECK_OFF(LSILOGICSCSI, pTaskCache);
1407#endif /* VBOX_WITH_LSILOGIC */
1408
1409 return (0);
1410}
1411
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