Changeset 477 in vbox for trunk/include/VBox
- Timestamp:
- Jan 31, 2007 10:24:34 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pdm.h
r332 r477 1954 1954 /** Just a magic for sanity checking. */ 1955 1955 uint32_t u32Magic; 1956 uint32_t u32Alignment; /**< structure size alignment. */ 1956 1957 /** The actual LED status. 1957 1958 * Only the device is allowed to change this. */ … … 4269 4270 /** Structure version number. PDM_RTCREG_VERSION defines the current version. */ 4270 4271 uint32_t u32Version; 4272 uint32_t u32Alignment; /**< structure size alignment. */ 4271 4273 4272 4274 /** … … 5373 5375 /** Structure version. PDM_DEVINS_VERSION defines the current version. */ 5374 5376 uint32_t u32Version; 5377 /** Device instance number. */ 5378 RTUINT iInstance; 5379 /** The base interface of the device. 5380 * The device constructor initializes this if it has any 5381 * device level interfaces to export. To obtain this interface 5382 * call PDMR3QueryDevice(). */ 5383 PDMIBASE IBase; 5375 5384 5376 5385 /** Internal data. */ … … 5385 5394 /** Pointer the HC PDM Device API. */ 5386 5395 HCPTRTYPE(PCPDMDEVHLP) pDevHlp; 5387 /** Pointer the GC PDM Device API. */5388 GCPTRTYPE(PCPDMDEVHLPGC) pDevHlpGC;5389 5396 /** Pointer the R0 PDM Device API. */ 5390 HCPTRTYPE(PCPDMDEVHLPR0) pDevHlpR0;5397 R0PTRTYPE(PCPDMDEVHLPR0) pDevHlpR0; 5391 5398 /** Pointer to device registration structure. */ 5392 5399 HCPTRTYPE(PCPDMDEVREG) pDevReg; 5393 5400 /** Configuration handle. */ 5394 5401 HCPTRTYPE(PCFGMNODE) pCfgHandle; 5395 /** Device instance number. */5396 RTUINT iInstance;5397 5402 /** Pointer to device instance data. */ 5398 5403 HCPTRTYPE(void *) pvInstanceDataHC; 5404 /** Pointer the GC PDM Device API. */ 5405 GCPTRTYPE(PCPDMDEVHLPGC) pDevHlpGC; 5399 5406 /** Pointer to device instance data. */ 5400 5407 GCPTRTYPE(void *) pvInstanceDataGC; 5401 /** The base interface of the device.5402 * The device constructor initializes this if it has any5403 * device level interfaces to export. To obtain this interface5404 * call PDMR3QueryDevice(). */5405 PDMIBASE IBase;5406 5408 #if HC_ARCH_BITS == 32 5407 5409 /* padding to make achInstanceData aligned at 16 byte boundrary. */ 5408 5410 uint32_t au32Padding[HC_ARCH_BITS == 32 ? 2 : 0]; 5409 #endif 5411 #endif 5410 5412 /** Device instance data. The size of this area is defined 5411 5413 * in the PDMDEVREG::cbInstanceData field. */ 5412 char achInstanceData[ 4];5414 char achInstanceData[8]; 5413 5415 } PDMDEVINS; 5414 5416
Note:
See TracChangeset
for help on using the changeset viewer.