Changeset 12978 in vbox for trunk/include/VBox/pdmdev.h
- Timestamp:
- Oct 3, 2008 11:28:44 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pdmdev.h
r12977 r12978 301 301 302 302 /** Current DEVREG version number. */ 303 #define PDM_DEVREG_VERSION 0xc0020000303 #define PDM_DEVREG_VERSION 0xc0020000 304 304 305 305 /** PDM Device Flags. … … 340 340 #define PDM_DEVREG_FLAGS_GUEST_BITS_MASK 0x00000300 341 341 342 /** A convenience. */ 343 #define PDM_DEVREG_FLAGS_DEFAULT_BITS (PDM_DEVREG_FLAGS_GUEST_BITS_DEFAULT | PDM_DEVREG_FLAGS_HOST_BITS_DEFAULT) 344 342 345 /** Indicates that the devices support PAE36 on a 32-bit guest. */ 343 346 #define PDM_DEVREG_FLAGS_PAE36 0x00001000 … … 349 352 * @{ */ 350 353 /** Architecture device. */ 351 #define PDM_DEVREG_CLASS_ARCH RT_BIT(0)354 #define PDM_DEVREG_CLASS_ARCH RT_BIT(0) 352 355 /** Architecture BIOS device. */ 353 #define PDM_DEVREG_CLASS_ARCH_BIOS RT_BIT(1)356 #define PDM_DEVREG_CLASS_ARCH_BIOS RT_BIT(1) 354 357 /** PCI bus brigde. */ 355 #define PDM_DEVREG_CLASS_BUS_PCI RT_BIT(2)358 #define PDM_DEVREG_CLASS_BUS_PCI RT_BIT(2) 356 359 /** ISA bus brigde. */ 357 #define PDM_DEVREG_CLASS_BUS_ISA RT_BIT(3)360 #define PDM_DEVREG_CLASS_BUS_ISA RT_BIT(3) 358 361 /** Input device (mouse, keyboard, joystick, HID, ...). */ 359 #define PDM_DEVREG_CLASS_INPUT RT_BIT(4)362 #define PDM_DEVREG_CLASS_INPUT RT_BIT(4) 360 363 /** Interrupt controller (PIC). */ 361 #define PDM_DEVREG_CLASS_PIC RT_BIT(5)364 #define PDM_DEVREG_CLASS_PIC RT_BIT(5) 362 365 /** Interval controoler (PIT). */ 363 #define PDM_DEVREG_CLASS_PIT RT_BIT(6)366 #define PDM_DEVREG_CLASS_PIT RT_BIT(6) 364 367 /** RTC/CMOS. */ 365 #define PDM_DEVREG_CLASS_RTC RT_BIT(7)368 #define PDM_DEVREG_CLASS_RTC RT_BIT(7) 366 369 /** DMA controller. */ 367 #define PDM_DEVREG_CLASS_DMA RT_BIT(8)370 #define PDM_DEVREG_CLASS_DMA RT_BIT(8) 368 371 /** VMM Device. */ 369 #define PDM_DEVREG_CLASS_VMM_DEV RT_BIT(9)372 #define PDM_DEVREG_CLASS_VMM_DEV RT_BIT(9) 370 373 /** Graphics device, like VGA. */ 371 #define PDM_DEVREG_CLASS_GRAPHICS RT_BIT(10)374 #define PDM_DEVREG_CLASS_GRAPHICS RT_BIT(10) 372 375 /** Storage controller device. */ 373 #define PDM_DEVREG_CLASS_STORAGE RT_BIT(11)376 #define PDM_DEVREG_CLASS_STORAGE RT_BIT(11) 374 377 /** Network interface controller. */ 375 #define PDM_DEVREG_CLASS_NETWORK RT_BIT(12)378 #define PDM_DEVREG_CLASS_NETWORK RT_BIT(12) 376 379 /** Audio. */ 377 #define PDM_DEVREG_CLASS_AUDIO RT_BIT(13)380 #define PDM_DEVREG_CLASS_AUDIO RT_BIT(13) 378 381 /** USB HIC. */ 379 #define PDM_DEVREG_CLASS_BUS_USB RT_BIT(14)382 #define PDM_DEVREG_CLASS_BUS_USB RT_BIT(14) 380 383 /** ACPI. */ 381 #define PDM_DEVREG_CLASS_ACPI RT_BIT(15)384 #define PDM_DEVREG_CLASS_ACPI RT_BIT(15) 382 385 /** Serial controller device. */ 383 #define PDM_DEVREG_CLASS_SERIAL RT_BIT(16)386 #define PDM_DEVREG_CLASS_SERIAL RT_BIT(16) 384 387 /** Parallel controller device */ 385 #define PDM_DEVREG_CLASS_PARALLEL RT_BIT(17)388 #define PDM_DEVREG_CLASS_PARALLEL RT_BIT(17) 386 389 /** Misc devices (always last). */ 387 #define PDM_DEVREG_CLASS_MISC RT_BIT(31)390 #define PDM_DEVREG_CLASS_MISC RT_BIT(31) 388 391 /** @} */ 389 392 … … 393 396 */ 394 397 /** Assert the IRQ (can assume value 1). */ 395 #define PDM_IRQ_LEVEL_HIGH RT_BIT(0)398 #define PDM_IRQ_LEVEL_HIGH RT_BIT(0) 396 399 /** Deassert the IRQ (can assume value 0). */ 397 400 #define PDM_IRQ_LEVEL_LOW 0 398 401 /** flip-flop - assert and then deassert it again immediately. */ 399 #define PDM_IRQ_LEVEL_FLIP_FLOP (RT_BIT(1) | PDM_IRQ_LEVEL_HIGH)402 #define PDM_IRQ_LEVEL_FLIP_FLOP (RT_BIT(1) | PDM_IRQ_LEVEL_HIGH) 400 403 /** @} */ 401 404
Note:
See TracChangeset
for help on using the changeset viewer.