VirtualBox

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

Last change on this file since 73766 was 73766, checked in by vboxsync, 6 years ago

Serial: Remove the old serial code and switch over to the new one by default now that it is mostly stable (Any remaining bugs will get fixed)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Revision
File size: 81.7 KB
Line 
1/* $Id: tstDeviceStructSizeRC.cpp 73766 2018-08-19 16:55:11Z 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-2017 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
39/* Check that important preprocessor macros does not get redefined: */
40#include <VBox/cdefs.h>
41#include <VBox/log.h>
42#ifdef DEBUG
43# define VBOX_DEVICE_STRUCT_TESTCASE_CHECK_DEBUG
44#else
45# undef VBOX_DEVICE_STRUCT_TESTCASE_CHECK_DEBUG
46#endif
47#ifdef LOG_ENABLED
48# define VBOX_DEVICE_STRUCT_TESTCASE_CHECK_LOG_ENABLED
49#else
50# undef VBOX_DEVICE_STRUCT_TESTCASE_CHECK_LOG_ENABLED
51#endif
52#ifdef VBOX_STRICT
53# define VBOX_DEVICE_STRUCT_TESTCASE_CHECK_VBOX_STRICT
54#else
55# undef VBOX_DEVICE_STRUCT_TESTCASE_CHECK_VBOX_STRICT
56#endif
57#ifdef RT_STRICT
58# define VBOX_DEVICE_STRUCT_TESTCASE_CHECK_RT_STRICT
59#else
60# undef VBOX_DEVICE_STRUCT_TESTCASE_CHECK_RT_STRICT
61#endif
62
63/* The structures we're checking: */
64#undef LOG_GROUP
65#include "../Bus/DevPciInternal.h"
66#undef LOG_GROUP
67#include "../EFI/DevSmc.cpp"
68#undef LOG_GROUP
69#include "../Graphics/DevVGA.cpp"
70#undef LOG_GROUP
71#include "../Input/DevPS2.cpp"
72#undef LOG_GROUP
73#include "../Input/PS2K.cpp"
74#undef LOG_GROUP
75#include "../Input/PS2M.cpp"
76#undef LOG_GROUP
77#include "../Network/DevPCNet.cpp"
78#undef LOG_GROUP
79#include "../PC/DevACPI.cpp"
80#undef LOG_GROUP
81#include "../PC/DevPIC.cpp"
82#undef LOG_GROUP
83#include "../PC/DevPit-i8254.cpp"
84#undef LOG_GROUP
85#include "../PC/DevRTC.cpp"
86# undef LOG_GROUP
87# include "../../VMM/VMMR3/APIC.cpp"
88#undef LOG_GROUP
89#include "../PC/DevIoApic.cpp"
90#undef LOG_GROUP
91#include "../PC/DevDMA.cpp"
92#undef LOG_GROUP
93#include "../Storage/DevATA.cpp"
94#ifdef VBOX_WITH_USB
95# undef LOG_GROUP
96# include "../USB/DevOHCI.cpp"
97# ifdef VBOX_WITH_EHCI_IMPL
98# undef LOG_GROUP
99# include "../USB/DevEHCI.cpp"
100# endif
101# ifdef VBOX_WITH_XHCI_IMPL
102# undef LOG_GROUP
103# include "../USB/DevXHCI.cpp"
104# endif
105#endif
106#undef LOG_GROUP
107#include "../VMMDev/VMMDev.cpp"
108#undef LOG_GROUP
109#include "../Parallel/DevParallel.cpp"
110#undef LOG_GROUP
111#include "../Serial/DevSerial.cpp"
112#undef LOG_GROUP
113#include "../Serial/DevOxPcie958.cpp"
114#undef LOG_GROUP
115#include "../Serial/UartCore.h"
116#ifdef VBOX_WITH_AHCI
117# undef LOG_GROUP
118# include "../Storage/DevAHCI.cpp"
119#endif
120#ifdef VBOX_WITH_E1000
121# undef LOG_GROUP
122# include "../Network/DevE1000.cpp"
123#endif
124#ifdef VBOX_WITH_VIRTIO
125# undef LOG_GROUP
126# include "../Network/DevVirtioNet.cpp"
127#endif
128#ifdef VBOX_WITH_BUSLOGIC
129# undef LOG_GROUP
130# include "../Storage/DevBusLogic.cpp"
131#endif
132#ifdef VBOX_WITH_LSILOGIC
133# undef LOG_GROUP
134# include "../Storage/DevLsiLogicSCSI.cpp"
135#endif
136#undef LOG_GROUP
137#include "../PC/DevHPET.cpp"
138#undef LOG_GROUP
139#include "../Audio/DevIchAc97.cpp"
140#undef LOG_GROUP
141#include "../Audio/DevHDA.cpp"
142#ifdef VBOX_WITH_NVME_IMPL
143# undef LOG_GROUP
144# include "../Storage/DevNVMe.cpp"
145#endif
146
147/* Check that important preprocessor macros didn't get redefined: */
148#if defined(DEBUG) != defined(VBOX_DEVICE_STRUCT_TESTCASE_CHECK_DEBUG)
149# error "DEBUG was modified! This may throw off structure tests."
150#endif
151#if defined(LOG_ENABLED) != defined(VBOX_DEVICE_STRUCT_TESTCASE_CHECK_LOG_ENABLED)
152# error "LOG_ENABLED was modified! This may throw off structure tests."
153#endif
154#if defined(RT_STRICT) != defined(VBOX_DEVICE_STRUCT_TESTCASE_CHECK_RT_STRICT)
155# error "RT_STRICT was modified! This may throw off structure tests."
156#endif
157#if defined(VBOX_STRICT) != defined(VBOX_DEVICE_STRUCT_TESTCASE_CHECK_VBOX_STRICT)
158# error "VBOX_STRICT was modified! This may throw off structure tests."
159#endif
160
161
162/* we don't use iprt here because we're pretending to be in GC! */
163#include <stdio.h>
164
165#define GEN_CHECK_SIZE(s) printf(" CHECK_SIZE(%s, %d);\n", #s, (int)sizeof(s))
166#define GEN_CHECK_OFF(s, m) printf(" CHECK_OFF(%s, %d, %s);\n", #s, (int)RT_OFFSETOF(s, m), #m)
167#define GEN_CHECK_PADDING(s, m, a) printf(" CHECK_PADDING(%s, %s, %u);\n", #s, #m, (a))
168
169int main()
170{
171 /* misc */
172 GEN_CHECK_SIZE(PDMDEVINS);
173 GEN_CHECK_OFF(PDMDEVINS, Internal);
174 GEN_CHECK_OFF(PDMDEVINS, pReg);
175 GEN_CHECK_OFF(PDMDEVINS, pCfg);
176 GEN_CHECK_OFF(PDMDEVINS, iInstance);
177 GEN_CHECK_OFF(PDMDEVINS, IBase);
178 GEN_CHECK_OFF(PDMDEVINS, pHlpR3);
179 GEN_CHECK_OFF(PDMDEVINS, pHlpR0);
180 GEN_CHECK_OFF(PDMDEVINS, pHlpRC);
181 GEN_CHECK_OFF(PDMDEVINS, pvInstanceDataR3);
182 GEN_CHECK_OFF(PDMDEVINS, pvInstanceDataR0);
183 GEN_CHECK_OFF(PDMDEVINS, pvInstanceDataRC);
184 GEN_CHECK_OFF(PDMDEVINS, achInstanceData);
185
186 /* PDMPCIDEV */
187 GEN_CHECK_SIZE(PDMPCIDEV);
188 GEN_CHECK_SIZE(PDMPCIDEVINT);
189 GEN_CHECK_SIZE(PCIIOREGION); /** @todo fix name of PCIIOREGION */
190 GEN_CHECK_OFF(PDMPCIDEV, abConfig);
191 GEN_CHECK_OFF(PDMPCIDEV, uDevFn);
192 GEN_CHECK_OFF(PDMPCIDEV, pszNameR3);
193 GEN_CHECK_OFF(PDMPCIDEV, pfnRegionLoadChangeHookR3);
194 GEN_CHECK_OFF(PDMPCIDEV, Int);
195 GEN_CHECK_OFF(PDMPCIDEV, Int.s.aIORegions);
196 GEN_CHECK_OFF(PDMPCIDEV, Int.s.aIORegions[1]);
197 GEN_CHECK_OFF(PDMPCIDEV, Int.s.aIORegions[VBOX_PCI_NUM_REGIONS - 1]);
198 GEN_CHECK_OFF(PDMPCIDEV, Int.s.aIORegions[0].addr);
199 GEN_CHECK_OFF(PDMPCIDEV, Int.s.aIORegions[0].size);
200 GEN_CHECK_OFF(PDMPCIDEV, Int.s.aIORegions[0].type);
201 GEN_CHECK_OFF(PDMPCIDEV, Int.s.aIORegions[0].padding);
202 GEN_CHECK_OFF(PDMPCIDEV, Int.s.pBusR3);
203 GEN_CHECK_OFF(PDMPCIDEV, Int.s.pBusR0);
204 GEN_CHECK_OFF(PDMPCIDEV, Int.s.pBusRC);
205 GEN_CHECK_OFF(PDMPCIDEV, Int.s.pfnConfigRead);
206 GEN_CHECK_OFF(PDMPCIDEV, Int.s.pfnConfigWrite);
207 GEN_CHECK_OFF(PDMPCIDEV, Int.s.fFlags);
208 GEN_CHECK_OFF(PDMPCIDEV, Int.s.uIrqPinState);
209 GEN_CHECK_OFF(PDMPCIDEV, Int.s.pfnBridgeConfigRead);
210 GEN_CHECK_OFF(PDMPCIDEV, Int.s.pfnBridgeConfigWrite);
211 GEN_CHECK_PADDING(PDMPCIDEV, Int, 8);
212
213 /* DevPciInternal.h */
214 GEN_CHECK_SIZE(DEVPCIBUS);
215 GEN_CHECK_OFF(DEVPCIBUS, iBus);
216 GEN_CHECK_OFF(DEVPCIBUS, iDevSearch);
217 GEN_CHECK_OFF(DEVPCIBUS, cBridges);
218 GEN_CHECK_OFF(DEVPCIBUS, apDevices);
219 GEN_CHECK_OFF(DEVPCIBUS, apDevices[1]);
220 GEN_CHECK_OFF(DEVPCIBUS, pDevInsR3);
221 GEN_CHECK_OFF(DEVPCIBUS, pPciHlpR3);
222 GEN_CHECK_OFF(DEVPCIBUS, papBridgesR3);
223 GEN_CHECK_OFF(DEVPCIBUS, pDevInsR0);
224 GEN_CHECK_OFF(DEVPCIBUS, pPciHlpR0);
225 GEN_CHECK_OFF(DEVPCIBUS, pDevInsRC);
226 GEN_CHECK_OFF(DEVPCIBUS, pPciHlpRC);
227 GEN_CHECK_OFF(DEVPCIBUS, PciDev);
228 GEN_CHECK_SIZE(PIIX3ISABRIDGE);
229 GEN_CHECK_SIZE(DEVPCIROOT);
230 GEN_CHECK_OFF(DEVPCIROOT, PciBus);
231 GEN_CHECK_OFF(DEVPCIROOT, pDevInsR3);
232 GEN_CHECK_OFF(DEVPCIROOT, pDevInsR0);
233 GEN_CHECK_OFF(DEVPCIROOT, pDevInsRC);
234 GEN_CHECK_OFF(DEVPCIROOT, fUseIoApic);
235 GEN_CHECK_OFF(DEVPCIROOT, u64PciConfigMMioAddress);
236 GEN_CHECK_OFF(DEVPCIROOT, u64PciConfigMMioLength);
237 GEN_CHECK_OFF(DEVPCIROOT, auPciApicIrqLevels);
238 GEN_CHECK_OFF(DEVPCIROOT, auPciApicIrqLevels[1]);
239 GEN_CHECK_OFF(DEVPCIROOT, uConfigReg);
240 GEN_CHECK_OFF(DEVPCIROOT, Piix3.iAcpiIrqLevel);
241 GEN_CHECK_OFF(DEVPCIROOT, Piix3.iAcpiIrq);
242 GEN_CHECK_OFF(DEVPCIROOT, Piix3.auPciLegacyIrqLevels);
243 GEN_CHECK_OFF(DEVPCIROOT, Piix3.auPciLegacyIrqLevels[1]);
244 GEN_CHECK_OFF(DEVPCIROOT, Piix3.PIIX3State);
245 GEN_CHECK_OFF(DEVPCIROOT, uPciBiosBus);
246 GEN_CHECK_OFF(DEVPCIROOT, uPciBiosIo);
247 GEN_CHECK_OFF(DEVPCIROOT, uPciBiosMmio);
248 GEN_CHECK_OFF(DEVPCIROOT, uPciBiosMmio64);
249
250 /* EFI/DevSMC.cpp */
251 GEN_CHECK_SIZE(DEVSMC);
252 GEN_CHECK_OFF(DEVSMC, bCmd);
253 GEN_CHECK_OFF(DEVSMC, offKey);
254 GEN_CHECK_OFF(DEVSMC, offValue);
255 GEN_CHECK_OFF(DEVSMC, cKeys);
256 GEN_CHECK_OFF(DEVSMC, CurKey);
257 GEN_CHECK_OFF(DEVSMC, u);
258 GEN_CHECK_OFF(DEVSMC, u.s);
259 GEN_CHECK_OFF(DEVSMC, u.s.bState);
260 GEN_CHECK_OFF(DEVSMC, u.s.bStatusCode);
261 GEN_CHECK_OFF(DEVSMC, u.s.bStatusCode);
262 GEN_CHECK_OFF(DEVSMC, szOsk0And1);
263 GEN_CHECK_OFF(DEVSMC, bDollaryNumber);
264 GEN_CHECK_OFF(DEVSMC, bShutdownReason);
265 GEN_CHECK_OFF(DEVSMC, bNinjaActionTimerJob);
266
267 /* DevVGA.cpp */
268 GEN_CHECK_SIZE(VGASTATE);
269 GEN_CHECK_OFF(VGASTATE, vram_ptrR3);
270 GEN_CHECK_OFF(VGASTATE, get_bpp);
271 GEN_CHECK_OFF(VGASTATE, get_offsets);
272 GEN_CHECK_OFF(VGASTATE, get_resolution);
273 GEN_CHECK_OFF(VGASTATE, rgb_to_pixel);
274 GEN_CHECK_OFF(VGASTATE, cursor_invalidate);
275 GEN_CHECK_OFF(VGASTATE, cursor_draw_line);
276 GEN_CHECK_OFF(VGASTATE, vram_size);
277 GEN_CHECK_OFF(VGASTATE, latch);
278 GEN_CHECK_OFF(VGASTATE, sr_index);
279 GEN_CHECK_OFF(VGASTATE, sr);
280 GEN_CHECK_OFF(VGASTATE, sr[1]);
281 GEN_CHECK_OFF(VGASTATE, gr_index);
282 GEN_CHECK_OFF(VGASTATE, gr);
283 GEN_CHECK_OFF(VGASTATE, gr[1]);
284 GEN_CHECK_OFF(VGASTATE, ar_index);
285 GEN_CHECK_OFF(VGASTATE, ar);
286 GEN_CHECK_OFF(VGASTATE, ar[1]);
287 GEN_CHECK_OFF(VGASTATE, ar_flip_flop);
288 GEN_CHECK_OFF(VGASTATE, cr_index);
289 GEN_CHECK_OFF(VGASTATE, cr);
290 GEN_CHECK_OFF(VGASTATE, cr[1]);
291 GEN_CHECK_OFF(VGASTATE, msr);
292 GEN_CHECK_OFF(VGASTATE, msr);
293 GEN_CHECK_OFF(VGASTATE, fcr);
294 GEN_CHECK_OFF(VGASTATE, st00);
295 GEN_CHECK_OFF(VGASTATE, st01);
296 GEN_CHECK_OFF(VGASTATE, dac_state);
297 GEN_CHECK_OFF(VGASTATE, dac_sub_index);
298 GEN_CHECK_OFF(VGASTATE, dac_read_index);
299 GEN_CHECK_OFF(VGASTATE, dac_write_index);
300 GEN_CHECK_OFF(VGASTATE, dac_cache);
301 GEN_CHECK_OFF(VGASTATE, dac_cache[1]);
302 GEN_CHECK_OFF(VGASTATE, palette);
303 GEN_CHECK_OFF(VGASTATE, palette[1]);
304 GEN_CHECK_OFF(VGASTATE, bank_offset);
305#ifdef CONFIG_BOCHS_VBE
306 GEN_CHECK_OFF(VGASTATE, vbe_index);
307 GEN_CHECK_OFF(VGASTATE, vbe_regs);
308 GEN_CHECK_OFF(VGASTATE, vbe_regs[1]);
309 GEN_CHECK_OFF(VGASTATE, vbe_regs[VBE_DISPI_INDEX_NB - 1]);
310 GEN_CHECK_OFF(VGASTATE, vbe_start_addr);
311 GEN_CHECK_OFF(VGASTATE, vbe_line_offset);
312 GEN_CHECK_OFF(VGASTATE, vbe_bank_max);
313#endif
314 GEN_CHECK_OFF(VGASTATE, font_offsets);
315 GEN_CHECK_OFF(VGASTATE, font_offsets[1]);
316 GEN_CHECK_OFF(VGASTATE, graphic_mode);
317 GEN_CHECK_OFF(VGASTATE, shift_control);
318 GEN_CHECK_OFF(VGASTATE, double_scan);
319 GEN_CHECK_OFF(VGASTATE, line_offset);
320 GEN_CHECK_OFF(VGASTATE, line_compare);
321 GEN_CHECK_OFF(VGASTATE, start_addr);
322 GEN_CHECK_OFF(VGASTATE, plane_updated);
323 GEN_CHECK_OFF(VGASTATE, last_cw);
324 GEN_CHECK_OFF(VGASTATE, last_ch);
325 GEN_CHECK_OFF(VGASTATE, last_width);
326 GEN_CHECK_OFF(VGASTATE, last_height);
327 GEN_CHECK_OFF(VGASTATE, last_scr_width);
328 GEN_CHECK_OFF(VGASTATE, last_scr_height);
329 GEN_CHECK_OFF(VGASTATE, last_bpp);
330 GEN_CHECK_OFF(VGASTATE, cursor_start);
331 GEN_CHECK_OFF(VGASTATE, cursor_end);
332 GEN_CHECK_OFF(VGASTATE, cursor_offset);
333 GEN_CHECK_OFF(VGASTATE, invalidated_y_table);
334 GEN_CHECK_OFF(VGASTATE, invalidated_y_table[1]);
335 GEN_CHECK_OFF(VGASTATE, invalidated_y_table[(VGA_MAX_HEIGHT / 32) - 1]);
336 GEN_CHECK_OFF(VGASTATE, last_palette);
337 GEN_CHECK_OFF(VGASTATE, last_palette[1]);
338 GEN_CHECK_OFF(VGASTATE, last_ch_attr);
339 GEN_CHECK_OFF(VGASTATE, last_ch_attr[CH_ATTR_SIZE - 1]);
340 GEN_CHECK_OFF(VGASTATE, u32Marker);
341 GEN_CHECK_OFF(VGASTATE, pDevInsRC);
342 GEN_CHECK_OFF(VGASTATE, vram_ptrRC);
343 GEN_CHECK_OFF(VGASTATE, pDevInsR3);
344#ifdef VBOX_WITH_HGSMI
345 GEN_CHECK_OFF(VGASTATE, pHGSMI);
346#endif
347#ifdef VBOX_WITH_VDMA
348 GEN_CHECK_OFF(VGASTATE, pVdma);
349#endif
350 GEN_CHECK_OFF(VGASTATE, IBase);
351 GEN_CHECK_OFF(VGASTATE, IPort);
352#if defined(VBOX_WITH_HGSMI) && (defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_WITH_CRHGSMI))
353 GEN_CHECK_OFF(VGASTATE, IVBVACallbacks);
354#endif
355 GEN_CHECK_OFF(VGASTATE, pDrvBase);
356 GEN_CHECK_OFF(VGASTATE, pDrv);
357 GEN_CHECK_OFF(VGASTATE, RefreshTimer);
358 GEN_CHECK_OFF(VGASTATE, pDevInsR0);
359#ifdef VBOX_WITH_VMSVGA
360 GEN_CHECK_OFF(VGASTATE, svga.u64HostWindowId);
361 GEN_CHECK_OFF(VGASTATE, svga.pFIFOR3);
362 GEN_CHECK_OFF(VGASTATE, svga.pFIFOR0);
363 GEN_CHECK_OFF(VGASTATE, svga.pSvgaR3State);
364 GEN_CHECK_OFF(VGASTATE, svga.p3dState);
365 GEN_CHECK_OFF(VGASTATE, svga.pbVgaFrameBufferR3);
366 GEN_CHECK_OFF(VGASTATE, svga.GCPhysFIFO);
367 GEN_CHECK_OFF(VGASTATE, svga.cbFIFO);
368 GEN_CHECK_OFF(VGASTATE, svga.cbFIFOConfig);
369 GEN_CHECK_OFF(VGASTATE, svga.u32SVGAId);
370 GEN_CHECK_OFF(VGASTATE, svga.fConfigured);
371 GEN_CHECK_OFF(VGASTATE, svga.fBusy);
372 GEN_CHECK_OFF(VGASTATE, svga.fTraces);
373 GEN_CHECK_OFF(VGASTATE, svga.u32GuestId);
374 GEN_CHECK_OFF(VGASTATE, svga.cScratchRegion);
375 GEN_CHECK_OFF(VGASTATE, svga.u32IrqStatus);
376 GEN_CHECK_OFF(VGASTATE, svga.u32IrqMask);
377 GEN_CHECK_OFF(VGASTATE, svga.u32PitchLock);
378 GEN_CHECK_OFF(VGASTATE, svga.u32CurrentGMRId);
379 GEN_CHECK_OFF(VGASTATE, svga.u32RegCaps);
380 GEN_CHECK_OFF(VGASTATE, svga.BasePort);
381 GEN_CHECK_OFF(VGASTATE, svga.u32IndexReg);
382 GEN_CHECK_OFF(VGASTATE, svga.pSupDrvSession);
383 GEN_CHECK_OFF(VGASTATE, svga.FIFORequestSem);
384 GEN_CHECK_OFF(VGASTATE, svga.FIFOExtCmdSem);
385 GEN_CHECK_OFF(VGASTATE, svga.pFIFOIOThread);
386 GEN_CHECK_OFF(VGASTATE, svga.uWidth);
387 GEN_CHECK_OFF(VGASTATE, svga.uHeight);
388 GEN_CHECK_OFF(VGASTATE, svga.uBpp);
389 GEN_CHECK_OFF(VGASTATE, svga.cbScanline);
390 GEN_CHECK_OFF(VGASTATE, svga.u32MaxWidth);
391 GEN_CHECK_OFF(VGASTATE, svga.u32MaxHeight);
392 GEN_CHECK_OFF(VGASTATE, svga.viewport);
393 GEN_CHECK_OFF(VGASTATE, svga.u32ActionFlags);
394 GEN_CHECK_OFF(VGASTATE, svga.f3DEnabled);
395 GEN_CHECK_OFF(VGASTATE, svga.fVRAMTracking);
396 GEN_CHECK_OFF(VGASTATE, svga.u8FIFOExtCommand);
397 GEN_CHECK_OFF(VGASTATE, svga.fFifoExtCommandWakeup);
398 GEN_CHECK_OFF(VGASTATE, svga.au32ScratchRegion);
399 GEN_CHECK_OFF(VGASTATE, svga.StatRegBitsPerPixelWr);
400 GEN_CHECK_OFF(VGASTATE, svga.StatRegWriteOnlyRd);
401#endif
402 GEN_CHECK_OFF(VGASTATE, cMonitors);
403 GEN_CHECK_OFF(VGASTATE, cMilliesRefreshInterval);
404 GEN_CHECK_OFF(VGASTATE, au32DirtyBitmap);
405 GEN_CHECK_OFF(VGASTATE, au32DirtyBitmap[1]);
406 GEN_CHECK_OFF(VGASTATE, au32DirtyBitmap[(VGA_VRAM_MAX / PAGE_SIZE / 32) - 1]);
407 GEN_CHECK_OFF(VGASTATE, fHasDirtyBits);
408 GEN_CHECK_OFF(VGASTATE, fLFBUpdated);
409 GEN_CHECK_OFF(VGASTATE, fGCEnabled);
410 GEN_CHECK_OFF(VGASTATE, fR0Enabled);
411 GEN_CHECK_OFF(VGASTATE, fRemappedVGA);
412 GEN_CHECK_OFF(VGASTATE, fRenderVRAM);
413 GEN_CHECK_OFF(VGASTATE, GCPhysVRAM);
414 GEN_CHECK_OFF(VGASTATE, CritSect);
415 GEN_CHECK_OFF(VGASTATE, Dev);
416 GEN_CHECK_OFF(VGASTATE, StatRZMemoryRead);
417 GEN_CHECK_OFF(VGASTATE, StatR3MemoryRead);
418 GEN_CHECK_OFF(VGASTATE, StatRZMemoryWrite);
419 GEN_CHECK_OFF(VGASTATE, StatR3MemoryWrite);
420#ifdef VBE_BYTEWISE_IO
421 GEN_CHECK_OFF(VGASTATE, fReadVBEData);
422 GEN_CHECK_OFF(VGASTATE, fWriteVBEData);
423 GEN_CHECK_OFF(VGASTATE, fReadVBEIndex);
424 GEN_CHECK_OFF(VGASTATE, fWriteVBEIndex);
425 GEN_CHECK_OFF(VGASTATE, cbWriteVBEData);
426 GEN_CHECK_OFF(VGASTATE, cbWriteVBEIndex);
427# ifdef VBE_NEW_DYN_LIST
428 GEN_CHECK_OFF(VGASTATE, cbWriteVBEExtraAddress);
429# endif
430#endif
431#ifdef VBE_NEW_DYN_LIST
432 GEN_CHECK_OFF(VGASTATE, pbVBEExtraData);
433 GEN_CHECK_OFF(VGASTATE, cbVBEExtraData);
434 GEN_CHECK_OFF(VGASTATE, u16VBEExtraAddress);
435#endif
436 GEN_CHECK_OFF(VGASTATE, pbLogo);
437 GEN_CHECK_OFF(VGASTATE, pszLogoFile);
438 GEN_CHECK_OFF(VGASTATE, pbLogoBitmap);
439 GEN_CHECK_OFF(VGASTATE, offLogoData);
440 GEN_CHECK_OFF(VGASTATE, cbLogo);
441 GEN_CHECK_OFF(VGASTATE, LogoCommand);
442 GEN_CHECK_OFF(VGASTATE, cxLogo);
443 GEN_CHECK_OFF(VGASTATE, cyLogo);
444 GEN_CHECK_OFF(VGASTATE, cLogoPlanes);
445 GEN_CHECK_OFF(VGASTATE, cLogoBits);
446 GEN_CHECK_OFF(VGASTATE, LogoCompression);
447 GEN_CHECK_OFF(VGASTATE, cLogoUsedColors);
448 GEN_CHECK_OFF(VGASTATE, cLogoPalEntries);
449 GEN_CHECK_OFF(VGASTATE, fLogoClearScreen);
450 GEN_CHECK_OFF(VGASTATE, au32LogoPalette);
451 GEN_CHECK_OFF(VGASTATE, pbVgaBios);
452 GEN_CHECK_OFF(VGASTATE, cbVgaBios);
453 GEN_CHECK_OFF(VGASTATE, pszVgaBiosFile);
454#ifdef VBOX_WITH_HGSMI
455 GEN_CHECK_OFF(VGASTATE, IOPortBase);
456#endif
457#ifdef VBOX_WITH_WDDM
458 GEN_CHECK_OFF(VGASTATE, fGuestCaps);
459#endif
460
461 /* Input/pckbd.c */
462 GEN_CHECK_SIZE(KBDState);
463 GEN_CHECK_OFF(KBDState, write_cmd);
464 GEN_CHECK_OFF(KBDState, status);
465 GEN_CHECK_OFF(KBDState, mode);
466 GEN_CHECK_OFF(KBDState, pDevInsR3);
467 GEN_CHECK_OFF(KBDState, pDevInsR0);
468 GEN_CHECK_OFF(KBDState, pDevInsRC);
469 GEN_CHECK_SIZE(KbdKeyQ);
470 GEN_CHECK_OFF(KbdCmdQ, rpos);
471 GEN_CHECK_OFF(KbdCmdQ, wpos);
472 GEN_CHECK_OFF(KbdCmdQ, cUsed);
473 GEN_CHECK_OFF(KbdCmdQ, cSize);
474 GEN_CHECK_OFF(KbdCmdQ, abQueue);
475 GEN_CHECK_SIZE(KbdCmdQ);
476 /* Input/PS2K.c */
477 GEN_CHECK_SIZE(PS2K);
478 GEN_CHECK_OFF(PS2K, fScanning);
479 GEN_CHECK_OFF(PS2K, fNumLockOn);
480 GEN_CHECK_OFF(PS2K, u8ScanSet);
481 GEN_CHECK_OFF(PS2K, u8TypematicCfg);
482 GEN_CHECK_OFF(PS2K, enmTypematicState);
483 GEN_CHECK_OFF(PS2K, keyQ);
484 GEN_CHECK_OFF(PS2K, cmdQ);
485 GEN_CHECK_OFF(PS2K, uTypematicDelay);
486 GEN_CHECK_OFF(PS2K, fThrottleActive);
487 GEN_CHECK_OFF(PS2K, pKbdDelayTimerRC);
488 GEN_CHECK_OFF(PS2K, pKbdDelayTimerR3);
489 GEN_CHECK_OFF(PS2K, pKbdDelayTimerR0);
490 GEN_CHECK_OFF(PS2K, pKbdTypematicTimerRC);
491 GEN_CHECK_OFF(PS2K, pKbdTypematicTimerR3);
492 GEN_CHECK_OFF(PS2K, pKbdTypematicTimerR0);
493 GEN_CHECK_OFF(PS2K, pThrottleTimerRC);
494 GEN_CHECK_OFF(PS2K, pThrottleTimerR3);
495 GEN_CHECK_OFF(PS2K, pThrottleTimerR0);
496 GEN_CHECK_OFF(PS2K, pCritSectR3);
497 GEN_CHECK_OFF(PS2K, Keyboard.IBase);
498 GEN_CHECK_OFF(PS2K, Keyboard.IPort);
499 GEN_CHECK_OFF(PS2K, Keyboard.pDrvBase);
500 GEN_CHECK_OFF(PS2K, Keyboard.pDrv);
501 /* Input/PS2M.c */
502 GEN_CHECK_SIZE(PS2M);
503 GEN_CHECK_OFF(PS2M, u8State);
504 GEN_CHECK_OFF(PS2M, u8SampleRate);
505 GEN_CHECK_OFF(PS2M, u8Resolution);
506 GEN_CHECK_OFF(PS2M, u8CurrCmd);
507 GEN_CHECK_OFF(PS2M, fThrottleActive);
508 GEN_CHECK_OFF(PS2M, fDelayReset);
509 GEN_CHECK_OFF(PS2M, enmMode);
510 GEN_CHECK_OFF(PS2M, enmProtocol);
511 GEN_CHECK_OFF(PS2M, enmKnockState);
512 GEN_CHECK_OFF(PS2M, evtQ);
513 GEN_CHECK_OFF(PS2M, cmdQ);
514 GEN_CHECK_OFF(PS2M, iAccumX);
515 GEN_CHECK_OFF(PS2M, fAccumB);
516 GEN_CHECK_OFF(PS2M, fCurrB);
517 GEN_CHECK_OFF(PS2M, uThrottleDelay);
518 GEN_CHECK_OFF(PS2M, pCritSectR3);
519 GEN_CHECK_OFF(PS2M, pDelayTimerR3);
520 GEN_CHECK_OFF(PS2M, pThrottleTimerR3);
521 GEN_CHECK_OFF(PS2M, pDelayTimerRC);
522 GEN_CHECK_OFF(PS2M, pThrottleTimerRC);
523 GEN_CHECK_OFF(PS2M, pDelayTimerR0);
524 GEN_CHECK_OFF(PS2M, pThrottleTimerR0);
525 GEN_CHECK_OFF(PS2M, Mouse.IBase);
526 GEN_CHECK_OFF(PS2M, Mouse.IPort);
527 GEN_CHECK_OFF(PS2M, Mouse.pDrvBase);
528 GEN_CHECK_OFF(PS2M, Mouse.pDrv);
529
530 /* Network/DevPCNet.cpp */
531 GEN_CHECK_SIZE(PCNETSTATE);
532 GEN_CHECK_OFF(PCNETSTATE, PciDev);
533#ifndef PCNET_NO_POLLING
534 GEN_CHECK_OFF(PCNETSTATE, pTimerPollR3);
535 GEN_CHECK_OFF(PCNETSTATE, pTimerPollR0);
536 GEN_CHECK_OFF(PCNETSTATE, pTimerPollRC);
537#endif
538 GEN_CHECK_OFF(PCNETSTATE, pTimerSoftIntR3);
539 GEN_CHECK_OFF(PCNETSTATE, pTimerSoftIntR0);
540 GEN_CHECK_OFF(PCNETSTATE, pTimerSoftIntRC);
541 GEN_CHECK_OFF(PCNETSTATE, u32RAP);
542 GEN_CHECK_OFF(PCNETSTATE, iISR);
543 GEN_CHECK_OFF(PCNETSTATE, u32Lnkst);
544 GEN_CHECK_OFF(PCNETSTATE, GCRDRA);
545 GEN_CHECK_OFF(PCNETSTATE, GCTDRA);
546 GEN_CHECK_OFF(PCNETSTATE, aPROM);
547 GEN_CHECK_OFF(PCNETSTATE, aPROM[1]);
548 GEN_CHECK_OFF(PCNETSTATE, aCSR);
549 GEN_CHECK_OFF(PCNETSTATE, aCSR[1]);
550 GEN_CHECK_OFF(PCNETSTATE, aCSR[CSR_MAX_REG - 1]);
551 GEN_CHECK_OFF(PCNETSTATE, aBCR);
552 GEN_CHECK_OFF(PCNETSTATE, aBCR[1]);
553 GEN_CHECK_OFF(PCNETSTATE, aBCR[BCR_MAX_RAP - 1]);
554 GEN_CHECK_OFF(PCNETSTATE, aMII);
555 GEN_CHECK_OFF(PCNETSTATE, aMII[1]);
556 GEN_CHECK_OFF(PCNETSTATE, aMII[MII_MAX_REG - 1]);
557 GEN_CHECK_OFF(PCNETSTATE, u16CSR0LastSeenByGuest);
558 GEN_CHECK_OFF(PCNETSTATE, u64LastPoll);
559 GEN_CHECK_OFF(PCNETSTATE, abLoopBuf);
560 GEN_CHECK_OFF(PCNETSTATE, abRecvBuf);
561 GEN_CHECK_OFF(PCNETSTATE, iLog2DescSize);
562 GEN_CHECK_OFF(PCNETSTATE, GCUpperPhys);
563 GEN_CHECK_OFF(PCNETSTATE, pXmitQueueR3);
564 GEN_CHECK_OFF(PCNETSTATE, pXmitQueueR0);
565 GEN_CHECK_OFF(PCNETSTATE, pXmitQueueRC);
566 GEN_CHECK_OFF(PCNETSTATE, pCanRxQueueR3);
567 GEN_CHECK_OFF(PCNETSTATE, pCanRxQueueR0);
568 GEN_CHECK_OFF(PCNETSTATE, pCanRxQueueRC);
569 GEN_CHECK_OFF(PCNETSTATE, pTimerRestore);
570 GEN_CHECK_OFF(PCNETSTATE, pDevInsR3);
571 GEN_CHECK_OFF(PCNETSTATE, pDevInsR0);
572 GEN_CHECK_OFF(PCNETSTATE, pDevInsRC);
573 GEN_CHECK_OFF(PCNETSTATE, pDrvR3);
574 GEN_CHECK_OFF(PCNETSTATE, pDrvBase);
575 GEN_CHECK_OFF(PCNETSTATE, IBase);
576 GEN_CHECK_OFF(PCNETSTATE, INetworkDown);
577 GEN_CHECK_OFF(PCNETSTATE, INetworkConfig);
578 GEN_CHECK_OFF(PCNETSTATE, MMIOBase);
579 GEN_CHECK_OFF(PCNETSTATE, IOPortBase);
580 GEN_CHECK_OFF(PCNETSTATE, fLinkUp);
581 GEN_CHECK_OFF(PCNETSTATE, fLinkTempDown);
582 GEN_CHECK_OFF(PCNETSTATE, cLinkDownReported);
583 GEN_CHECK_OFF(PCNETSTATE, MacConfigured);
584 GEN_CHECK_OFF(PCNETSTATE, Led);
585 GEN_CHECK_OFF(PCNETSTATE, ILeds);
586 GEN_CHECK_OFF(PCNETSTATE, pLedsConnector);
587 GEN_CHECK_OFF(PCNETSTATE, CritSect);
588#ifdef PCNET_NO_POLLING
589 GEN_CHECK_OFF(PCNETSTATE, TDRAPhysOld);
590 GEN_CHECK_OFF(PCNETSTATE, cbTDRAOld);
591 GEN_CHECK_OFF(PCNETSTATE, RDRAPhysOld);
592 GEN_CHECK_OFF(PCNETSTATE, cbRDRAOld);
593 GEN_CHECK_OFF(PCNETSTATE, pfnEMInterpretInstructionGC
594 GEN_CHECK_OFF(PCNETSTATE, pfnEMInterpretInstructionR0
595#endif
596 GEN_CHECK_OFF(PCNETSTATE, fGCEnabled);
597 GEN_CHECK_OFF(PCNETSTATE, fR0Enabled);
598 GEN_CHECK_OFF(PCNETSTATE, fAm79C973);
599 GEN_CHECK_OFF(PCNETSTATE, u32LinkSpeed);
600 GEN_CHECK_OFF(PCNETSTATE, StatReceiveBytes);
601 GEN_CHECK_OFF(PCNETSTATE, StatTransmitBytes);
602#ifdef VBOX_WITH_STATISTICS
603 GEN_CHECK_OFF(PCNETSTATE, StatMMIOReadR3);
604 GEN_CHECK_OFF(PCNETSTATE, StatMMIOReadRZ);
605 GEN_CHECK_OFF(PCNETSTATE, StatMIIReads);
606# ifdef PCNET_NO_POLLING
607 GEN_CHECK_OFF(PCNETSTATE, StatRCVRingWrite);
608 GEN_CHECK_OFF(PCNETSTATE, StatRingWriteOutsideRangeR3);
609# endif
610#endif
611
612 /* PC/DevACPI.cpp */
613 GEN_CHECK_SIZE(ACPIState);
614 GEN_CHECK_OFF(ACPIState, dev);
615 GEN_CHECK_OFF(ACPIState, pm1a_en);
616 GEN_CHECK_OFF(ACPIState, pm1a_sts);
617 GEN_CHECK_OFF(ACPIState, pm1a_ctl);
618 GEN_CHECK_OFF(ACPIState, u64PmTimerInitial);
619 GEN_CHECK_OFF(ACPIState, pPmTimerR3);
620 GEN_CHECK_OFF(ACPIState, pPmTimerR0);
621 GEN_CHECK_OFF(ACPIState, pPmTimerRC);
622 GEN_CHECK_OFF(ACPIState, uPmTimerVal);
623 GEN_CHECK_OFF(ACPIState, gpe0_en);
624 GEN_CHECK_OFF(ACPIState, gpe0_sts);
625 GEN_CHECK_OFF(ACPIState, uBatteryIndex);
626 GEN_CHECK_OFF(ACPIState, au8BatteryInfo);
627 GEN_CHECK_OFF(ACPIState, uSystemInfoIndex);
628 GEN_CHECK_OFF(ACPIState, u64RamSize);
629 GEN_CHECK_OFF(ACPIState, uSleepState);
630 GEN_CHECK_OFF(ACPIState, au8RSDPPage);
631 GEN_CHECK_OFF(ACPIState, u8IndexShift);
632 GEN_CHECK_OFF(ACPIState, u8UseIOApic);
633 GEN_CHECK_OFF(ACPIState, fUseFdc);
634 GEN_CHECK_OFF(ACPIState, fUseHpet);
635 GEN_CHECK_OFF(ACPIState, fUseSmc);
636 GEN_CHECK_OFF(ACPIState, CpuSetAttached);
637 GEN_CHECK_OFF(ACPIState, idCpuLockCheck);
638 GEN_CHECK_OFF(ACPIState, CpuSetLocked);
639 GEN_CHECK_OFF(ACPIState, u32CpuEventType);
640 GEN_CHECK_OFF(ACPIState, u32CpuEvent);
641 GEN_CHECK_OFF(ACPIState, fCpuHotPlug);
642 GEN_CHECK_OFF(ACPIState, u32NicPciAddress);
643 GEN_CHECK_OFF(ACPIState, u32HbcPciAddress);
644 GEN_CHECK_OFF(ACPIState, u64PciConfigMMioAddress);
645 GEN_CHECK_OFF(ACPIState, IBase);
646 GEN_CHECK_OFF(ACPIState, IACPIPort);
647 GEN_CHECK_OFF(ACPIState, pDevInsR3);
648 GEN_CHECK_OFF(ACPIState, pDevInsR0);
649 GEN_CHECK_OFF(ACPIState, pDrvBase);
650 GEN_CHECK_OFF(ACPIState, pDrv);
651 GEN_CHECK_OFF(ACPIState, u16SMBusSlvDat);
652
653 /* PC/DevPIC.cpp */
654 GEN_CHECK_SIZE(PICSTATE);
655 GEN_CHECK_OFF(PICSTATE, last_irr);
656 GEN_CHECK_OFF(PICSTATE, irr);
657 GEN_CHECK_OFF(PICSTATE, imr);
658 GEN_CHECK_OFF(PICSTATE, isr);
659 GEN_CHECK_OFF(PICSTATE, priority_add);
660 GEN_CHECK_OFF(PICSTATE, irq_base);
661 GEN_CHECK_OFF(PICSTATE, read_reg_select);
662 GEN_CHECK_OFF(PICSTATE, poll);
663 GEN_CHECK_OFF(PICSTATE, special_mask);
664 GEN_CHECK_OFF(PICSTATE, init_state);
665 GEN_CHECK_OFF(PICSTATE, auto_eoi);
666 GEN_CHECK_OFF(PICSTATE, rotate_on_auto_eoi);
667 GEN_CHECK_OFF(PICSTATE, special_fully_nested_mode);
668 GEN_CHECK_OFF(PICSTATE, init4);
669 GEN_CHECK_OFF(PICSTATE, elcr);
670 GEN_CHECK_OFF(PICSTATE, elcr_mask);
671 GEN_CHECK_OFF(PICSTATE, pDevInsR3);
672 GEN_CHECK_OFF(PICSTATE, pDevInsR0);
673 GEN_CHECK_OFF(PICSTATE, pDevInsRC);
674 GEN_CHECK_OFF(PICSTATE, idxPic);
675 GEN_CHECK_OFF(PICSTATE, auTags);
676
677 GEN_CHECK_SIZE(DEVPIC);
678 GEN_CHECK_OFF(DEVPIC, aPics);
679 GEN_CHECK_OFF(DEVPIC, aPics[1]);
680 GEN_CHECK_OFF(DEVPIC, pDevInsR3);
681 GEN_CHECK_OFF(DEVPIC, pDevInsR0);
682 GEN_CHECK_OFF(DEVPIC, pDevInsRC);
683 GEN_CHECK_OFF(DEVPIC, pPicHlpR3);
684 GEN_CHECK_OFF(DEVPIC, pPicHlpR0);
685 GEN_CHECK_OFF(DEVPIC, pPicHlpRC);
686#ifdef VBOX_WITH_STATISTICS
687 GEN_CHECK_OFF(DEVPIC, StatSetIrqGC);
688 GEN_CHECK_OFF(DEVPIC, StatClearedActiveSlaveIRQ);
689#endif
690
691 /* PC/DevPit-i8254.cpp */
692 GEN_CHECK_SIZE(DMAState);
693 GEN_CHECK_OFF(DMAState, DMAC);
694 GEN_CHECK_OFF(DMAState, DMAC[0].ChState[0]);
695 GEN_CHECK_OFF(DMAState, DMAC[0].ChState[1]);
696 GEN_CHECK_OFF(DMAState, DMAC[0].u8Mask);
697 GEN_CHECK_OFF(DMAState, DMAC[1].ChState[0]);
698 GEN_CHECK_OFF(DMAState, DMAC[1].ChState[1]);
699 GEN_CHECK_OFF(DMAState, DMAC[1].u8Mask);
700
701 /* PC/DevPit-i8254.cpp */
702 GEN_CHECK_SIZE(PITCHANNEL);
703 GEN_CHECK_OFF(PITCHANNEL, pPitR3);
704 GEN_CHECK_OFF(PITCHANNEL, pTimerR3);
705 GEN_CHECK_OFF(PITCHANNEL, pPitR0);
706 GEN_CHECK_OFF(PITCHANNEL, pTimerR0);
707 GEN_CHECK_OFF(PITCHANNEL, pPitRC);
708 GEN_CHECK_OFF(PITCHANNEL, pTimerRC);
709 GEN_CHECK_OFF(PITCHANNEL, u64ReloadTS);
710 GEN_CHECK_OFF(PITCHANNEL, u64NextTS);
711 GEN_CHECK_OFF(PITCHANNEL, count_load_time);
712 GEN_CHECK_OFF(PITCHANNEL, next_transition_time);
713 GEN_CHECK_OFF(PITCHANNEL, irq);
714 GEN_CHECK_OFF(PITCHANNEL, cRelLogEntries);
715 GEN_CHECK_OFF(PITCHANNEL, count);
716 GEN_CHECK_OFF(PITCHANNEL, latched_count);
717 GEN_CHECK_OFF(PITCHANNEL, count_latched);
718 GEN_CHECK_OFF(PITCHANNEL, status_latched);
719 GEN_CHECK_OFF(PITCHANNEL, status);
720 GEN_CHECK_OFF(PITCHANNEL, read_state);
721 GEN_CHECK_OFF(PITCHANNEL, write_state);
722 GEN_CHECK_OFF(PITCHANNEL, write_latch);
723 GEN_CHECK_OFF(PITCHANNEL, rw_mode);
724 GEN_CHECK_OFF(PITCHANNEL, mode);
725 GEN_CHECK_OFF(PITCHANNEL, bcd);
726 GEN_CHECK_OFF(PITCHANNEL, gate);
727 GEN_CHECK_SIZE(PITSTATE);
728 GEN_CHECK_OFF(PITSTATE, channels);
729 GEN_CHECK_OFF(PITSTATE, channels[1]);
730 GEN_CHECK_OFF(PITSTATE, speaker_data_on);
731// GEN_CHECK_OFF(PITSTATE, dummy_refresh_clock);
732 GEN_CHECK_OFF(PITSTATE, IOPortBaseCfg);
733 GEN_CHECK_OFF(PITSTATE, fSpeakerCfg);
734 GEN_CHECK_OFF(PITSTATE, pDevIns);
735 GEN_CHECK_OFF(PITSTATE, StatPITIrq);
736 GEN_CHECK_OFF(PITSTATE, StatPITHandler);
737
738 /* PC/DevRTC.cpp */
739 GEN_CHECK_SIZE(RTCSTATE);
740 GEN_CHECK_OFF(RTCSTATE, cmos_data);
741 GEN_CHECK_OFF(RTCSTATE, cmos_data[1]);
742 GEN_CHECK_OFF(RTCSTATE, cmos_index);
743 GEN_CHECK_OFF(RTCSTATE, current_tm);
744 GEN_CHECK_OFF(RTCSTATE, current_tm.tm_sec);
745 GEN_CHECK_OFF(RTCSTATE, current_tm.tm_min);
746 GEN_CHECK_OFF(RTCSTATE, current_tm.tm_hour);
747 GEN_CHECK_OFF(RTCSTATE, current_tm.tm_mday);
748 GEN_CHECK_OFF(RTCSTATE, current_tm.tm_mon);
749 GEN_CHECK_OFF(RTCSTATE, current_tm.tm_year);
750 GEN_CHECK_OFF(RTCSTATE, current_tm.tm_wday);
751 GEN_CHECK_OFF(RTCSTATE, current_tm.tm_yday);
752 GEN_CHECK_OFF(RTCSTATE, irq);
753 GEN_CHECK_OFF(RTCSTATE, fUTC);
754 GEN_CHECK_OFF(RTCSTATE, IOPortBase);
755 GEN_CHECK_OFF(RTCSTATE, pPeriodicTimerR0);
756 GEN_CHECK_OFF(RTCSTATE, pPeriodicTimerR3);
757 GEN_CHECK_OFF(RTCSTATE, pPeriodicTimerRC);
758 GEN_CHECK_OFF(RTCSTATE, next_periodic_time);
759 GEN_CHECK_OFF(RTCSTATE, next_second_time);
760 GEN_CHECK_OFF(RTCSTATE, pSecondTimerR0);
761 GEN_CHECK_OFF(RTCSTATE, pSecondTimerR3);
762 GEN_CHECK_OFF(RTCSTATE, pSecondTimerRC);
763 GEN_CHECK_OFF(RTCSTATE, pSecondTimer2R0);
764 GEN_CHECK_OFF(RTCSTATE, pSecondTimer2R3);
765 GEN_CHECK_OFF(RTCSTATE, pSecondTimer2RC);
766 GEN_CHECK_OFF(RTCSTATE, pDevInsR0);
767 GEN_CHECK_OFF(RTCSTATE, pDevInsR3);
768 GEN_CHECK_OFF(RTCSTATE, pDevInsRC);
769 GEN_CHECK_OFF(RTCSTATE, RtcReg);
770 GEN_CHECK_OFF(RTCSTATE, pRtcHlpR3);
771 GEN_CHECK_OFF(RTCSTATE, cRelLogEntries);
772 GEN_CHECK_OFF(RTCSTATE, CurLogPeriod);
773 GEN_CHECK_OFF(RTCSTATE, CurHintPeriod);
774
775 GEN_CHECK_SIZE(APIC);
776 GEN_CHECK_OFF(APIC, pApicDevR0);
777 GEN_CHECK_OFF(APIC, pApicDevR3);
778 GEN_CHECK_OFF(APIC, pApicDevRC);
779 GEN_CHECK_OFF(APIC, HCPhysApicPib);
780 GEN_CHECK_OFF(APIC, pvApicPibR0);
781 GEN_CHECK_OFF(APIC, pvApicPibR3);
782 GEN_CHECK_OFF(APIC, pvApicPibRC);
783 GEN_CHECK_OFF(APIC, cbApicPib);
784 GEN_CHECK_OFF(APIC, fVirtApicRegsEnabled);
785 GEN_CHECK_OFF(APIC, fPostedIntrsEnabled);
786 GEN_CHECK_OFF(APIC, fSupportsTscDeadline);
787 GEN_CHECK_OFF(APIC, fIoApicPresent);
788 GEN_CHECK_OFF(APIC, fRZEnabled);
789 GEN_CHECK_OFF(APIC, enmMaxMode);
790
791 GEN_CHECK_SIZE(APICCPU);
792 GEN_CHECK_OFF(APICCPU, pvApicPageR0);
793 GEN_CHECK_OFF(APICCPU, pvApicPageR3);
794 GEN_CHECK_OFF(APICCPU, pvApicPageRC);
795 GEN_CHECK_OFF(APICCPU, cbApicPage);
796 GEN_CHECK_OFF(APICCPU, uEsrInternal);
797 GEN_CHECK_OFF(APICCPU, uApicBaseMsr);
798 GEN_CHECK_OFF(APICCPU, HCPhysApicPib);
799 GEN_CHECK_OFF(APICCPU, pvApicPibR0);
800 GEN_CHECK_OFF(APICCPU, pvApicPibR3);
801 GEN_CHECK_OFF(APICCPU, pvApicPibRC);
802 GEN_CHECK_OFF(APICCPU, ApicPibLevel);
803 GEN_CHECK_OFF(APICCPU, pTimerR0);
804 GEN_CHECK_OFF(APICCPU, pTimerR3);
805 GEN_CHECK_OFF(APICCPU, pTimerRC);
806 GEN_CHECK_OFF(APICCPU, TimerCritSect);
807 GEN_CHECK_OFF(APICCPU, u64TimerInitial);
808 GEN_CHECK_OFF(APICCPU, uHintedTimerInitialCount);
809 GEN_CHECK_OFF(APICCPU, uHintedTimerShift);
810# ifdef VBOX_WITH_STATISTICS
811 GEN_CHECK_OFF(APICCPU, StatMmioReadRZ);
812 GEN_CHECK_OFF(APICCPU, StatMmioReadR3);
813 GEN_CHECK_OFF(APICCPU, StatMmioWriteRZ);
814 GEN_CHECK_OFF(APICCPU, StatMmioWriteR3);
815 GEN_CHECK_OFF(APICCPU, StatMsrReadRZ);
816 GEN_CHECK_OFF(APICCPU, StatMsrReadR3);
817 GEN_CHECK_OFF(APICCPU, StatMsrWriteRZ);
818 GEN_CHECK_OFF(APICCPU, StatMsrWriteR3);
819 GEN_CHECK_OFF(APICCPU, StatUpdatePendingIntrs);
820 GEN_CHECK_OFF(APICCPU, StatPostIntr);
821 GEN_CHECK_OFF(APICCPU, StatPostIntrAlreadyPending);
822 GEN_CHECK_OFF(APICCPU, StatTimerCallback);
823 GEN_CHECK_OFF(APICCPU, StatTprWrite);
824 GEN_CHECK_OFF(APICCPU, StatTprRead);
825 GEN_CHECK_OFF(APICCPU, StatEoiWrite);
826 GEN_CHECK_OFF(APICCPU, StatMaskedByTpr);
827 GEN_CHECK_OFF(APICCPU, StatMaskedByPpr);
828 GEN_CHECK_OFF(APICCPU, StatTimerIcrWrite);
829 GEN_CHECK_OFF(APICCPU, StatIcrLoWrite);
830 GEN_CHECK_OFF(APICCPU, StatIcrHiWrite);
831 GEN_CHECK_OFF(APICCPU, StatIcrFullWrite);
832# endif /* VBOX_WITH_STATISTICS */
833
834 /* PC/DevIoApic.cpp */
835 GEN_CHECK_SIZE(IOAPIC);
836 GEN_CHECK_OFF(IOAPIC, pDevInsR3);
837 GEN_CHECK_OFF(IOAPIC, pIoApicHlpR3);
838 GEN_CHECK_OFF(IOAPIC, pDevInsR0);
839 GEN_CHECK_OFF(IOAPIC, pIoApicHlpR0);
840 GEN_CHECK_OFF(IOAPIC, pDevInsRC);
841 GEN_CHECK_OFF(IOAPIC, pIoApicHlpRC);
842 GEN_CHECK_OFF(IOAPIC, u8Id);
843 GEN_CHECK_OFF(IOAPIC, u8Index);
844 GEN_CHECK_OFF(IOAPIC, cCpus);
845 GEN_CHECK_OFF(IOAPIC, au64RedirTable);
846 GEN_CHECK_OFF(IOAPIC, uIrr);
847# ifdef VBOX_WITH_STATISTICS
848 GEN_CHECK_OFF(IOAPIC, StatMmioReadRZ);
849 GEN_CHECK_OFF(IOAPIC, StatMmioReadR3);
850 GEN_CHECK_OFF(IOAPIC, StatMmioWriteRZ);
851 GEN_CHECK_OFF(IOAPIC, StatMmioWriteR3);
852 GEN_CHECK_OFF(IOAPIC, StatSetIrqRZ);
853 GEN_CHECK_OFF(IOAPIC, StatSetIrqR3);
854 GEN_CHECK_OFF(IOAPIC, StatSetEoiRZ);
855 GEN_CHECK_OFF(IOAPIC, StatSetEoiR3);
856# endif
857
858 /* Storage/DevATA.cpp */
859 GEN_CHECK_SIZE(BMDMAState);
860 GEN_CHECK_OFF(BMDMAState, u8Cmd);
861 GEN_CHECK_OFF(BMDMAState, u8Status);
862 GEN_CHECK_OFF(BMDMAState, GCPhysAddr);
863 GEN_CHECK_SIZE(BMDMADesc);
864 GEN_CHECK_OFF(BMDMADesc, GCPhysBuffer);
865 GEN_CHECK_OFF(BMDMADesc, cbBuffer);
866 GEN_CHECK_SIZE(ATADevState);
867 GEN_CHECK_OFF(ATADevState, fLBA48);
868 GEN_CHECK_OFF(ATADevState, fATAPI);
869 GEN_CHECK_OFF(ATADevState, fIrqPending);
870 GEN_CHECK_OFF(ATADevState, cMultSectors);
871 GEN_CHECK_OFF(ATADevState, cbSector);
872 GEN_CHECK_OFF(ATADevState, PCHSGeometry.cCylinders);
873 GEN_CHECK_OFF(ATADevState, PCHSGeometry.cHeads);
874 GEN_CHECK_OFF(ATADevState, PCHSGeometry.cSectors);
875 GEN_CHECK_OFF(ATADevState, cSectorsPerIRQ);
876 GEN_CHECK_OFF(ATADevState, cTotalSectors);
877 GEN_CHECK_OFF(ATADevState, uATARegFeature);
878 GEN_CHECK_OFF(ATADevState, uATARegFeatureHOB);
879 GEN_CHECK_OFF(ATADevState, uATARegError);
880 GEN_CHECK_OFF(ATADevState, uATARegNSector);
881 GEN_CHECK_OFF(ATADevState, uATARegNSectorHOB);
882 GEN_CHECK_OFF(ATADevState, uATARegSector);
883 GEN_CHECK_OFF(ATADevState, uATARegSectorHOB);
884 GEN_CHECK_OFF(ATADevState, uATARegLCyl);
885 GEN_CHECK_OFF(ATADevState, uATARegLCylHOB);
886 GEN_CHECK_OFF(ATADevState, uATARegHCyl);
887 GEN_CHECK_OFF(ATADevState, uATARegHCylHOB);
888 GEN_CHECK_OFF(ATADevState, uATARegSelect);
889 GEN_CHECK_OFF(ATADevState, uATARegStatus);
890 GEN_CHECK_OFF(ATADevState, uATARegCommand);
891 GEN_CHECK_OFF(ATADevState, uATARegDevCtl);
892 GEN_CHECK_OFF(ATADevState, uATATransferMode);
893 GEN_CHECK_OFF(ATADevState, uTxDir);
894 GEN_CHECK_OFF(ATADevState, iBeginTransfer);
895 GEN_CHECK_OFF(ATADevState, iSourceSink);
896 GEN_CHECK_OFF(ATADevState, fDMA);
897 GEN_CHECK_OFF(ATADevState, fATAPITransfer);
898 GEN_CHECK_OFF(ATADevState, cbTotalTransfer);
899 GEN_CHECK_OFF(ATADevState, cbElementaryTransfer);
900 GEN_CHECK_OFF(ATADevState, iIOBufferCur);
901 GEN_CHECK_OFF(ATADevState, iIOBufferEnd);
902 GEN_CHECK_OFF(ATADevState, iIOBufferPIODataStart);
903 GEN_CHECK_OFF(ATADevState, iIOBufferPIODataEnd);
904 GEN_CHECK_OFF(ATADevState, iATAPILBA);
905 GEN_CHECK_OFF(ATADevState, cbATAPISector);
906 GEN_CHECK_OFF(ATADevState, aATAPICmd);
907 GEN_CHECK_OFF(ATADevState, aATAPICmd[ATAPI_PACKET_SIZE - 1]);
908 GEN_CHECK_OFF(ATADevState, abATAPISense);
909 GEN_CHECK_OFF(ATADevState, abATAPISense[ATAPI_SENSE_SIZE - 1]);
910 GEN_CHECK_OFF(ATADevState, cNotifiedMediaChange);
911 GEN_CHECK_OFF(ATADevState, MediaEventStatus);
912 GEN_CHECK_OFF(ATADevState, MediaTrackType);
913 GEN_CHECK_OFF(ATADevState, Led);
914 GEN_CHECK_OFF(ATADevState, cbIOBuffer);
915 GEN_CHECK_OFF(ATADevState, pbIOBufferR3);
916 GEN_CHECK_OFF(ATADevState, pbIOBufferR0);
917 GEN_CHECK_OFF(ATADevState, pbIOBufferRC);
918 GEN_CHECK_OFF(ATADevState, StatATADMA);
919 GEN_CHECK_OFF(ATADevState, StatATAPIO);
920 GEN_CHECK_OFF(ATADevState, StatATAPIDMA);
921 GEN_CHECK_OFF(ATADevState, StatATAPIPIO);
922 GEN_CHECK_OFF(ATADevState, StatReads);
923 GEN_CHECK_OFF(ATADevState, StatBytesRead);
924 GEN_CHECK_OFF(ATADevState, StatWrites);
925 GEN_CHECK_OFF(ATADevState, StatBytesWritten);
926 GEN_CHECK_OFF(ATADevState, StatFlushes);
927 GEN_CHECK_OFF(ATADevState, fATAPIPassthrough);
928 GEN_CHECK_OFF(ATADevState, fOverwriteInquiry);
929 GEN_CHECK_OFF(ATADevState, cErrors);
930 GEN_CHECK_OFF(ATADevState, pDrvBase);
931 GEN_CHECK_OFF(ATADevState, pDrvMedia);
932 GEN_CHECK_OFF(ATADevState, pDrvMount);
933 GEN_CHECK_OFF(ATADevState, IBase);
934 GEN_CHECK_OFF(ATADevState, IPort);
935 GEN_CHECK_OFF(ATADevState, IMountNotify);
936 GEN_CHECK_OFF(ATADevState, iLUN);
937 GEN_CHECK_OFF(ATADevState, pDevInsR3);
938 GEN_CHECK_OFF(ATADevState, pDevInsR0);
939 GEN_CHECK_OFF(ATADevState, pDevInsRC);
940 GEN_CHECK_OFF(ATADevState, pControllerR3);
941 GEN_CHECK_OFF(ATADevState, pControllerR0);
942 GEN_CHECK_OFF(ATADevState, pControllerRC);
943 GEN_CHECK_OFF(ATADevState, szSerialNumber);
944 GEN_CHECK_OFF(ATADevState, szSerialNumber[ATA_SERIAL_NUMBER_LENGTH]);
945 GEN_CHECK_OFF(ATADevState, szFirmwareRevision);
946 GEN_CHECK_OFF(ATADevState, szFirmwareRevision[ATA_FIRMWARE_REVISION_LENGTH]);
947 GEN_CHECK_OFF(ATADevState, szModelNumber);
948 GEN_CHECK_OFF(ATADevState, szModelNumber[ATA_MODEL_NUMBER_LENGTH]);
949 GEN_CHECK_OFF(ATADevState, szInquiryVendorId);
950 GEN_CHECK_OFF(ATADevState, szInquiryVendorId[SCSI_INQUIRY_VENDOR_ID_LENGTH]);
951 GEN_CHECK_OFF(ATADevState, szInquiryProductId);
952 GEN_CHECK_OFF(ATADevState, szInquiryProductId[SCSI_INQUIRY_PRODUCT_ID_LENGTH]);
953 GEN_CHECK_OFF(ATADevState, szInquiryRevision);
954 GEN_CHECK_OFF(ATADevState, szInquiryRevision[SCSI_INQUIRY_REVISION_LENGTH]);
955 GEN_CHECK_OFF(ATADevState, pTrackList);
956 GEN_CHECK_SIZE(ATATransferRequest);
957 GEN_CHECK_OFF(ATATransferRequest, iIf);
958 GEN_CHECK_OFF(ATATransferRequest, iBeginTransfer);
959 GEN_CHECK_OFF(ATATransferRequest, iSourceSink);
960 GEN_CHECK_OFF(ATATransferRequest, cbTotalTransfer);
961 GEN_CHECK_OFF(ATATransferRequest, uTxDir);
962 GEN_CHECK_SIZE(ATAAbortRequest);
963 GEN_CHECK_OFF(ATAAbortRequest, iIf);
964 GEN_CHECK_OFF(ATAAbortRequest, fResetDrive);
965 GEN_CHECK_SIZE(ATARequest);
966 GEN_CHECK_OFF(ATARequest, ReqType);
967 GEN_CHECK_OFF(ATARequest, u);
968 GEN_CHECK_OFF(ATARequest, u.t);
969 GEN_CHECK_OFF(ATARequest, u.a);
970 GEN_CHECK_SIZE(ATACONTROLLER);
971 GEN_CHECK_OFF(ATACONTROLLER, IOPortBase1);
972 GEN_CHECK_OFF(ATACONTROLLER, IOPortBase2);
973 GEN_CHECK_OFF(ATACONTROLLER, irq);
974 GEN_CHECK_OFF(ATACONTROLLER, lock);
975 GEN_CHECK_OFF(ATACONTROLLER, iSelectedIf);
976 GEN_CHECK_OFF(ATACONTROLLER, iAIOIf);
977 GEN_CHECK_OFF(ATACONTROLLER, uAsyncIOState);
978 GEN_CHECK_OFF(ATACONTROLLER, fChainedTransfer);
979 GEN_CHECK_OFF(ATACONTROLLER, fReset);
980 GEN_CHECK_OFF(ATACONTROLLER, fRedo);
981 GEN_CHECK_OFF(ATACONTROLLER, fRedoIdle);
982 GEN_CHECK_OFF(ATACONTROLLER, fRedoDMALastDesc);
983 GEN_CHECK_OFF(ATACONTROLLER, BmDma);
984 GEN_CHECK_OFF(ATACONTROLLER, GCPhysFirstDMADesc);
985 GEN_CHECK_OFF(ATACONTROLLER, GCPhysLastDMADesc);
986 GEN_CHECK_OFF(ATACONTROLLER, GCPhysRedoDMABuffer);
987 GEN_CHECK_OFF(ATACONTROLLER, cbRedoDMABuffer);
988 GEN_CHECK_OFF(ATACONTROLLER, aIfs);
989 GEN_CHECK_OFF(ATACONTROLLER, aIfs[1]);
990 GEN_CHECK_OFF(ATACONTROLLER, pDevInsR3);
991 GEN_CHECK_OFF(ATACONTROLLER, pDevInsR0);
992 GEN_CHECK_OFF(ATACONTROLLER, pDevInsRC);
993 GEN_CHECK_OFF(ATACONTROLLER, fShutdown);
994 GEN_CHECK_OFF(ATACONTROLLER, AsyncIOThread);
995 GEN_CHECK_OFF(ATACONTROLLER, hAsyncIOSem);
996 GEN_CHECK_OFF(ATACONTROLLER, aAsyncIORequests[4]);
997 GEN_CHECK_OFF(ATACONTROLLER, AsyncIOReqHead);
998 GEN_CHECK_OFF(ATACONTROLLER, AsyncIOReqTail);
999 GEN_CHECK_OFF(ATACONTROLLER, AsyncIORequestLock);
1000 GEN_CHECK_OFF(ATACONTROLLER, SuspendIOSem);
1001 GEN_CHECK_OFF(ATACONTROLLER, fSignalIdle);
1002 GEN_CHECK_OFF(ATACONTROLLER, DelayIRQMillies);
1003 GEN_CHECK_OFF(ATACONTROLLER, u64ResetTime);
1004 GEN_CHECK_OFF(ATACONTROLLER, StatAsyncOps);
1005 GEN_CHECK_OFF(ATACONTROLLER, StatAsyncMinWait);
1006 GEN_CHECK_OFF(ATACONTROLLER, StatAsyncMaxWait);
1007 GEN_CHECK_OFF(ATACONTROLLER, StatAsyncTimeUS);
1008 GEN_CHECK_OFF(ATACONTROLLER, StatAsyncTime);
1009 GEN_CHECK_OFF(ATACONTROLLER, StatLockWait);
1010 GEN_CHECK_SIZE(PCIATAState);
1011 GEN_CHECK_OFF(PCIATAState, dev);
1012 GEN_CHECK_OFF(PCIATAState, aCts);
1013 GEN_CHECK_OFF(PCIATAState, aCts[1]);
1014 GEN_CHECK_OFF(PCIATAState, pDevIns);
1015 GEN_CHECK_OFF(PCIATAState, IBase);
1016 GEN_CHECK_OFF(PCIATAState, ILeds);
1017 GEN_CHECK_OFF(PCIATAState, pLedsConnector);
1018 GEN_CHECK_OFF(PCIATAState, fRCEnabled);
1019 GEN_CHECK_OFF(PCIATAState, fR0Enabled);
1020
1021#ifdef VBOX_WITH_USB
1022 /* USB/DevOHCI.cpp */
1023 GEN_CHECK_SIZE(OHCIHUBPORT);
1024 GEN_CHECK_OFF(OHCIHUBPORT, fReg);
1025 GEN_CHECK_OFF(OHCIHUBPORT, pDev);
1026
1027 GEN_CHECK_SIZE(OHCIROOTHUB);
1028 GEN_CHECK_OFF(OHCIROOTHUB, pIBase);
1029 GEN_CHECK_OFF(OHCIROOTHUB, pIRhConn);
1030 GEN_CHECK_OFF(OHCIROOTHUB, pIDev);
1031 GEN_CHECK_OFF(OHCIROOTHUB, IBase);
1032 GEN_CHECK_OFF(OHCIROOTHUB, IRhPort);
1033 GEN_CHECK_OFF(OHCIROOTHUB, status);
1034 GEN_CHECK_OFF(OHCIROOTHUB, desc_a);
1035 GEN_CHECK_OFF(OHCIROOTHUB, desc_b);
1036 GEN_CHECK_OFF(OHCIROOTHUB, aPorts);
1037 GEN_CHECK_OFF(OHCIROOTHUB, aPorts[1]);
1038 GEN_CHECK_OFF(OHCIROOTHUB, aPorts[OHCI_NDP_MAX - 1]);
1039 GEN_CHECK_OFF(OHCIROOTHUB, pOhci);
1040
1041 GEN_CHECK_SIZE(OHCI);
1042 GEN_CHECK_OFF(OHCI, PciDev);
1043 GEN_CHECK_OFF(OHCI, MMIOBase);
1044 GEN_CHECK_OFF(OHCI, pEndOfFrameTimerR3);
1045 GEN_CHECK_OFF(OHCI, pEndOfFrameTimerR0);
1046 GEN_CHECK_OFF(OHCI, pEndOfFrameTimerRC);
1047 GEN_CHECK_OFF(OHCI, pDevInsR3);
1048 GEN_CHECK_OFF(OHCI, pDevInsR0);
1049 GEN_CHECK_OFF(OHCI, pDevInsRC);
1050 GEN_CHECK_OFF(OHCI, SofTime);
1051 //GEN_CHECK_OFF(OHCI, dqic:3);
1052 //GEN_CHECK_OFF(OHCI, fno:1);
1053 GEN_CHECK_OFF(OHCI, RootHub);
1054 GEN_CHECK_OFF(OHCI, ctl);
1055 GEN_CHECK_OFF(OHCI, status);
1056 GEN_CHECK_OFF(OHCI, intr_status);
1057 GEN_CHECK_OFF(OHCI, intr);
1058 GEN_CHECK_OFF(OHCI, hcca);
1059 GEN_CHECK_OFF(OHCI, per_cur);
1060 GEN_CHECK_OFF(OHCI, ctrl_cur);
1061 GEN_CHECK_OFF(OHCI, ctrl_head);
1062 GEN_CHECK_OFF(OHCI, bulk_cur);
1063 GEN_CHECK_OFF(OHCI, bulk_head);
1064 GEN_CHECK_OFF(OHCI, done);
1065 //GEN_CHECK_OFF(OHCI, fsmps:15);
1066 //GEN_CHECK_OFF(OHCI, fit:1);
1067 //GEN_CHECK_OFF(OHCI, fi:14);
1068 //GEN_CHECK_OFF(OHCI, frt:1);
1069 GEN_CHECK_OFF(OHCI, HcFmNumber);
1070 GEN_CHECK_OFF(OHCI, pstart);
1071 GEN_CHECK_OFF(OHCI, cTicksPerFrame);
1072 GEN_CHECK_OFF(OHCI, cTicksPerUsbTick);
1073 GEN_CHECK_OFF(OHCI, cInFlight);
1074 GEN_CHECK_OFF(OHCI, aInFlight);
1075 GEN_CHECK_OFF(OHCI, aInFlight[0].GCPhysTD);
1076 GEN_CHECK_OFF(OHCI, aInFlight[0].pUrb);
1077 GEN_CHECK_OFF(OHCI, aInFlight[1]);
1078 GEN_CHECK_OFF(OHCI, cInDoneQueue);
1079 GEN_CHECK_OFF(OHCI, aInDoneQueue);
1080 GEN_CHECK_OFF(OHCI, aInDoneQueue[0].GCPhysTD);
1081 GEN_CHECK_OFF(OHCI, aInDoneQueue[1]);
1082 GEN_CHECK_OFF(OHCI, u32FmDoneQueueTail);
1083 GEN_CHECK_OFF(OHCI, pLoad);
1084# ifdef VBOX_WITH_STATISTICS
1085 GEN_CHECK_OFF(OHCI, StatCanceledIsocUrbs);
1086 GEN_CHECK_OFF(OHCI, StatCanceledGenUrbs);
1087 GEN_CHECK_OFF(OHCI, StatDroppedUrbs);
1088 GEN_CHECK_OFF(OHCI, StatTimer);
1089# endif
1090 GEN_CHECK_OFF(OHCI, CsIrq);
1091 GEN_CHECK_OFF(OHCI, CritSect);
1092
1093# ifdef VBOX_WITH_EHCI_IMPL
1094 /* USB/DevEHCI.cpp */
1095 GEN_CHECK_SIZE(EHCIHUBPORT);
1096 GEN_CHECK_OFF(EHCIHUBPORT, fReg);
1097 GEN_CHECK_OFF(EHCIHUBPORT, pDev);
1098
1099 GEN_CHECK_SIZE(EHCIROOTHUB);
1100 GEN_CHECK_OFF(EHCIROOTHUB, pIBase);
1101 GEN_CHECK_OFF(EHCIROOTHUB, pIRhConn);
1102 GEN_CHECK_OFF(EHCIROOTHUB, pIDev);
1103 GEN_CHECK_OFF(EHCIROOTHUB, IBase);
1104 GEN_CHECK_OFF(EHCIROOTHUB, IRhPort);
1105 GEN_CHECK_OFF(EHCIROOTHUB, Led);
1106 GEN_CHECK_OFF(EHCIROOTHUB, ILeds);
1107 GEN_CHECK_OFF(EHCIROOTHUB, pLedsConnector);
1108 GEN_CHECK_OFF(EHCIROOTHUB, aPorts);
1109 GEN_CHECK_OFF(EHCIROOTHUB, aPorts[1]);
1110 GEN_CHECK_OFF(EHCIROOTHUB, aPorts[EHCI_NDP_MAX - 1]);
1111 GEN_CHECK_OFF(EHCIROOTHUB, pEhci);
1112
1113 GEN_CHECK_SIZE(EHCI);
1114 GEN_CHECK_OFF(EHCI, PciDev);
1115 GEN_CHECK_OFF(EHCI, MMIOBase);
1116 GEN_CHECK_OFF(EHCI, pDevInsR3);
1117 GEN_CHECK_OFF(EHCI, pDevInsR0);
1118 GEN_CHECK_OFF(EHCI, pDevInsRC);
1119 GEN_CHECK_OFF(EHCI, MMIOBase);
1120 GEN_CHECK_OFF(EHCI, SofTime);
1121 GEN_CHECK_OFF(EHCI, RootHub);
1122 GEN_CHECK_OFF(EHCI, cap_length);
1123 GEN_CHECK_OFF(EHCI, hci_version);
1124 GEN_CHECK_OFF(EHCI, hcs_params);
1125 GEN_CHECK_OFF(EHCI, hcc_params);
1126 GEN_CHECK_OFF(EHCI, cmd);
1127 GEN_CHECK_OFF(EHCI, intr_status);
1128 GEN_CHECK_OFF(EHCI, intr);
1129 GEN_CHECK_OFF(EHCI, frame_idx);
1130 GEN_CHECK_OFF(EHCI, ds_segment);
1131 GEN_CHECK_OFF(EHCI, periodic_list_base);
1132 GEN_CHECK_OFF(EHCI, async_list_base);
1133 GEN_CHECK_OFF(EHCI, config);
1134 GEN_CHECK_OFF(EHCI, uIrqInterval);
1135 GEN_CHECK_OFF(EHCI, HcFmNumber);
1136 GEN_CHECK_OFF(EHCI, uFramesPerTimerCall);
1137 GEN_CHECK_OFF(EHCI, cTicksPerFrame);
1138 GEN_CHECK_OFF(EHCI, cTicksPerUsbTick);
1139 GEN_CHECK_OFF(EHCI, cInFlight);
1140 GEN_CHECK_OFF(EHCI, aInFlight);
1141 GEN_CHECK_OFF(EHCI, aInFlight[0].GCPhysTD);
1142 GEN_CHECK_OFF(EHCI, aInFlight[0].pUrb);
1143 GEN_CHECK_OFF(EHCI, aInFlight[1]);
1144 GEN_CHECK_OFF(EHCI, aInFlight[256]);
1145 GEN_CHECK_OFF(EHCI, pLoad);
1146 GEN_CHECK_OFF(EHCI, fAsyncTraversalTimerActive);
1147# ifdef VBOX_WITH_STATISTICS
1148 GEN_CHECK_OFF(EHCI, StatCanceledIsocUrbs);
1149 GEN_CHECK_OFF(EHCI, StatCanceledGenUrbs);
1150 GEN_CHECK_OFF(EHCI, StatDroppedUrbs);
1151# endif
1152 GEN_CHECK_OFF(EHCI, u64TimerHz);
1153 GEN_CHECK_OFF(EHCI, cIdleCycles);
1154 GEN_CHECK_OFF(EHCI, uFrameRate);
1155 GEN_CHECK_OFF(EHCI, fIdle);
1156 GEN_CHECK_OFF(EHCI, hThreadFrame);
1157 GEN_CHECK_OFF(EHCI, hSemEventFrame);
1158 GEN_CHECK_OFF(EHCI, fBusStarted);
1159 GEN_CHECK_OFF(EHCI, CsIrq);
1160 GEN_CHECK_OFF(EHCI, uFrameRateDefault);
1161 GEN_CHECK_OFF(EHCI, nsWait);
1162 GEN_CHECK_OFF(EHCI, CritSect);
1163# endif /* VBOX_WITH_EHCI_IMPL */
1164
1165# ifdef VBOX_WITH_XHCI_IMPL
1166 /* USB/DevXHCI.cpp */
1167 GEN_CHECK_SIZE(XHCIHUBPORT);
1168 GEN_CHECK_OFF(XHCIHUBPORT, portsc);
1169 GEN_CHECK_OFF(XHCIHUBPORT, portpm);
1170 GEN_CHECK_OFF(XHCIHUBPORT, portli);
1171 GEN_CHECK_OFF(XHCIHUBPORT, pDev);
1172
1173 GEN_CHECK_SIZE(XHCIROOTHUB);
1174 GEN_CHECK_OFF(XHCIROOTHUB, pIBase);
1175 GEN_CHECK_OFF(XHCIROOTHUB, pIRhConn);
1176 GEN_CHECK_OFF(XHCIROOTHUB, pIDev);
1177 GEN_CHECK_OFF(XHCIROOTHUB, IBase);
1178 GEN_CHECK_OFF(XHCIROOTHUB, IRhPort);
1179 GEN_CHECK_OFF(XHCIROOTHUB, Led);
1180 GEN_CHECK_OFF(XHCIROOTHUB, cPortsImpl);
1181 GEN_CHECK_OFF(XHCIROOTHUB, pXhci);
1182
1183 GEN_CHECK_SIZE(XHCIINTRPTR);
1184 GEN_CHECK_OFF(XHCIINTRPTR, iman);
1185 GEN_CHECK_OFF(XHCIINTRPTR, imod);
1186 GEN_CHECK_OFF(XHCIINTRPTR, erstba);
1187 GEN_CHECK_OFF(XHCIINTRPTR, erdp);
1188 GEN_CHECK_OFF(XHCIINTRPTR, erep);
1189 GEN_CHECK_OFF(XHCIINTRPTR, erst_idx);
1190 GEN_CHECK_OFF(XHCIINTRPTR, trb_count);
1191 GEN_CHECK_OFF(XHCIINTRPTR, evtr_pcs);
1192 GEN_CHECK_OFF(XHCIINTRPTR, ipe);
1193
1194 GEN_CHECK_SIZE(XHCI);
1195 GEN_CHECK_OFF(XHCI, PciDev);
1196 GEN_CHECK_OFF(XHCI, pDevInsR3);
1197 GEN_CHECK_OFF(XHCI, pDevInsR0);
1198 GEN_CHECK_OFF(XHCI, pDevInsRC);
1199 GEN_CHECK_OFF(XHCI, pNotifierQueueR3);
1200 GEN_CHECK_OFF(XHCI, pNotifierQueueR0);
1201 GEN_CHECK_OFF(XHCI, pNotifierQueueRC);
1202 GEN_CHECK_OFF(XHCI, pWrapTimerR3);
1203 GEN_CHECK_OFF(XHCI, pWrapTimerR0);
1204 GEN_CHECK_OFF(XHCI, pWrapTimerRC);
1205 GEN_CHECK_OFF(XHCI, pWorkerThread);
1206 GEN_CHECK_OFF(XHCI, pSupDrvSession);
1207 GEN_CHECK_OFF(XHCI, hEvtProcess);
1208 GEN_CHECK_OFF(XHCI, fWrkThreadSleeping);
1209 GEN_CHECK_OFF(XHCI, u32TasksNew);
1210 GEN_CHECK_OFF(XHCI, ILeds);
1211 GEN_CHECK_OFF(XHCI, pLedsConnector);
1212 GEN_CHECK_OFF(XHCI, MMIOBase);
1213 GEN_CHECK_OFF(XHCI, RootHub2);
1214 GEN_CHECK_OFF(XHCI, RootHub3);
1215 GEN_CHECK_OFF(XHCI, aPorts);
1216 GEN_CHECK_OFF(XHCI, aPorts[1]);
1217 GEN_CHECK_OFF(XHCI, aPorts[XHCI_NDP_MAX - 1]);
1218 GEN_CHECK_OFF(XHCI, cap_length);
1219 GEN_CHECK_OFF(XHCI, hci_version);
1220 GEN_CHECK_OFF(XHCI, hcs_params3);
1221 GEN_CHECK_OFF(XHCI, hcc_params);
1222 GEN_CHECK_OFF(XHCI, dbell_off);
1223 GEN_CHECK_OFF(XHCI, rts_off);
1224 GEN_CHECK_OFF(XHCI, cmd);
1225 GEN_CHECK_OFF(XHCI, status);
1226 GEN_CHECK_OFF(XHCI, dnctrl);
1227 GEN_CHECK_OFF(XHCI, config);
1228 GEN_CHECK_OFF(XHCI, crcr);
1229 GEN_CHECK_OFF(XHCI, dcbaap);
1230 GEN_CHECK_OFF(XHCI, abExtCap);
1231 GEN_CHECK_OFF(XHCI, cbExtCap);
1232 GEN_CHECK_OFF(XHCI, cmdr_dqp);
1233 GEN_CHECK_OFF(XHCI, cmdr_ccs);
1234 GEN_CHECK_OFF(XHCI, aSlotState);
1235 GEN_CHECK_OFF(XHCI, aBellsRung);
1236 GEN_CHECK_OFF(XHCI, pLoad);
1237# ifdef VBOX_WITH_STATISTICS
1238 GEN_CHECK_OFF(XHCI, StatErrorIsocUrbs);
1239 GEN_CHECK_OFF(XHCI, StatErrorIsocPkts);
1240 GEN_CHECK_OFF(XHCI, StatEventsWritten);
1241 GEN_CHECK_OFF(XHCI, StatEventsDropped);
1242 GEN_CHECK_OFF(XHCI, StatIntrsPending);
1243 GEN_CHECK_OFF(XHCI, StatIntrsSet);
1244 GEN_CHECK_OFF(XHCI, StatIntrsNotSet);
1245 GEN_CHECK_OFF(XHCI, StatIntrsCleared);
1246# endif
1247# endif /* VBOX_WITH_XHCI_IMPL */
1248#endif /* VBOX_WITH_USB */
1249
1250 /* VMMDev/VBoxDev.cpp */
1251
1252 /* Parallel/DevParallel.cpp */
1253 GEN_CHECK_SIZE(PARALLELPORT);
1254 GEN_CHECK_OFF(PARALLELPORT, pDevInsR3);
1255 GEN_CHECK_OFF(PARALLELPORT, pDevInsR0);
1256 GEN_CHECK_OFF(PARALLELPORT, pDevInsRC);
1257 GEN_CHECK_OFF(PARALLELPORT, IBase);
1258 GEN_CHECK_OFF(PARALLELPORT, IHostParallelPort);
1259 GEN_CHECK_OFF(PARALLELPORT, pDrvHostParallelConnector);
1260 GEN_CHECK_OFF(PARALLELPORT, fGCEnabled);
1261 GEN_CHECK_OFF(PARALLELPORT, fR0Enabled);
1262 GEN_CHECK_OFF(PARALLELPORT, fEppTimeout);
1263 GEN_CHECK_OFF(PARALLELPORT, IOBase);
1264 GEN_CHECK_OFF(PARALLELPORT, iIrq);
1265 GEN_CHECK_OFF(PARALLELPORT, regData);
1266 GEN_CHECK_OFF(PARALLELPORT, regStatus);
1267 GEN_CHECK_OFF(PARALLELPORT, regControl);
1268 GEN_CHECK_OFF(PARALLELPORT, regEppAddr);
1269 GEN_CHECK_OFF(PARALLELPORT, regEppData);
1270#if 0
1271 GEN_CHECK_OFF(PARALLELPORT, reg_ecp_ecr);
1272 GEN_CHECK_OFF(PARALLELPORT, reg_ecp_base_plus_400h);
1273 GEN_CHECK_OFF(PARALLELPORT, reg_ecp_config_b);
1274 GEN_CHECK_OFF(PARALLELPORT, ecp_fifo);
1275 GEN_CHECK_OFF(PARALLELPORT, ecp_fifo[1]);
1276 GEN_CHECK_OFF(PARALLELPORT, act_fifo_pos_write);
1277 GEN_CHECK_OFF(PARALLELPORT, act_fifo_pos_read);
1278#endif
1279
1280 /* Serial/UartCore.cpp */
1281 GEN_CHECK_SIZE(UARTCORE);
1282 GEN_CHECK_OFF(UARTCORE, CritSect);
1283 GEN_CHECK_OFF(UARTCORE, pDevInsR3);
1284 GEN_CHECK_OFF(UARTCORE, pDevInsR0);
1285 GEN_CHECK_OFF(UARTCORE, pDevInsRC);
1286 GEN_CHECK_OFF(UARTCORE, iLUN);
1287 GEN_CHECK_OFF(UARTCORE, IBase);
1288 GEN_CHECK_OFF(UARTCORE, ISerialPort);
1289 GEN_CHECK_OFF(UARTCORE, pDrvBase);
1290 GEN_CHECK_OFF(UARTCORE, pDrvSerial);
1291 GEN_CHECK_OFF(UARTCORE, fFlags);
1292 GEN_CHECK_OFF(UARTCORE, enmType);
1293 GEN_CHECK_OFF(UARTCORE, pTimerRcvFifoTimeoutR3);
1294 GEN_CHECK_OFF(UARTCORE, pfnUartIrqReqR3);
1295 GEN_CHECK_OFF(UARTCORE, pTimerRcvFifoTimeoutR0);
1296 GEN_CHECK_OFF(UARTCORE, pfnUartIrqReqR0);
1297 GEN_CHECK_OFF(UARTCORE, pTimerRcvFifoTimeoutRC);
1298 GEN_CHECK_OFF(UARTCORE, pfnUartIrqReqRC);
1299 GEN_CHECK_OFF(UARTCORE, uRegDivisor);
1300 GEN_CHECK_OFF(UARTCORE, uRegRbr);
1301 GEN_CHECK_OFF(UARTCORE, uRegThr);
1302 GEN_CHECK_OFF(UARTCORE, uRegIer);
1303 GEN_CHECK_OFF(UARTCORE, uRegIir);
1304 GEN_CHECK_OFF(UARTCORE, uRegFcr);
1305 GEN_CHECK_OFF(UARTCORE, uRegLcr);
1306 GEN_CHECK_OFF(UARTCORE, uRegMcr);
1307 GEN_CHECK_OFF(UARTCORE, uRegLsr);
1308 GEN_CHECK_OFF(UARTCORE, uRegMsr);
1309 GEN_CHECK_OFF(UARTCORE, uRegScr);
1310 GEN_CHECK_OFF(UARTCORE, fIrqCtiPending);
1311 GEN_CHECK_OFF(UARTCORE, fThreEmptyPending);
1312 GEN_CHECK_OFF(UARTCORE, FifoXmit);
1313 GEN_CHECK_OFF(UARTCORE, FifoRecv);
1314 GEN_CHECK_OFF(UARTCORE, cSymbolXferTicks);
1315 GEN_CHECK_OFF(UARTCORE, cbAvailRdr);
1316
1317 /* Serial/DevSerial.cpp */
1318 GEN_CHECK_SIZE(DEVSERIAL);
1319 GEN_CHECK_OFF(DEVSERIAL, pDevInsR3);
1320 GEN_CHECK_OFF(DEVSERIAL, pDevInsR0);
1321 GEN_CHECK_OFF(DEVSERIAL, pDevInsRC);
1322 GEN_CHECK_OFF(DEVSERIAL, fR0Enabled);
1323 GEN_CHECK_OFF(DEVSERIAL, fRCEnabled);
1324 GEN_CHECK_OFF(DEVSERIAL, uIrq);
1325 GEN_CHECK_OFF(DEVSERIAL, PortBase);
1326 GEN_CHECK_OFF(DEVSERIAL, UartCore);
1327
1328 /* Serial/DevOxPcie958.cpp */
1329 GEN_CHECK_SIZE(DEVOX958);
1330 GEN_CHECK_OFF(DEVOX958, PciDev);
1331 GEN_CHECK_OFF(DEVOX958, pDevInsR3);
1332 GEN_CHECK_OFF(DEVOX958, pDevInsR0);
1333 GEN_CHECK_OFF(DEVOX958, pDevInsRC);
1334 GEN_CHECK_OFF(DEVOX958, fR0Enabled);
1335 GEN_CHECK_OFF(DEVOX958, fRCEnabled);
1336 GEN_CHECK_OFF(DEVOX958, u32RegIrqStsGlob);
1337 GEN_CHECK_OFF(DEVOX958, u32RegIrqEnGlob);
1338 GEN_CHECK_OFF(DEVOX958, u32RegIrqEnWake);
1339 GEN_CHECK_OFF(DEVOX958, cUarts);
1340 GEN_CHECK_OFF(DEVOX958, GCPhysMMIO);
1341 GEN_CHECK_OFF(DEVOX958, aUarts);
1342 GEN_CHECK_OFF(DEVOX958, aUarts[OX958_UARTS_MAX - 1]);
1343
1344#ifdef VBOX_WITH_AHCI
1345 /* Storage/DevAHCI.cpp */
1346
1347 GEN_CHECK_SIZE(AHCIPort);
1348 GEN_CHECK_OFF(AHCIPort, pDevInsR3);
1349 GEN_CHECK_OFF(AHCIPort, pDevInsR0);
1350 GEN_CHECK_OFF(AHCIPort, pDevInsRC);
1351 GEN_CHECK_OFF(AHCIPort, pAhciR3);
1352 GEN_CHECK_OFF(AHCIPort, pAhciR0);
1353 GEN_CHECK_OFF(AHCIPort, pAhciRC);
1354 GEN_CHECK_OFF(AHCIPort, regCLB);
1355 GEN_CHECK_OFF(AHCIPort, regCLBU);
1356 GEN_CHECK_OFF(AHCIPort, regFB);
1357 GEN_CHECK_OFF(AHCIPort, regFBU);
1358 GEN_CHECK_OFF(AHCIPort, regIS);
1359 GEN_CHECK_OFF(AHCIPort, regIE);
1360 GEN_CHECK_OFF(AHCIPort, regCMD);
1361 GEN_CHECK_OFF(AHCIPort, regTFD);
1362 GEN_CHECK_OFF(AHCIPort, regSIG);
1363 GEN_CHECK_OFF(AHCIPort, regSSTS);
1364 GEN_CHECK_OFF(AHCIPort, regSCTL);
1365 GEN_CHECK_OFF(AHCIPort, regSERR);
1366 GEN_CHECK_OFF(AHCIPort, regSACT);
1367 GEN_CHECK_OFF(AHCIPort, regCI);
1368 GEN_CHECK_OFF(AHCIPort, cTasksActive);
1369 GEN_CHECK_OFF(AHCIPort, GCPhysAddrClb);
1370 GEN_CHECK_OFF(AHCIPort, GCPhysAddrFb);
1371 GEN_CHECK_OFF(AHCIPort, fPoweredOn);
1372 GEN_CHECK_OFF(AHCIPort, fSpunUp);
1373 GEN_CHECK_OFF(AHCIPort, fFirstD2HFisSent);
1374 GEN_CHECK_OFF(AHCIPort, fATAPI);
1375 GEN_CHECK_OFF(AHCIPort, fPortReset);
1376 GEN_CHECK_OFF(AHCIPort, fTrimEnabled);
1377 GEN_CHECK_OFF(AHCIPort, fResetDevice);
1378 GEN_CHECK_OFF(AHCIPort, fHotpluggable);
1379 GEN_CHECK_OFF(AHCIPort, fRedo);
1380 GEN_CHECK_OFF(AHCIPort, fWrkThreadSleeping);
1381 GEN_CHECK_OFF(AHCIPort, cTotalSectors);
1382 GEN_CHECK_OFF(AHCIPort, cbSector);
1383 GEN_CHECK_OFF(AHCIPort, cMultSectors);
1384 GEN_CHECK_OFF(AHCIPort, uATATransferMode);
1385 GEN_CHECK_OFF(AHCIPort, abATAPISense);
1386 GEN_CHECK_OFF(AHCIPort, cLogSectorsPerPhysicalExp);
1387 GEN_CHECK_OFF(AHCIPort, iLUN);
1388 GEN_CHECK_OFF(AHCIPort, u32TasksFinished);
1389 GEN_CHECK_OFF(AHCIPort, u32QueuedTasksFinished);
1390 GEN_CHECK_OFF(AHCIPort, u32TasksNew);
1391 GEN_CHECK_OFF(AHCIPort, u32TasksRedo);
1392 GEN_CHECK_OFF(AHCIPort, u32CurrentCommandSlot);
1393 GEN_CHECK_OFF(AHCIPort, pDrvBase);
1394 GEN_CHECK_OFF(AHCIPort, pDrvMedia);
1395 GEN_CHECK_OFF(AHCIPort, pDrvMediaEx);
1396 GEN_CHECK_OFF(AHCIPort, IBase);
1397 GEN_CHECK_OFF(AHCIPort, IPort);
1398 GEN_CHECK_OFF(AHCIPort, IMediaExPort);
1399 GEN_CHECK_OFF(AHCIPort, PCHSGeometry);
1400 GEN_CHECK_OFF(AHCIPort, Led);
1401 GEN_CHECK_OFF(AHCIPort, pAsyncIOThread);
1402
1403 GEN_CHECK_OFF(AHCIPort, pTaskErr);
1404 GEN_CHECK_OFF(AHCIPort, hEvtProcess);
1405 GEN_CHECK_OFF(AHCIPort, szSerialNumber);
1406 GEN_CHECK_OFF(AHCIPort, szSerialNumber[AHCI_SERIAL_NUMBER_LENGTH]); /* One additional byte for the termination.*/
1407 GEN_CHECK_OFF(AHCIPort, szFirmwareRevision);
1408 GEN_CHECK_OFF(AHCIPort, szFirmwareRevision[AHCI_FIRMWARE_REVISION_LENGTH]); /* One additional byte for the termination.*/
1409 GEN_CHECK_OFF(AHCIPort, szModelNumber);
1410 GEN_CHECK_OFF(AHCIPort, szModelNumber[AHCI_MODEL_NUMBER_LENGTH]); /* One additional byte for the termination.*/
1411 GEN_CHECK_OFF(AHCIPort, szInquiryVendorId);
1412 GEN_CHECK_OFF(AHCIPort, szInquiryVendorId[AHCI_ATAPI_INQUIRY_VENDOR_ID_LENGTH]); /* One additional byte for the termination.*/
1413 GEN_CHECK_OFF(AHCIPort, szInquiryProductId);
1414 GEN_CHECK_OFF(AHCIPort, szInquiryProductId[AHCI_ATAPI_INQUIRY_PRODUCT_ID_LENGTH]); /* One additional byte for the termination.*/
1415 GEN_CHECK_OFF(AHCIPort, szInquiryRevision);
1416 GEN_CHECK_OFF(AHCIPort, szInquiryRevision[AHCI_ATAPI_INQUIRY_REVISION_LENGTH]); /* One additional byte for the termination.*/
1417 GEN_CHECK_OFF(AHCIPort, cErrors);
1418 GEN_CHECK_OFF(AHCIPort, fRedo);
1419
1420 GEN_CHECK_SIZE(AHCI);
1421 GEN_CHECK_OFF(AHCI, dev);
1422 GEN_CHECK_OFF(AHCI, pDevInsR3);
1423 GEN_CHECK_OFF(AHCI, pDevInsR0);
1424 GEN_CHECK_OFF(AHCI, pDevInsRC);
1425 GEN_CHECK_OFF(AHCI, IBase);
1426 GEN_CHECK_OFF(AHCI, ILeds);
1427 GEN_CHECK_OFF(AHCI, pLedsConnector);
1428 GEN_CHECK_OFF(AHCI, MMIOBase);
1429 GEN_CHECK_OFF(AHCI, regHbaCap);
1430 GEN_CHECK_OFF(AHCI, regHbaCtrl);
1431 GEN_CHECK_OFF(AHCI, regHbaIs);
1432 GEN_CHECK_OFF(AHCI, regHbaPi);
1433 GEN_CHECK_OFF(AHCI, regHbaVs);
1434 GEN_CHECK_OFF(AHCI, regHbaCccCtl);
1435 GEN_CHECK_OFF(AHCI, regHbaCccPorts);
1436 GEN_CHECK_OFF(AHCI, regIdx);
1437 GEN_CHECK_OFF(AHCI, pHbaCccTimerR3);
1438 GEN_CHECK_OFF(AHCI, pHbaCccTimerR0);
1439 GEN_CHECK_OFF(AHCI, pHbaCccTimerRC);
1440 GEN_CHECK_OFF(AHCI, pNotifierQueueR3);
1441 GEN_CHECK_OFF(AHCI, pNotifierQueueR0);
1442 GEN_CHECK_OFF(AHCI, pNotifierQueueRC);
1443 GEN_CHECK_OFF(AHCI, uCccPortNr);
1444 GEN_CHECK_OFF(AHCI, uCccTimeout);
1445 GEN_CHECK_OFF(AHCI, uCccNr);
1446 GEN_CHECK_OFF(AHCI, uCccCurrentNr);
1447 GEN_CHECK_OFF(AHCI, ahciPort);
1448 GEN_CHECK_OFF(AHCI, ahciPort[AHCI_MAX_NR_PORTS_IMPL-1]);
1449 GEN_CHECK_OFF(AHCI, lock);
1450 GEN_CHECK_OFF(AHCI, u32PortsInterrupted);
1451 GEN_CHECK_OFF(AHCI, cThreadsActive);
1452 GEN_CHECK_OFF(AHCI, fReset);
1453 GEN_CHECK_OFF(AHCI, f64BitAddr);
1454 GEN_CHECK_OFF(AHCI, fGCEnabled);
1455 GEN_CHECK_OFF(AHCI, fR0Enabled);
1456 GEN_CHECK_OFF(AHCI, fSignalIdle);
1457 GEN_CHECK_OFF(AHCI, fBootable);
1458 GEN_CHECK_OFF(AHCI, fLegacyPortResetMethod);
1459 GEN_CHECK_OFF(AHCI, cPortsImpl);
1460 GEN_CHECK_OFF(AHCI, cCmdSlotsAvail);
1461 GEN_CHECK_OFF(AHCI, f8ByteMMIO4BytesWrittenSuccessfully);
1462 GEN_CHECK_OFF(AHCI, pSupDrvSession);
1463#endif /* VBOX_WITH_AHCI */
1464
1465#ifdef VBOX_WITH_E1000
1466 GEN_CHECK_SIZE(EEPROM93C46);
1467 GEN_CHECK_OFF(EEPROM93C46, m_eState);
1468 GEN_CHECK_OFF(EEPROM93C46, m_au16Data);
1469 GEN_CHECK_OFF(EEPROM93C46, m_fWriteEnabled);
1470 GEN_CHECK_OFF(EEPROM93C46, m_u16Word);
1471 GEN_CHECK_OFF(EEPROM93C46, m_u16Mask);
1472 GEN_CHECK_OFF(EEPROM93C46, m_u16Addr);
1473 GEN_CHECK_OFF(EEPROM93C46, m_u32InternalWires);
1474 GEN_CHECK_OFF(EEPROM93C46, m_eOp);
1475
1476 GEN_CHECK_SIZE(E1KSTATE);
1477 GEN_CHECK_OFF(E1KSTATE, IBase);
1478 GEN_CHECK_OFF(E1KSTATE, INetworkDown);
1479 GEN_CHECK_OFF(E1KSTATE, INetworkConfig);
1480 GEN_CHECK_OFF(E1KSTATE, ILeds);
1481 GEN_CHECK_OFF(E1KSTATE, pDrvBase);
1482 GEN_CHECK_OFF(E1KSTATE, pDrvR3);
1483 GEN_CHECK_OFF(E1KSTATE, pDrvR0);
1484 GEN_CHECK_OFF(E1KSTATE, pDrvRC);
1485 GEN_CHECK_OFF(E1KSTATE, pLedsConnector);
1486 GEN_CHECK_OFF(E1KSTATE, pDevInsR3);
1487 GEN_CHECK_OFF(E1KSTATE, pDevInsR0);
1488 GEN_CHECK_OFF(E1KSTATE, pDevInsRC);
1489 GEN_CHECK_OFF(E1KSTATE, pTxQueueR3);
1490 GEN_CHECK_OFF(E1KSTATE, pTxQueueR0);
1491 GEN_CHECK_OFF(E1KSTATE, pTxQueueRC);
1492 GEN_CHECK_OFF(E1KSTATE, pCanRxQueueR3);
1493 GEN_CHECK_OFF(E1KSTATE, pCanRxQueueR0);
1494 GEN_CHECK_OFF(E1KSTATE, pCanRxQueueRC);
1495 GEN_CHECK_OFF(E1KSTATE, pRIDTimerR3);
1496 GEN_CHECK_OFF(E1KSTATE, pRIDTimerR0);
1497 GEN_CHECK_OFF(E1KSTATE, pRIDTimerRC);
1498 GEN_CHECK_OFF(E1KSTATE, pRADTimerR3);
1499 GEN_CHECK_OFF(E1KSTATE, pRADTimerR0);
1500 GEN_CHECK_OFF(E1KSTATE, pRADTimerRC);
1501 GEN_CHECK_OFF(E1KSTATE, pTIDTimerR3);
1502 GEN_CHECK_OFF(E1KSTATE, pTIDTimerR0);
1503 GEN_CHECK_OFF(E1KSTATE, pTIDTimerRC);
1504 GEN_CHECK_OFF(E1KSTATE, pTADTimerR3);
1505 GEN_CHECK_OFF(E1KSTATE, pTADTimerR0);
1506 GEN_CHECK_OFF(E1KSTATE, pTADTimerRC);
1507 GEN_CHECK_OFF(E1KSTATE, pIntTimerR3);
1508 GEN_CHECK_OFF(E1KSTATE, pIntTimerR0);
1509 GEN_CHECK_OFF(E1KSTATE, pIntTimerRC);
1510 GEN_CHECK_OFF(E1KSTATE, pLUTimerR3);
1511 GEN_CHECK_OFF(E1KSTATE, pLUTimerR0);
1512 GEN_CHECK_OFF(E1KSTATE, pLUTimerRC);
1513 GEN_CHECK_OFF(E1KSTATE, cs);
1514# ifndef E1K_GLOBAL_MUTEX
1515 GEN_CHECK_OFF(E1KSTATE, csRx);
1516# endif
1517 GEN_CHECK_OFF(E1KSTATE, addrMMReg);
1518 GEN_CHECK_OFF(E1KSTATE, macConfigured);
1519 GEN_CHECK_OFF(E1KSTATE, IOPortBase);
1520 GEN_CHECK_OFF(E1KSTATE, pciDevice);
1521 GEN_CHECK_OFF(E1KSTATE, u64AckedAt);
1522 GEN_CHECK_OFF(E1KSTATE, fIntRaised);
1523 GEN_CHECK_OFF(E1KSTATE, fCableConnected);
1524 GEN_CHECK_OFF(E1KSTATE, fR0Enabled);
1525 GEN_CHECK_OFF(E1KSTATE, fRCEnabled);
1526 GEN_CHECK_OFF(E1KSTATE, auRegs[E1K_NUM_OF_32BIT_REGS]);
1527 GEN_CHECK_OFF(E1KSTATE, led);
1528 GEN_CHECK_OFF(E1KSTATE, u32PktNo);
1529 GEN_CHECK_OFF(E1KSTATE, uSelectedReg);
1530 GEN_CHECK_OFF(E1KSTATE, auMTA[128]);
1531 GEN_CHECK_OFF(E1KSTATE, aRecAddr);
1532 GEN_CHECK_OFF(E1KSTATE, auVFTA[128]);
1533 GEN_CHECK_OFF(E1KSTATE, u16RxBSize);
1534 GEN_CHECK_OFF(E1KSTATE, fLocked);
1535 GEN_CHECK_OFF(E1KSTATE, fDelayInts);
1536 GEN_CHECK_OFF(E1KSTATE, fIntMaskUsed);
1537 GEN_CHECK_OFF(E1KSTATE, fMaybeOutOfSpace);
1538 GEN_CHECK_OFF(E1KSTATE, hEventMoreRxDescAvail);
1539 GEN_CHECK_OFF(E1KSTATE, contextTSE);
1540 GEN_CHECK_OFF(E1KSTATE, contextNormal);
1541# ifdef E1K_WITH_TXD_CACHE
1542 GEN_CHECK_OFF(E1KSTATE, aTxDescriptors);
1543 GEN_CHECK_OFF(E1KSTATE, nTxDFetched);
1544 GEN_CHECK_OFF(E1KSTATE, iTxDCurrent);
1545 GEN_CHECK_OFF(E1KSTATE, fGSO);
1546 GEN_CHECK_OFF(E1KSTATE, cbTxAlloc);
1547# endif
1548 GEN_CHECK_OFF(E1KSTATE, GsoCtx);
1549 GEN_CHECK_OFF(E1KSTATE, uTxFallback);
1550 GEN_CHECK_OFF(E1KSTATE, fVTag);
1551 GEN_CHECK_OFF(E1KSTATE, u16VTagTCI);
1552 GEN_CHECK_OFF(E1KSTATE, aTxPacketFallback[E1K_MAX_TX_PKT_SIZE]);
1553 GEN_CHECK_OFF(E1KSTATE, u16TxPktLen);
1554 GEN_CHECK_OFF(E1KSTATE, fIPcsum);
1555 GEN_CHECK_OFF(E1KSTATE, fTCPcsum);
1556 GEN_CHECK_OFF(E1KSTATE, u32PayRemain);
1557 GEN_CHECK_OFF(E1KSTATE, u16HdrRemain);
1558 GEN_CHECK_OFF(E1KSTATE, u16SavedFlags);
1559 GEN_CHECK_OFF(E1KSTATE, u32SavedCsum);
1560 GEN_CHECK_OFF(E1KSTATE, eeprom);
1561 GEN_CHECK_OFF(E1KSTATE, phy);
1562 GEN_CHECK_OFF(E1KSTATE, StatReceiveBytes);
1563#endif /* VBOX_WITH_E1000 */
1564
1565#ifdef VBOX_WITH_VIRTIO
1566 GEN_CHECK_OFF(VPCISTATE, cs);
1567 GEN_CHECK_OFF(VPCISTATE, szInstance);
1568 GEN_CHECK_OFF(VPCISTATE, IBase);
1569 GEN_CHECK_OFF(VPCISTATE, ILeds);
1570 GEN_CHECK_OFF(VPCISTATE, pLedsConnector);
1571 GEN_CHECK_OFF(VPCISTATE, pDevInsR3);
1572 GEN_CHECK_OFF(VPCISTATE, pDevInsR0);
1573 GEN_CHECK_OFF(VPCISTATE, pDevInsRC);
1574 GEN_CHECK_OFF(VPCISTATE, pciDevice);
1575 GEN_CHECK_OFF(VPCISTATE, IOPortBase);
1576 GEN_CHECK_OFF(VPCISTATE, led);
1577 GEN_CHECK_OFF(VPCISTATE, uGuestFeatures);
1578 GEN_CHECK_OFF(VPCISTATE, uQueueSelector);
1579 GEN_CHECK_OFF(VPCISTATE, uStatus);
1580 GEN_CHECK_OFF(VPCISTATE, uISR);
1581 GEN_CHECK_OFF(VPCISTATE, Queues);
1582 GEN_CHECK_OFF(VPCISTATE, Queues[VIRTIO_MAX_NQUEUES]);
1583 GEN_CHECK_OFF(VNETSTATE, VPCI);
1584 GEN_CHECK_OFF(VNETSTATE, INetworkDown);
1585 GEN_CHECK_OFF(VNETSTATE, INetworkConfig);
1586 GEN_CHECK_OFF(VNETSTATE, pDrvBase);
1587 GEN_CHECK_OFF(VNETSTATE, pCanRxQueueR3);
1588 GEN_CHECK_OFF(VNETSTATE, pCanRxQueueR0);
1589 GEN_CHECK_OFF(VNETSTATE, pCanRxQueueRC);
1590 GEN_CHECK_OFF(VNETSTATE, pLinkUpTimer);
1591# ifdef VNET_TX_DELAY
1592 GEN_CHECK_OFF(VNETSTATE, pTxTimerR3);
1593 GEN_CHECK_OFF(VNETSTATE, pTxTimerR0);
1594 GEN_CHECK_OFF(VNETSTATE, pTxTimerRC);
1595# endif /* VNET_TX_DELAY */
1596 GEN_CHECK_OFF(VNETSTATE, config);
1597 GEN_CHECK_OFF(VNETSTATE, macConfigured);
1598 GEN_CHECK_OFF(VNETSTATE, fCableConnected);
1599 GEN_CHECK_OFF(VNETSTATE, u32PktNo);
1600 GEN_CHECK_OFF(VNETSTATE, fPromiscuous);
1601 GEN_CHECK_OFF(VNETSTATE, fAllMulti);
1602 GEN_CHECK_OFF(VNETSTATE, pRxQueue);
1603 GEN_CHECK_OFF(VNETSTATE, pTxQueue);
1604 GEN_CHECK_OFF(VNETSTATE, pCtlQueue);
1605 GEN_CHECK_OFF(VNETSTATE, fMaybeOutOfSpace);
1606 GEN_CHECK_OFF(VNETSTATE, hEventMoreRxDescAvail);
1607#endif /* VBOX_WITH_VIRTIO */
1608
1609#ifdef VBOX_WITH_SCSI
1610 GEN_CHECK_SIZE(VBOXSCSI);
1611 GEN_CHECK_OFF(VBOXSCSI, regIdentify);
1612 GEN_CHECK_OFF(VBOXSCSI, uTargetDevice);
1613 GEN_CHECK_OFF(VBOXSCSI, uTxDir);
1614 GEN_CHECK_OFF(VBOXSCSI, cbCDB);
1615 GEN_CHECK_OFF(VBOXSCSI, abCDB);
1616 GEN_CHECK_OFF(VBOXSCSI, abCDB[11]);
1617 GEN_CHECK_OFF(VBOXSCSI, iCDB);
1618 GEN_CHECK_OFF(VBOXSCSI, pbBuf);
1619 GEN_CHECK_OFF(VBOXSCSI, cbBuf);
1620 GEN_CHECK_OFF(VBOXSCSI, iBuf);
1621 GEN_CHECK_OFF(VBOXSCSI, fBusy);
1622 GEN_CHECK_OFF(VBOXSCSI, enmState);
1623#endif
1624
1625 /* VMMDev*.cpp/h */
1626 GEN_CHECK_SIZE(VMMDEV);
1627 GEN_CHECK_OFF(VMMDEV, PciDev);
1628 GEN_CHECK_OFF(VMMDEV, CritSect);
1629 GEN_CHECK_OFF(VMMDEV, hypervisorSize);
1630 GEN_CHECK_OFF(VMMDEV, mouseCapabilities);
1631 GEN_CHECK_OFF(VMMDEV, mouseXAbs);
1632 GEN_CHECK_OFF(VMMDEV, mouseYAbs);
1633 GEN_CHECK_OFF(VMMDEV, fHostCursorRequested);
1634 GEN_CHECK_OFF(VMMDEV, pDevIns);
1635 GEN_CHECK_OFF(VMMDEV, IBase);
1636 GEN_CHECK_OFF(VMMDEV, IPort);
1637#ifdef VBOX_WITH_HGCM
1638 GEN_CHECK_OFF(VMMDEV, IHGCMPort);
1639#endif
1640 GEN_CHECK_OFF(VMMDEV, pDrvBase);
1641 GEN_CHECK_OFF(VMMDEV, pDrv);
1642#ifdef VBOX_WITH_HGCM
1643 GEN_CHECK_OFF(VMMDEV, pHGCMDrv);
1644#endif
1645 GEN_CHECK_OFF(VMMDEV, szMsg);
1646 GEN_CHECK_OFF(VMMDEV, iMsg);
1647 GEN_CHECK_OFF(VMMDEV, irq);
1648 GEN_CHECK_OFF(VMMDEV, u32HostEventFlags);
1649 GEN_CHECK_OFF(VMMDEV, u32GuestFilterMask);
1650 GEN_CHECK_OFF(VMMDEV, u32NewGuestFilterMask);
1651 GEN_CHECK_OFF(VMMDEV, fNewGuestFilterMask);
1652 GEN_CHECK_OFF(VMMDEV, GCPhysVMMDevRAM);
1653 GEN_CHECK_OFF(VMMDEV, pVMMDevRAMR3);
1654 GEN_CHECK_OFF(VMMDEV, pVMMDevHeapR3);
1655 GEN_CHECK_OFF(VMMDEV, GCPhysVMMDevHeap);
1656 GEN_CHECK_OFF(VMMDEV, guestInfo);
1657 GEN_CHECK_OFF(VMMDEV, guestCaps);
1658 GEN_CHECK_OFF(VMMDEV, fu32AdditionsOk);
1659 GEN_CHECK_OFF(VMMDEV, u32VideoAccelEnabled);
1660 GEN_CHECK_OFF(VMMDEV, displayChangeData);
1661 GEN_CHECK_OFF(VMMDEV, pCredentials);
1662 GEN_CHECK_OFF(VMMDEV, cMbMemoryBalloon);
1663 GEN_CHECK_OFF(VMMDEV, cMbMemoryBalloonLast);
1664 GEN_CHECK_OFF(VMMDEV, cbGuestRAM);
1665 GEN_CHECK_OFF(VMMDEV, idSession);
1666 GEN_CHECK_OFF(VMMDEV, u32StatIntervalSize);
1667 GEN_CHECK_OFF(VMMDEV, u32LastStatIntervalSize);
1668 GEN_CHECK_OFF(VMMDEV, fLastSeamlessEnabled),
1669 GEN_CHECK_OFF(VMMDEV, fSeamlessEnabled);
1670 GEN_CHECK_OFF(VMMDEV, fVRDPEnabled);
1671 GEN_CHECK_OFF(VMMDEV, uVRDPExperienceLevel);
1672#ifdef VMMDEV_WITH_ALT_TIMESYNC
1673 GEN_CHECK_OFF(VMMDEV, hostTime);
1674 GEN_CHECK_OFF(VMMDEV, fTimesyncBackdoorLo);
1675#endif
1676 GEN_CHECK_OFF(VMMDEV, fGetHostTimeDisabled);
1677 GEN_CHECK_OFF(VMMDEV, fBackdoorLogDisabled);
1678 GEN_CHECK_OFF(VMMDEV, fKeepCredentials);
1679 GEN_CHECK_OFF(VMMDEV, fHeapEnabled);
1680#ifdef VBOX_WITH_HGCM
1681 GEN_CHECK_OFF(VMMDEV, listHGCMCmd);
1682 GEN_CHECK_OFF(VMMDEV, critsectHGCMCmdList);
1683 GEN_CHECK_OFF(VMMDEV, u32HGCMEnabled);
1684#endif
1685 GEN_CHECK_OFF(VMMDEV, SharedFolders);
1686 GEN_CHECK_OFF(VMMDEV, SharedFolders.Led);
1687 GEN_CHECK_OFF(VMMDEV, SharedFolders.ILeds);
1688 GEN_CHECK_OFF(VMMDEV, SharedFolders.pLedsConnector);
1689 GEN_CHECK_OFF(VMMDEV, fCpuHotPlugEventsEnabled);
1690 GEN_CHECK_OFF(VMMDEV, enmCpuHotPlugEvent);
1691 GEN_CHECK_OFF(VMMDEV, idCpuCore);
1692 GEN_CHECK_OFF(VMMDEV, idCpuPackage);
1693 GEN_CHECK_OFF(VMMDEV, StatMemBalloonChunks);
1694 GEN_CHECK_OFF(VMMDEV, fRZEnabled);
1695 GEN_CHECK_OFF(VMMDEV, fTestingEnabled);
1696 GEN_CHECK_OFF(VMMDEV, fTestingMMIO);
1697 GEN_CHECK_OFF(VMMDEV, u32TestingHighTimestamp);
1698 GEN_CHECK_OFF(VMMDEV, u32TestingCmd);
1699 GEN_CHECK_OFF(VMMDEV, offTestingData);
1700 GEN_CHECK_OFF(VMMDEV, TestingData);
1701 GEN_CHECK_OFF(VMMDEV, TestingData.Value.u64Value);
1702 GEN_CHECK_OFF(VMMDEV, TestingData.Value.u32Unit);
1703 GEN_CHECK_OFF(VMMDEV, TestingData.Value.szName);
1704 GEN_CHECK_OFF(VMMDEV, nsLastHeartbeatTS);
1705 GEN_CHECK_OFF(VMMDEV, fFlatlined);
1706 GEN_CHECK_OFF(VMMDEV, fHeartbeatActive);
1707 GEN_CHECK_OFF(VMMDEV, cNsHeartbeatInterval);
1708 GEN_CHECK_OFF(VMMDEV, cNsHeartbeatTimeout);
1709 GEN_CHECK_OFF(VMMDEV, pFlatlinedTimer);
1710
1711#ifdef VBOX_WITH_BUSLOGIC
1712 GEN_CHECK_SIZE(BUSLOGICDEVICE);
1713 GEN_CHECK_OFF(BUSLOGICDEVICE, pBusLogicR3);
1714 GEN_CHECK_OFF(BUSLOGICDEVICE, pBusLogicR0);
1715 GEN_CHECK_OFF(BUSLOGICDEVICE, pBusLogicRC);
1716 GEN_CHECK_OFF(BUSLOGICDEVICE, fPresent);
1717 GEN_CHECK_OFF(BUSLOGICDEVICE, iLUN);
1718 GEN_CHECK_OFF(BUSLOGICDEVICE, IBase);
1719 GEN_CHECK_OFF(BUSLOGICDEVICE, IMediaPort);
1720 GEN_CHECK_OFF(BUSLOGICDEVICE, IMediaExPort);
1721 GEN_CHECK_OFF(BUSLOGICDEVICE, ILed);
1722 GEN_CHECK_OFF(BUSLOGICDEVICE, pDrvBase);
1723 GEN_CHECK_OFF(BUSLOGICDEVICE, pDrvMedia);
1724 GEN_CHECK_OFF(BUSLOGICDEVICE, pDrvMediaEx);
1725 GEN_CHECK_OFF(BUSLOGICDEVICE, Led);
1726 GEN_CHECK_OFF(BUSLOGICDEVICE, cOutstandingRequests);
1727
1728 GEN_CHECK_SIZE(BUSLOGIC);
1729 GEN_CHECK_OFF(BUSLOGIC, dev);
1730 GEN_CHECK_OFF(BUSLOGIC, pDevInsR3);
1731 GEN_CHECK_OFF(BUSLOGIC, pDevInsR0);
1732 GEN_CHECK_OFF(BUSLOGIC, pDevInsRC);
1733 GEN_CHECK_OFF(BUSLOGIC, IOPortBase);
1734 GEN_CHECK_OFF(BUSLOGIC, MMIOBase);
1735 GEN_CHECK_OFF(BUSLOGIC, regStatus);
1736 GEN_CHECK_OFF(BUSLOGIC, regInterrupt);
1737 GEN_CHECK_OFF(BUSLOGIC, regGeometry);
1738 GEN_CHECK_OFF(BUSLOGIC, LocalRam);
1739 GEN_CHECK_OFF(BUSLOGIC, uOperationCode);
1740 GEN_CHECK_OFF(BUSLOGIC, aCommandBuffer);
1741 GEN_CHECK_OFF(BUSLOGIC, aCommandBuffer[BUSLOGIC_COMMAND_SIZE_MAX]);
1742 GEN_CHECK_OFF(BUSLOGIC, iParameter);
1743 GEN_CHECK_OFF(BUSLOGIC, cbCommandParametersLeft);
1744 GEN_CHECK_OFF(BUSLOGIC, fUseLocalRam);
1745 GEN_CHECK_OFF(BUSLOGIC, aReplyBuffer);
1746 GEN_CHECK_OFF(BUSLOGIC, aReplyBuffer[BUSLOGIC_REPLY_SIZE_MAX]);
1747 GEN_CHECK_OFF(BUSLOGIC, iReply);
1748 GEN_CHECK_OFF(BUSLOGIC, cbReplyParametersLeft);
1749 GEN_CHECK_OFF(BUSLOGIC, fIRQEnabled);
1750 GEN_CHECK_OFF(BUSLOGIC, cMailbox);
1751 GEN_CHECK_OFF(BUSLOGIC, GCPhysAddrMailboxOutgoingBase);
1752 GEN_CHECK_OFF(BUSLOGIC, uMailboxOutgoingPositionCurrent);
1753 GEN_CHECK_OFF(BUSLOGIC, cMailboxesReady);
1754 GEN_CHECK_OFF(BUSLOGIC, fNotificationSent);
1755 GEN_CHECK_OFF(BUSLOGIC, GCPhysAddrMailboxIncomingBase);
1756 GEN_CHECK_OFF(BUSLOGIC, uMailboxIncomingPositionCurrent);
1757 GEN_CHECK_OFF(BUSLOGIC, fStrictRoundRobinMode);
1758 GEN_CHECK_OFF(BUSLOGIC, fExtendedLunCCBFormat);
1759 GEN_CHECK_OFF(BUSLOGIC, pNotifierQueueR3);
1760 GEN_CHECK_OFF(BUSLOGIC, pNotifierQueueR0);
1761 GEN_CHECK_OFF(BUSLOGIC, pNotifierQueueRC);
1762 GEN_CHECK_OFF(BUSLOGIC, CritSectIntr);
1763 GEN_CHECK_OFF(BUSLOGIC, VBoxSCSI);
1764 GEN_CHECK_OFF(BUSLOGIC, aDeviceStates);
1765 GEN_CHECK_OFF(BUSLOGIC, aDeviceStates[BUSLOGIC_MAX_DEVICES-1]);
1766 GEN_CHECK_OFF(BUSLOGIC, IBase);
1767 GEN_CHECK_OFF(BUSLOGIC, ILeds);
1768 GEN_CHECK_OFF(BUSLOGIC, pLedsConnector);
1769 GEN_CHECK_OFF(BUSLOGIC, pMediaNotify);
1770 GEN_CHECK_OFF(BUSLOGIC, fSignalIdle);
1771 GEN_CHECK_OFF(BUSLOGIC, fWrkThreadSleeping);
1772 GEN_CHECK_OFF(BUSLOGIC, fBiosReqPending);
1773 GEN_CHECK_OFF(BUSLOGIC, pSupDrvSession);
1774 GEN_CHECK_OFF(BUSLOGIC, hEvtProcess);
1775 GEN_CHECK_OFF(BUSLOGIC, paGCPhysAddrCCBRedo);
1776 GEN_CHECK_OFF(BUSLOGIC, cReqsRedo);
1777# ifdef LOG_ENABLED
1778 GEN_CHECK_OFF(BUSLOGIC, cInMailboxesReady);
1779# endif
1780#endif /* VBOX_WITH_BUSLOGIC */
1781
1782#ifdef VBOX_WITH_LSILOGIC
1783 GEN_CHECK_SIZE(LSILOGICSCSI);
1784 GEN_CHECK_OFF(LSILOGICSCSI, PciDev);
1785 GEN_CHECK_OFF(LSILOGICSCSI, pDevInsR3);
1786 GEN_CHECK_OFF(LSILOGICSCSI, pDevInsR0);
1787 GEN_CHECK_OFF(LSILOGICSCSI, pDevInsRC);
1788 GEN_CHECK_OFF(LSILOGICSCSI, fGCEnabled);
1789 GEN_CHECK_OFF(LSILOGICSCSI, fR0Enabled);
1790 GEN_CHECK_OFF(LSILOGICSCSI, enmState);
1791 GEN_CHECK_OFF(LSILOGICSCSI, enmWhoInit);
1792 GEN_CHECK_OFF(LSILOGICSCSI, enmDoorbellState);
1793 GEN_CHECK_OFF(LSILOGICSCSI, fDiagnosticEnabled);
1794 GEN_CHECK_OFF(LSILOGICSCSI, fNotificationSent);
1795 GEN_CHECK_OFF(LSILOGICSCSI, fEventNotificationEnabled);
1796 GEN_CHECK_OFF(LSILOGICSCSI, fDiagRegsEnabled);
1797 GEN_CHECK_OFF(LSILOGICSCSI, pNotificationQueueR3);
1798 GEN_CHECK_OFF(LSILOGICSCSI, pNotificationQueueR0);
1799 GEN_CHECK_OFF(LSILOGICSCSI, pNotificationQueueRC);
1800 GEN_CHECK_OFF(LSILOGICSCSI, cDeviceStates);
1801 GEN_CHECK_OFF(LSILOGICSCSI, paDeviceStates);
1802 GEN_CHECK_OFF(LSILOGICSCSI, GCPhysMMIOBase);
1803 GEN_CHECK_OFF(LSILOGICSCSI, IOPortBase);
1804 GEN_CHECK_OFF(LSILOGICSCSI, uInterruptMask);
1805 GEN_CHECK_OFF(LSILOGICSCSI, uInterruptStatus);
1806 GEN_CHECK_OFF(LSILOGICSCSI, aMessage);
1807 GEN_CHECK_OFF(LSILOGICSCSI, aMessage[sizeof(MptConfigurationRequest)-1]);
1808 GEN_CHECK_OFF(LSILOGICSCSI, iMessage);
1809 GEN_CHECK_OFF(LSILOGICSCSI, cMessage);
1810 GEN_CHECK_OFF(LSILOGICSCSI, ReplyBuffer);
1811 GEN_CHECK_OFF(LSILOGICSCSI, uNextReplyEntryRead);
1812 GEN_CHECK_OFF(LSILOGICSCSI, cReplySize);
1813 GEN_CHECK_OFF(LSILOGICSCSI, u16IOCFaultCode);
1814 GEN_CHECK_OFF(LSILOGICSCSI, u32HostMFAHighAddr);
1815 GEN_CHECK_OFF(LSILOGICSCSI, u32SenseBufferHighAddr);
1816 GEN_CHECK_OFF(LSILOGICSCSI, cMaxDevices);
1817 GEN_CHECK_OFF(LSILOGICSCSI, cMaxBuses);
1818 GEN_CHECK_OFF(LSILOGICSCSI, cbReplyFrame);
1819 GEN_CHECK_OFF(LSILOGICSCSI, iDiagnosticAccess);
1820 GEN_CHECK_OFF(LSILOGICSCSI, cReplyQueueEntries);
1821 GEN_CHECK_OFF(LSILOGICSCSI, cRequestQueueEntries);
1822 GEN_CHECK_OFF(LSILOGICSCSI, ReplyPostQueueCritSect);
1823 GEN_CHECK_OFF(LSILOGICSCSI, ReplyFreeQueueCritSect);
1824 GEN_CHECK_OFF(LSILOGICSCSI, RequestQueueCritSect);
1825 GEN_CHECK_OFF(LSILOGICSCSI, ReplyFreeQueueWriteCritSect);
1826 GEN_CHECK_OFF(LSILOGICSCSI, pReplyFreeQueueBaseR3);
1827 GEN_CHECK_OFF(LSILOGICSCSI, pReplyPostQueueBaseR3);
1828 GEN_CHECK_OFF(LSILOGICSCSI, pRequestQueueBaseR3);
1829 GEN_CHECK_OFF(LSILOGICSCSI, pReplyFreeQueueBaseR0);
1830 GEN_CHECK_OFF(LSILOGICSCSI, pReplyPostQueueBaseR0);
1831 GEN_CHECK_OFF(LSILOGICSCSI, pRequestQueueBaseR0);
1832 GEN_CHECK_OFF(LSILOGICSCSI, pReplyFreeQueueBaseRC);
1833 GEN_CHECK_OFF(LSILOGICSCSI, pReplyPostQueueBaseRC);
1834 GEN_CHECK_OFF(LSILOGICSCSI, pRequestQueueBaseRC);
1835 GEN_CHECK_OFF(LSILOGICSCSI, uReplyFreeQueueNextEntryFreeWrite);
1836 GEN_CHECK_OFF(LSILOGICSCSI, uReplyFreeQueueNextAddressRead);
1837 GEN_CHECK_OFF(LSILOGICSCSI, uReplyPostQueueNextEntryFreeWrite);
1838 GEN_CHECK_OFF(LSILOGICSCSI, uReplyPostQueueNextAddressRead);
1839 GEN_CHECK_OFF(LSILOGICSCSI, uRequestQueueNextEntryFreeWrite);
1840 GEN_CHECK_OFF(LSILOGICSCSI, uRequestQueueNextAddressRead);
1841 GEN_CHECK_OFF(LSILOGICSCSI, u16NextHandle);
1842 GEN_CHECK_OFF(LSILOGICSCSI, enmCtrlType);
1843 GEN_CHECK_OFF(LSILOGICSCSI, VBoxSCSI);
1844 GEN_CHECK_OFF(LSILOGICSCSI, IBase);
1845 GEN_CHECK_OFF(LSILOGICSCSI, ILeds);
1846 GEN_CHECK_OFF(LSILOGICSCSI, pLedsConnector);
1847 GEN_CHECK_OFF(LSILOGICSCSI, pMediaNotify);
1848 GEN_CHECK_OFF(LSILOGICSCSI, pConfigurationPages);
1849 GEN_CHECK_OFF(LSILOGICSCSI, fSignalIdle);
1850 GEN_CHECK_OFF(LSILOGICSCSI, fRedo);
1851 GEN_CHECK_OFF(LSILOGICSCSI, fWrkThreadSleeping);
1852 GEN_CHECK_OFF(LSILOGICSCSI, pTasksRedoHead);
1853 GEN_CHECK_OFF(LSILOGICSCSI, u32DiagMemAddr);
1854 GEN_CHECK_OFF(LSILOGICSCSI, cbMemRegns);
1855 GEN_CHECK_OFF(LSILOGICSCSI, ListMemRegns);
1856 GEN_CHECK_OFF(LSILOGICSCSI, pSupDrvSession);
1857 GEN_CHECK_OFF(LSILOGICSCSI, pThreadWrk);
1858 GEN_CHECK_OFF(LSILOGICSCSI, hEvtProcess);
1859#endif /* VBOX_WITH_LSILOGIC */
1860
1861 GEN_CHECK_SIZE(HPET);
1862 GEN_CHECK_OFF(HPET, pDevInsR3);
1863 GEN_CHECK_OFF(HPET, pDevInsR0);
1864 GEN_CHECK_OFF(HPET, pDevInsRC);
1865 GEN_CHECK_OFF(HPET, u64HpetOffset);
1866 GEN_CHECK_OFF(HPET, u32Capabilities);
1867 GEN_CHECK_OFF(HPET, u32Period);
1868 GEN_CHECK_OFF(HPET, u64HpetConfig);
1869 GEN_CHECK_OFF(HPET, u64Isr);
1870 GEN_CHECK_OFF(HPET, u64HpetCounter);
1871 GEN_CHECK_OFF(HPET, CritSect);
1872 GEN_CHECK_OFF(HPET, fIch9);
1873
1874 GEN_CHECK_SIZE(HPETTIMER);
1875 GEN_CHECK_OFF(HPETTIMER, pTimerR3);
1876 GEN_CHECK_OFF(HPETTIMER, pHpetR3);
1877 GEN_CHECK_OFF(HPETTIMER, pTimerR0);
1878 GEN_CHECK_OFF(HPETTIMER, pHpetR0);
1879 GEN_CHECK_OFF(HPETTIMER, pTimerRC);
1880 GEN_CHECK_OFF(HPETTIMER, pHpetRC);
1881 GEN_CHECK_OFF(HPETTIMER, idxTimer);
1882 GEN_CHECK_OFF(HPETTIMER, u64Config);
1883 GEN_CHECK_OFF(HPETTIMER, u64Cmp);
1884 GEN_CHECK_OFF(HPETTIMER, u64Fsb);
1885 GEN_CHECK_OFF(HPETTIMER, u64Period);
1886 GEN_CHECK_OFF(HPETTIMER, u8Wrap);
1887
1888 GEN_CHECK_SIZE(AC97DRIVER);
1889 GEN_CHECK_OFF(AC97DRIVER, Node);
1890 GEN_CHECK_OFF(AC97DRIVER, pAC97State);
1891 GEN_CHECK_OFF(AC97DRIVER, fFlags);
1892 GEN_CHECK_OFF(AC97DRIVER, uLUN);
1893 GEN_CHECK_OFF(AC97DRIVER, fAttached);
1894 GEN_CHECK_OFF(AC97DRIVER, pConnector);
1895 GEN_CHECK_OFF(AC97DRIVER, LineIn);
1896 GEN_CHECK_OFF(AC97DRIVER, MicIn);
1897 GEN_CHECK_OFF(AC97DRIVER, Out);
1898
1899 GEN_CHECK_SIZE(AC97STATE);
1900 GEN_CHECK_OFF(AC97STATE, CritSect);
1901 GEN_CHECK_OFF(AC97STATE, pDevInsR3);
1902 GEN_CHECK_OFF(AC97STATE, pDevInsR0);
1903 GEN_CHECK_OFF(AC97STATE, pDevInsRC);
1904 GEN_CHECK_OFF(AC97STATE, fRZEnabled);
1905 GEN_CHECK_OFF(AC97STATE, glob_cnt);
1906 GEN_CHECK_OFF(AC97STATE, glob_sta);
1907 GEN_CHECK_OFF(AC97STATE, cas);
1908 GEN_CHECK_OFF(AC97STATE, last_samp);
1909 GEN_CHECK_OFF(AC97STATE, mixer_data);
1910 GEN_CHECK_OFF(AC97STATE, StreamLineIn);
1911 GEN_CHECK_OFF(AC97STATE, StreamMicIn);
1912 GEN_CHECK_OFF(AC97STATE, StreamOut);
1913 GEN_CHECK_OFF(AC97STATE, cStreamsActive);
1914#ifndef VBOX_WITH_AUDIO_AC97_CALLBACKS
1915 GEN_CHECK_OFF(AC97STATE, pTimerR3);
1916 GEN_CHECK_OFF(AC97STATE, pTimerR0);
1917 GEN_CHECK_OFF(AC97STATE, pTimerRC);
1918 GEN_CHECK_OFF(AC97STATE, fTimerActive);
1919 GEN_CHECK_OFF(AC97STATE, u8Padding1);
1920 GEN_CHECK_OFF(AC97STATE, cTimerTicks);
1921 GEN_CHECK_OFF(AC97STATE, uTimerTS);
1922#endif
1923#ifdef VBOX_WITH_STATISTICS
1924 GEN_CHECK_OFF(AC97STATE, StatTimer);
1925 GEN_CHECK_OFF(AC97STATE, StatIn);
1926 GEN_CHECK_OFF(AC97STATE, StatOut);
1927 GEN_CHECK_OFF(AC97STATE, StatBytesRead);
1928 GEN_CHECK_OFF(AC97STATE, StatBytesWritten);
1929#endif
1930 GEN_CHECK_OFF(AC97STATE, lstDrv);
1931 GEN_CHECK_OFF(AC97STATE, pMixer);
1932 GEN_CHECK_OFF(AC97STATE, pSinkOut);
1933 GEN_CHECK_OFF(AC97STATE, pSinkLineIn);
1934 GEN_CHECK_OFF(AC97STATE, pSinkMicIn);
1935 GEN_CHECK_OFF(AC97STATE, silence);
1936 GEN_CHECK_OFF(AC97STATE, bup_flag);
1937 GEN_CHECK_OFF(AC97STATE, IBase);
1938 GEN_CHECK_OFF(AC97STATE, IOPortBase);
1939 GEN_CHECK_OFF(AC97STATE, uCodecModel);
1940
1941 GEN_CHECK_SIZE(HDADRIVERSTREAM);
1942 GEN_CHECK_OFF(HDADRIVERSTREAM, DestSource);
1943 GEN_CHECK_OFF(HDADRIVERSTREAM, pMixStrm);
1944
1945 GEN_CHECK_SIZE(HDADRIVER);
1946 GEN_CHECK_OFF(HDADRIVER, Node);
1947 GEN_CHECK_OFF(HDADRIVER, pHDAState);
1948 GEN_CHECK_OFF(HDADRIVER, fFlags);
1949 GEN_CHECK_OFF(HDADRIVER, uLUN);
1950 GEN_CHECK_OFF(HDADRIVER, fAttached);
1951 GEN_CHECK_OFF(HDADRIVER, pConnector);
1952 GEN_CHECK_OFF(HDADRIVER, LineIn);
1953#ifdef VBOX_WITH_HDA_MIC_IN
1954 GEN_CHECK_OFF(HDADRIVER, MicIn);
1955#endif
1956 GEN_CHECK_OFF(HDADRIVER, Front);
1957#ifdef VBOX_WITH_HDA_51_SURROUND
1958 GEN_CHECK_OFF(HDADRIVER, CenterLFE);
1959 GEN_CHECK_OFF(HDADRIVER, Rear);
1960#endif
1961
1962 GEN_CHECK_SIZE(HDABDLESTATE);
1963 GEN_CHECK_OFF(HDABDLESTATE, u32BDLIndex);
1964 GEN_CHECK_OFF(HDABDLESTATE, cbBelowFIFOW);
1965 GEN_CHECK_OFF(HDABDLESTATE, u32BufOff);
1966
1967 GEN_CHECK_SIZE(HDABDLEDESC);
1968 GEN_CHECK_OFF(HDABDLEDESC, u64BufAdr);
1969 GEN_CHECK_OFF(HDABDLEDESC, u32BufSize);
1970 GEN_CHECK_OFF(HDABDLEDESC, fFlags);
1971
1972 GEN_CHECK_SIZE(HDABDLE);
1973 GEN_CHECK_OFF(HDABDLE, Desc);
1974 GEN_CHECK_OFF(HDABDLE, State);
1975
1976 GEN_CHECK_SIZE(HDASTREAMSTATE);
1977 GEN_CHECK_OFF(HDASTREAMSTATE, uCurBDLE);
1978 GEN_CHECK_OFF(HDASTREAMSTATE, fInReset);
1979 GEN_CHECK_OFF(HDASTREAMSTATE, Mapping);
1980 GEN_CHECK_OFF(HDASTREAMSTATE, BDLE);
1981 GEN_CHECK_OFF(HDASTREAMSTATE, pCircBuf);
1982
1983 GEN_CHECK_SIZE(HDASTREAMDBGINFORT);
1984
1985 GEN_CHECK_SIZE(HDASTREAMDBGINFO);
1986 GEN_CHECK_OFF(HDASTREAMDBGINFO, Runtime);
1987
1988 GEN_CHECK_SIZE(HDASTREAM);
1989 GEN_CHECK_OFF(HDASTREAM, u8SD);
1990 GEN_CHECK_OFF(HDASTREAM, u64BDLBase);
1991 GEN_CHECK_OFF(HDASTREAM, u16FMT);
1992 GEN_CHECK_OFF(HDASTREAM, u16FIFOS);
1993 GEN_CHECK_OFF(HDASTREAM, u16LVI);
1994 GEN_CHECK_OFF(HDASTREAM, State);
1995 GEN_CHECK_OFF(HDASTREAM, Dbg);
1996 GEN_CHECK_OFF(HDASTREAM, CritSect);
1997
1998 GEN_CHECK_SIZE(HDASTATE);
1999 GEN_CHECK_OFF(HDASTATE, PciDev);
2000 GEN_CHECK_OFF(HDASTATE, pDevInsR3);
2001 GEN_CHECK_OFF(HDASTATE, pDevInsR0);
2002 GEN_CHECK_OFF(HDASTATE, pDevInsRC);
2003 GEN_CHECK_OFF(HDASTATE, IBase);
2004 GEN_CHECK_OFF(HDASTATE, MMIOBaseAddr);
2005 GEN_CHECK_OFF(HDASTATE, au32Regs[0]);
2006 GEN_CHECK_OFF(HDASTATE, au32Regs[HDA_NUM_REGS]);
2007 GEN_CHECK_OFF(HDASTATE, aStreams);
2008 GEN_CHECK_OFF(HDASTATE, aTags);
2009 GEN_CHECK_OFF(HDASTATE, u64CORBBase);
2010 GEN_CHECK_OFF(HDASTATE, u64RIRBBase);
2011 GEN_CHECK_OFF(HDASTATE, u64DPBase);
2012 GEN_CHECK_OFF(HDASTATE, pu32CorbBuf);
2013 GEN_CHECK_OFF(HDASTATE, cbCorbBuf);
2014 GEN_CHECK_OFF(HDASTATE, pu64RirbBuf);
2015 GEN_CHECK_OFF(HDASTATE, cbRirbBuf);
2016 GEN_CHECK_OFF(HDASTATE, fRZEnabled);
2017#ifdef VBOX_WITH_STATISTICS
2018# ifndef VBOX_WITH_AUDIO_CALLBACKS
2019 GEN_CHECK_OFF(HDASTATE, StatTimer);
2020# endif
2021 GEN_CHECK_OFF(HDASTATE, StatBytesRead);
2022 GEN_CHECK_OFF(HDASTATE, StatBytesWritten);
2023#endif /* VBOX_WITH_STATISTICS */
2024 GEN_CHECK_OFF(HDASTATE, pCodec);
2025 GEN_CHECK_OFF(HDASTATE, lstDrv);
2026 GEN_CHECK_OFF(HDASTATE, pMixer);
2027 GEN_CHECK_OFF(HDASTATE, SinkFront);
2028#ifdef VBOX_WITH_HDA_51_SURROUND
2029 GEN_CHECK_OFF(HDASTATE, SinkCenterLFE);
2030 GEN_CHECK_OFF(HDASTATE, SinkRear);
2031#endif
2032 GEN_CHECK_OFF(HDASTATE, SinkLineIn);
2033#ifdef VBOX_WITH_HDA_MIC_IN
2034 GEN_CHECK_OFF(HDASTATE, SinkMicIn);
2035#endif
2036 GEN_CHECK_OFF(HDASTATE, u64WalClk);
2037 GEN_CHECK_OFF(HDASTATE, u16RespIntCnt);
2038 GEN_CHECK_OFF(HDASTATE, cPosAdjustFrames);
2039 GEN_CHECK_OFF(HDASTATE, u8IRQL);
2040
2041#ifdef VBOX_WITH_NVME_IMPL
2042 GEN_CHECK_SIZE(NVMEQUEUEHDR);
2043 GEN_CHECK_OFF(NVMEQUEUEHDR, u16Id);
2044 GEN_CHECK_OFF(NVMEQUEUEHDR, cEntries);
2045 GEN_CHECK_OFF(NVMEQUEUEHDR, enmState);
2046 GEN_CHECK_OFF(NVMEQUEUEHDR, GCPhysBase);
2047 GEN_CHECK_OFF(NVMEQUEUEHDR, cbEntry);
2048 GEN_CHECK_OFF(NVMEQUEUEHDR, idxHead);
2049 GEN_CHECK_OFF(NVMEQUEUEHDR, idxTail);
2050 GEN_CHECK_OFF(NVMEQUEUEHDR, fPhysCont);
2051 GEN_CHECK_OFF(NVMEQUEUEHDR, enmType);
2052
2053 GEN_CHECK_SIZE(NVMEQUEUESUBM);
2054 GEN_CHECK_OFF(NVMEQUEUESUBM, Hdr);
2055 GEN_CHECK_OFF(NVMEQUEUESUBM, u16CompletionQueueId);
2056 GEN_CHECK_OFF(NVMEQUEUESUBM, enmPriority);
2057 GEN_CHECK_OFF(NVMEQUEUESUBM, hEvtProcess);
2058 GEN_CHECK_OFF(NVMEQUEUESUBM, pWrkThrdR3);
2059 GEN_CHECK_OFF(NVMEQUEUESUBM, NdLstWrkThrdAssgnd);
2060 GEN_CHECK_OFF(NVMEQUEUESUBM, cReqsActive);
2061
2062 GEN_CHECK_SIZE(NVMEQUEUECOMP);
2063 GEN_CHECK_OFF(NVMEQUEUECOMP, Hdr);
2064 GEN_CHECK_OFF(NVMEQUEUECOMP, fIntrEnabled);
2065 GEN_CHECK_OFF(NVMEQUEUECOMP, u32IntrVec);
2066 GEN_CHECK_OFF(NVMEQUEUECOMP, cSubmQueuesRef);
2067 GEN_CHECK_OFF(NVMEQUEUECOMP, cWaiters);
2068 GEN_CHECK_OFF(NVMEQUEUECOMP, LstCompletionsWaiting);
2069 GEN_CHECK_OFF(NVMEQUEUECOMP, hMtx);
2070
2071 GEN_CHECK_SIZE(NVME);
2072 GEN_CHECK_OFF(NVME, PciDev);
2073 GEN_CHECK_OFF(NVME, pDevInsR3);
2074 GEN_CHECK_OFF(NVME, pDevInsR0);
2075 GEN_CHECK_OFF(NVME, pDevInsRC);
2076 GEN_CHECK_OFF(NVME, IBase);
2077 GEN_CHECK_OFF(NVME, ILeds);
2078 GEN_CHECK_OFF(NVME, pLedsConnector);
2079 GEN_CHECK_OFF(NVME, pSupDrvSession);
2080 GEN_CHECK_OFF(NVME, GCPhysMMIO);
2081 GEN_CHECK_OFF(NVME, IOPortBase);
2082 GEN_CHECK_OFF(NVME, cQueuesSubmMax);
2083 GEN_CHECK_OFF(NVME, cQueuesCompMax);
2084 GEN_CHECK_OFF(NVME, cQueueEntriesMax);
2085 GEN_CHECK_OFF(NVME, cTimeoutMax);
2086 GEN_CHECK_OFF(NVME, cWrkThrdsMax);
2087 GEN_CHECK_OFF(NVME, cCompQueuesWaitersMax);
2088 GEN_CHECK_OFF(NVME, cNamespaces);
2089 GEN_CHECK_OFF(NVME, szSerialNumber);
2090 GEN_CHECK_OFF(NVME, szModelNumber);
2091 GEN_CHECK_OFF(NVME, szFirmwareRevision);
2092 GEN_CHECK_OFF(NVME, fRCEnabled);
2093 GEN_CHECK_OFF(NVME, fR0Enabled);
2094 GEN_CHECK_OFF(NVME, enmState);
2095 GEN_CHECK_OFF(NVME, u32IntrMask);
2096 GEN_CHECK_OFF(NVME, aIntrVecs);
2097 GEN_CHECK_OFF(NVME, u32IoCompletionQueueEntrySize);
2098 GEN_CHECK_OFF(NVME, u32IoSubmissionQueueEntrySize);
2099 GEN_CHECK_OFF(NVME, uShutdwnNotifierLast);
2100 GEN_CHECK_OFF(NVME, uAmsSet);
2101 GEN_CHECK_OFF(NVME, uMpsSet);
2102 GEN_CHECK_OFF(NVME, uCssSet);
2103 GEN_CHECK_OFF(NVME, u32RegIdx);
2104 GEN_CHECK_OFF(NVME, cbPage);
2105 GEN_CHECK_OFF(NVME, paQueuesSubmR3);
2106 GEN_CHECK_OFF(NVME, paQueuesCompR3);
2107 GEN_CHECK_OFF(NVME, paQueuesSubmR0);
2108 GEN_CHECK_OFF(NVME, paQueuesCompR0);
2109 GEN_CHECK_OFF(NVME, paQueuesSubmRC);
2110 GEN_CHECK_OFF(NVME, paQueuesCompRC);
2111 GEN_CHECK_OFF(NVME, pvCtrlMemBufR3);
2112 GEN_CHECK_OFF(NVME, GCPhysCtrlMemBuf);
2113 GEN_CHECK_OFF(NVME, cbCtrlMemBuf);
2114 GEN_CHECK_OFF(NVME, u32CtrlMemBufSz);
2115 GEN_CHECK_OFF(NVME, pWakeQueueR3);
2116 GEN_CHECK_OFF(NVME, pWakeQueueR0);
2117 GEN_CHECK_OFF(NVME, pWakeQueueRC);
2118 GEN_CHECK_OFF(NVME, cAsyncEvtReqsMax);
2119 GEN_CHECK_OFF(NVME, CritSectAsyncEvtReqs);
2120 GEN_CHECK_OFF(NVME, paAsyncEvtReqCids);
2121 GEN_CHECK_OFF(NVME, paNamespaces);
2122 GEN_CHECK_OFF(NVME, cWrkThrdsCur);
2123 GEN_CHECK_OFF(NVME, cWrkThrdsActive);
2124 GEN_CHECK_OFF(NVME, LstWrkThrds);
2125 GEN_CHECK_OFF(NVME, CritSectWrkThrds);
2126 GEN_CHECK_OFF(NVME, fSignalIdle);
2127# ifdef VBOX_WITH_STATISTICS
2128 GEN_CHECK_OFF(NVME, aStatMemXfer[0]);
2129 GEN_CHECK_OFF(NVME, aStatMemXfer[NVME_CMBSZ_SUPP_BIT_IDX_MAX]);
2130# endif
2131#endif
2132
2133 return (0);
2134}
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