VirtualBox

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

Last change on this file since 52052 was 51341, checked in by vboxsync, 11 years ago

Missing file

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