VirtualBox

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

Last change on this file since 60804 was 60804, checked in by vboxsync, 9 years ago

VMM: Introduced the new APIC update force-flag and relevant fixes, Win8.1 SMP boots now.
VMM/HMVMXR0: Fixed the HLT exit to use instruction length and also keep the INHIBIT force-flag
more in sync with the VT-x's guest-interruptibility state.

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