Changeset 5605 in vbox for trunk/include/VBox/pdmdev.h
- Timestamp:
- Nov 1, 2007 4:09:26 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pdmdev.h
r5525 r5605 332 332 * @{ */ 333 333 /** Architecture device. */ 334 #define PDM_DEVREG_CLASS_ARCH BIT(0)334 #define PDM_DEVREG_CLASS_ARCH RT_BIT(0) 335 335 /** Architecture BIOS device. */ 336 #define PDM_DEVREG_CLASS_ARCH_BIOS BIT(1)336 #define PDM_DEVREG_CLASS_ARCH_BIOS RT_BIT(1) 337 337 /** PCI bus brigde. */ 338 #define PDM_DEVREG_CLASS_BUS_PCI BIT(2)338 #define PDM_DEVREG_CLASS_BUS_PCI RT_BIT(2) 339 339 /** ISA bus brigde. */ 340 #define PDM_DEVREG_CLASS_BUS_ISA BIT(3)340 #define PDM_DEVREG_CLASS_BUS_ISA RT_BIT(3) 341 341 /** Input device (mouse, keyboard, joystick,..). */ 342 #define PDM_DEVREG_CLASS_INPUT BIT(4)342 #define PDM_DEVREG_CLASS_INPUT RT_BIT(4) 343 343 /** Interrupt controller (PIC). */ 344 #define PDM_DEVREG_CLASS_PIC BIT(5)344 #define PDM_DEVREG_CLASS_PIC RT_BIT(5) 345 345 /** Interval controoler (PIT). */ 346 #define PDM_DEVREG_CLASS_PIT BIT(6)346 #define PDM_DEVREG_CLASS_PIT RT_BIT(6) 347 347 /** RTC/CMOS. */ 348 #define PDM_DEVREG_CLASS_RTC BIT(7)348 #define PDM_DEVREG_CLASS_RTC RT_BIT(7) 349 349 /** DMA controller. */ 350 #define PDM_DEVREG_CLASS_DMA BIT(8)350 #define PDM_DEVREG_CLASS_DMA RT_BIT(8) 351 351 /** VMM Device. */ 352 #define PDM_DEVREG_CLASS_VMM_DEV BIT(9)352 #define PDM_DEVREG_CLASS_VMM_DEV RT_BIT(9) 353 353 /** Graphics device, like VGA. */ 354 #define PDM_DEVREG_CLASS_GRAPHICS BIT(10)354 #define PDM_DEVREG_CLASS_GRAPHICS RT_BIT(10) 355 355 /** Storage controller device. */ 356 #define PDM_DEVREG_CLASS_STORAGE BIT(11)356 #define PDM_DEVREG_CLASS_STORAGE RT_BIT(11) 357 357 /** Network interface controller. */ 358 #define PDM_DEVREG_CLASS_NETWORK BIT(12)358 #define PDM_DEVREG_CLASS_NETWORK RT_BIT(12) 359 359 /** Audio. */ 360 #define PDM_DEVREG_CLASS_AUDIO BIT(13)360 #define PDM_DEVREG_CLASS_AUDIO RT_BIT(13) 361 361 /** USB HIC. */ 362 #define PDM_DEVREG_CLASS_BUS_USB BIT(14)362 #define PDM_DEVREG_CLASS_BUS_USB RT_BIT(14) 363 363 /** ACPI. */ 364 #define PDM_DEVREG_CLASS_ACPI BIT(15)364 #define PDM_DEVREG_CLASS_ACPI RT_BIT(15) 365 365 /** Serial controller device. */ 366 #define PDM_DEVREG_CLASS_SERIAL BIT(16)366 #define PDM_DEVREG_CLASS_SERIAL RT_BIT(16) 367 367 /** Parallel controller device */ 368 #define PDM_DEVREG_CLASS_PARALLEL BIT(17)368 #define PDM_DEVREG_CLASS_PARALLEL RT_BIT(17) 369 369 /** Misc devices (always last). */ 370 #define PDM_DEVREG_CLASS_MISC BIT(31)370 #define PDM_DEVREG_CLASS_MISC RT_BIT(31) 371 371 /** @} */ 372 372 … … 376 376 */ 377 377 /** Assert the IRQ (can assume value 1). */ 378 #define PDM_IRQ_LEVEL_HIGH BIT(0)378 #define PDM_IRQ_LEVEL_HIGH RT_BIT(0) 379 379 /** Deassert the IRQ (can assume value 0). */ 380 380 #define PDM_IRQ_LEVEL_LOW 0 381 381 /** flip-flop - assert and then deassert it again immediately. */ 382 #define PDM_IRQ_LEVEL_FLIP_FLOP ( BIT(1) | PDM_IRQ_LEVEL_HIGH)382 #define PDM_IRQ_LEVEL_FLIP_FLOP (RT_BIT(1) | PDM_IRQ_LEVEL_HIGH) 383 383 /** @} */ 384 384
Note:
See TracChangeset
for help on using the changeset viewer.