Changeset 80531 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Sep 1, 2019 11:03:34 PM (5 years ago)
- Location:
- trunk/src/VBox/Devices/Audio
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevHDA.cpp
r76553 r80531 5355 5355 } 5356 5356 5357 #endif /* IN_RING3 */ 5358 5357 5359 /** 5358 5360 * The device registration structure. … … 5360 5362 const PDMDEVREG g_DeviceHDA = 5361 5363 { 5362 /* u32Version */ 5363 PDM_DEVREG_VERSION, 5364 /* szName */ 5365 "hda", 5366 /* szRCMod */ 5367 "VBoxDDRC.rc", 5368 /* szR0Mod */ 5369 "VBoxDDR0.r0", 5370 /* pszDescription */ 5371 "Intel HD Audio Controller", 5372 /* fFlags */ 5373 PDM_DEVREG_FLAGS_DEFAULT_BITS | PDM_DEVREG_FLAGS_RC | PDM_DEVREG_FLAGS_R0, 5374 /* fClass */ 5375 PDM_DEVREG_CLASS_AUDIO, 5376 /* cMaxInstances */ 5377 1, 5378 /* cbInstance */ 5379 sizeof(HDASTATE), 5380 /* pfnConstruct */ 5381 hdaR3Construct, 5382 /* pfnDestruct */ 5383 hdaR3Destruct, 5384 /* pfnRelocate */ 5385 hdaR3Relocate, 5386 /* pfnMemSetup */ 5387 NULL, 5388 /* pfnPowerOn */ 5389 NULL, 5390 /* pfnReset */ 5391 hdaR3Reset, 5392 /* pfnSuspend */ 5393 NULL, 5394 /* pfnResume */ 5395 NULL, 5396 /* pfnAttach */ 5397 hdaR3Attach, 5398 /* pfnDetach */ 5399 hdaR3Detach, 5400 /* pfnQueryInterface. */ 5401 NULL, 5402 /* pfnInitComplete */ 5403 NULL, 5404 /* pfnPowerOff */ 5405 hdaR3PowerOff, 5406 /* pfnSoftReset */ 5407 NULL, 5408 /* u32VersionEnd */ 5409 PDM_DEVREG_VERSION 5364 /* .u32Version = */ PDM_DEVREG_VERSION, 5365 /* .uReserved0 = */ 0, 5366 /* .szName = */ "hda", 5367 /* .fFlags = */ PDM_DEVREG_FLAGS_DEFAULT_BITS | PDM_DEVREG_FLAGS_RC | PDM_DEVREG_FLAGS_R0, 5368 /* .fClass = */ PDM_DEVREG_CLASS_AUDIO, 5369 /* .cMaxInstances = */ 1, 5370 /* .uSharedVersion = */ 42, 5371 /* .cbInstanceShared = */ sizeof(HDASTATE), 5372 /* .cbInstanceCC = */ 0, 5373 /* .cbInstanceRC = */ 0, 5374 /* .uReserved1 = */ 0, 5375 /* .pszDescription = */ "Intel HD Audio Controller", 5376 #if defined(IN_RING3) 5377 /* .pszRCMod = */ "VBoxDDRC.rc", 5378 /* .pszR0Mod = */ "VBoxDDR0.r0", 5379 /* .pfnConstruct = */ hdaR3Construct, 5380 /* .pfnDestruct = */ hdaR3Destruct, 5381 /* .pfnRelocate = */ hdaR3Relocate, 5382 /* .pfnMemSetup = */ NULL, 5383 /* .pfnPowerOn = */ NULL, 5384 /* .pfnReset = */ hdaR3Reset, 5385 /* .pfnSuspend = */ NULL, 5386 /* .pfnResume = */ NULL, 5387 /* .pfnAttach = */ hdaR3Attach, 5388 /* .pfnDetach = */ hdaR3Detach, 5389 /* .pfnQueryInterface = */ NULL, 5390 /* .pfnInitComplete = */ NULL, 5391 /* .pfnPowerOff = */ hdaR3PowerOff, 5392 /* .pfnSoftReset = */ NULL, 5393 /* .pfnReserved0 = */ NULL, 5394 /* .pfnReserved1 = */ NULL, 5395 /* .pfnReserved2 = */ NULL, 5396 /* .pfnReserved3 = */ NULL, 5397 /* .pfnReserved4 = */ NULL, 5398 /* .pfnReserved5 = */ NULL, 5399 /* .pfnReserved6 = */ NULL, 5400 /* .pfnReserved7 = */ NULL, 5401 #elif defined(IN_RING0) 5402 /* .pfnEarlyConstruct = */ NULL, 5403 /* .pfnConstruct = */ NULL, 5404 /* .pfnDestruct = */ NULL, 5405 /* .pfnFinalDestruct = */ NULL, 5406 /* .pfnRequest = */ NULL, 5407 /* .pfnReserved0 = */ NULL, 5408 /* .pfnReserved1 = */ NULL, 5409 /* .pfnReserved2 = */ NULL, 5410 /* .pfnReserved3 = */ NULL, 5411 /* .pfnReserved4 = */ NULL, 5412 /* .pfnReserved5 = */ NULL, 5413 /* .pfnReserved6 = */ NULL, 5414 /* .pfnReserved7 = */ NULL, 5415 #elif defined(IN_RC) 5416 /* .pfnConstruct = */ NULL, 5417 /* .pfnReserved0 = */ NULL, 5418 /* .pfnReserved1 = */ NULL, 5419 /* .pfnReserved2 = */ NULL, 5420 /* .pfnReserved3 = */ NULL, 5421 /* .pfnReserved4 = */ NULL, 5422 /* .pfnReserved5 = */ NULL, 5423 /* .pfnReserved6 = */ NULL, 5424 /* .pfnReserved7 = */ NULL, 5425 #else 5426 # error "Not in IN_RING3, IN_RING0 or IN_RC!" 5427 #endif 5428 /* .u32VersionEnd = */ PDM_DEVREG_VERSION 5410 5429 }; 5411 5430 5412 #endif /* IN_RING3 */5413 5431 #endif /* !VBOX_DEVICE_STRUCT_TESTCASE */ 5414 5432 -
trunk/src/VBox/Devices/Audio/DevIchAc97.cpp
r80502 r80531 4543 4543 } 4544 4544 4545 #endif /* !IN_RING3 */ 4546 4545 4547 /** 4546 4548 * The device registration structure. … … 4548 4550 const PDMDEVREG g_DeviceICHAC97 = 4549 4551 { 4550 /* u32Version */ 4551 PDM_DEVREG_VERSION, 4552 /* szName */ 4553 "ichac97", 4554 /* szRCMod */ 4555 "VBoxDDRC.rc", 4556 /* szR0Mod */ 4557 "VBoxDDR0.r0", 4558 /* pszDescription */ 4559 "ICH AC'97 Audio Controller", 4560 /* fFlags */ 4561 PDM_DEVREG_FLAGS_DEFAULT_BITS | PDM_DEVREG_FLAGS_RC | PDM_DEVREG_FLAGS_R0, 4562 /* fClass */ 4563 PDM_DEVREG_CLASS_AUDIO, 4564 /* cMaxInstances */ 4565 1, 4566 /* cbInstance */ 4567 sizeof(AC97STATE), 4568 /* pfnConstruct */ 4569 ichac97R3Construct, 4570 /* pfnDestruct */ 4571 ichac97R3Destruct, 4572 /* pfnRelocate */ 4573 ichac97R3Relocate, 4574 /* pfnMemSetup */ 4575 NULL, 4576 /* pfnPowerOn */ 4577 NULL, 4578 /* pfnReset */ 4579 ichac97R3Reset, 4580 /* pfnSuspend */ 4581 NULL, 4582 /* pfnResume */ 4583 NULL, 4584 /* pfnAttach */ 4585 ichac97R3Attach, 4586 /* pfnDetach */ 4587 ichac97R3Detach, 4588 /* pfnQueryInterface. */ 4589 NULL, 4590 /* pfnInitComplete */ 4591 NULL, 4592 /* pfnPowerOff */ 4593 ichac97R3PowerOff, 4594 /* pfnSoftReset */ 4595 NULL, 4596 /* u32VersionEnd */ 4597 PDM_DEVREG_VERSION 4552 /* .u32Version = */ PDM_DEVREG_VERSION, 4553 /* .uReserved0 = */ 0, 4554 /* .szName = */ "ichac97", 4555 /* .fFlags = */ PDM_DEVREG_FLAGS_DEFAULT_BITS | PDM_DEVREG_FLAGS_RC | PDM_DEVREG_FLAGS_R0, 4556 /* .fClass = */ PDM_DEVREG_CLASS_AUDIO, 4557 /* .cMaxInstances = */ 1, 4558 /* .uSharedVersion = */ 42, 4559 /* .cbInstanceShared = */ sizeof(AC97STATE), 4560 /* .cbInstanceCC = */ 0, 4561 /* .cbInstanceRC = */ 0, 4562 /* .uReserved1 = */ 0, 4563 /* .pszDescription = */ "ICH AC'97 Audio Controller", 4564 #if defined(IN_RING3) 4565 /* .pszRCMod = */ "VBoxDDRC.rc", 4566 /* .pszR0Mod = */ "VBoxDDR0.r0", 4567 /* .pfnConstruct = */ ichac97R3Construct, 4568 /* .pfnDestruct = */ ichac97R3Destruct, 4569 /* .pfnRelocate = */ ichac97R3Relocate, 4570 /* .pfnMemSetup = */ NULL, 4571 /* .pfnPowerOn = */ NULL, 4572 /* .pfnReset = */ ichac97R3Reset, 4573 /* .pfnSuspend = */ NULL, 4574 /* .pfnResume = */ NULL, 4575 /* .pfnAttach = */ ichac97R3Attach, 4576 /* .pfnDetach = */ ichac97R3Detach, 4577 /* .pfnQueryInterface = */ NULL, 4578 /* .pfnInitComplete = */ NULL, 4579 /* .pfnPowerOff = */ ichac97R3PowerOff, 4580 /* .pfnSoftReset = */ NULL, 4581 /* .pfnReserved0 = */ NULL, 4582 /* .pfnReserved1 = */ NULL, 4583 /* .pfnReserved2 = */ NULL, 4584 /* .pfnReserved3 = */ NULL, 4585 /* .pfnReserved4 = */ NULL, 4586 /* .pfnReserved5 = */ NULL, 4587 /* .pfnReserved6 = */ NULL, 4588 /* .pfnReserved7 = */ NULL, 4589 #elif defined(IN_RING0) 4590 /* .pfnEarlyConstruct = */ NULL, 4591 /* .pfnConstruct = */ NULL, 4592 /* .pfnDestruct = */ NULL, 4593 /* .pfnFinalDestruct = */ NULL, 4594 /* .pfnRequest = */ NULL, 4595 /* .pfnReserved0 = */ NULL, 4596 /* .pfnReserved1 = */ NULL, 4597 /* .pfnReserved2 = */ NULL, 4598 /* .pfnReserved3 = */ NULL, 4599 /* .pfnReserved4 = */ NULL, 4600 /* .pfnReserved5 = */ NULL, 4601 /* .pfnReserved6 = */ NULL, 4602 /* .pfnReserved7 = */ NULL, 4603 #elif defined(IN_RC) 4604 /* .pfnConstruct = */ NULL, 4605 /* .pfnReserved0 = */ NULL, 4606 /* .pfnReserved1 = */ NULL, 4607 /* .pfnReserved2 = */ NULL, 4608 /* .pfnReserved3 = */ NULL, 4609 /* .pfnReserved4 = */ NULL, 4610 /* .pfnReserved5 = */ NULL, 4611 /* .pfnReserved6 = */ NULL, 4612 /* .pfnReserved7 = */ NULL, 4613 #else 4614 # error "Not in IN_RING3, IN_RING0 or IN_RC!" 4615 #endif 4616 /* .u32VersionEnd = */ PDM_DEVREG_VERSION 4598 4617 }; 4599 4618 4600 #endif /* !IN_RING3 */4601 4619 #endif /* !VBOX_DEVICE_STRUCT_TESTCASE */ 4602 4620 -
trunk/src/VBox/Devices/Audio/DevSB16.cpp
r76847 r80531 2597 2597 const PDMDEVREG g_DeviceSB16 = 2598 2598 { 2599 /* u32Version */ 2600 PDM_DEVREG_VERSION, 2601 /* szName */ 2602 "sb16", 2603 /* szRCMod */ 2604 "", 2605 /* szR0Mod */ 2606 "", 2607 /* pszDescription */ 2608 "Sound Blaster 16 Controller", 2609 /* fFlags */ 2610 PDM_DEVREG_FLAGS_DEFAULT_BITS, 2611 /* fClass */ 2612 PDM_DEVREG_CLASS_AUDIO, 2613 /* cMaxInstances */ 2614 1, 2615 /* cbInstance */ 2616 sizeof(SB16STATE), 2617 /* pfnConstruct */ 2618 sb16Construct, 2619 /* pfnDestruct */ 2620 sb16Destruct, 2621 /* pfnRelocate */ 2622 NULL, 2623 /* pfnMemSetup */ 2624 NULL, 2625 /* pfnPowerOn */ 2626 NULL, 2627 /* pfnReset */ 2628 sb16DevReset, 2629 /* pfnSuspend */ 2630 NULL, 2631 /* pfnResume */ 2632 NULL, 2633 /* pfnAttach */ 2634 sb16Attach, 2635 /* pfnDetach */ 2636 sb16Detach, 2637 /* pfnQueryInterface */ 2638 NULL, 2639 /* pfnInitComplete */ 2640 NULL, 2641 /* pfnPowerOff */ 2642 sb16PowerOff, 2643 /* pfnSoftReset */ 2644 NULL, 2645 /* u32VersionEnd */ 2646 PDM_DEVREG_VERSION 2599 /* .u32Version = */ PDM_DEVREG_VERSION, 2600 /* .uReserved0 = */ 0, 2601 /* .szName = */ "sb16", 2602 /* .fFlags = */ PDM_DEVREG_FLAGS_DEFAULT_BITS, 2603 /* .fClass = */ PDM_DEVREG_CLASS_AUDIO, 2604 /* .cMaxInstances = */ 1, 2605 /* .uSharedVersion = */ 42, 2606 /* .cbInstanceShared = */ sizeof(SB16STATE), 2607 /* .cbInstanceCC = */ 0, 2608 /* .cbInstanceRC = */ 0, 2609 /* .uReserved1 = */ 0, 2610 /* .pszDescription = */ "Sound Blaster 16 Controller", 2611 #if defined(IN_RING3) 2612 /* .pszRCMod = */ "", 2613 /* .pszR0Mod = */ "", 2614 /* .pfnConstruct = */ sb16Construct, 2615 /* .pfnDestruct = */ sb16Destruct, 2616 /* .pfnRelocate = */ NULL, 2617 /* .pfnMemSetup = */ NULL, 2618 /* .pfnPowerOn = */ NULL, 2619 /* .pfnReset = */ sb16DevReset, 2620 /* .pfnSuspend = */ NULL, 2621 /* .pfnResume = */ NULL, 2622 /* .pfnAttach = */ sb16Attach, 2623 /* .pfnDetach = */ sb16Detach, 2624 /* .pfnQueryInterface = */ NULL, 2625 /* .pfnInitComplete = */ NULL, 2626 /* .pfnPowerOff = */ sb16PowerOff, 2627 /* .pfnSoftReset = */ NULL, 2628 /* .pfnReserved0 = */ NULL, 2629 /* .pfnReserved1 = */ NULL, 2630 /* .pfnReserved2 = */ NULL, 2631 /* .pfnReserved3 = */ NULL, 2632 /* .pfnReserved4 = */ NULL, 2633 /* .pfnReserved5 = */ NULL, 2634 /* .pfnReserved6 = */ NULL, 2635 /* .pfnReserved7 = */ NULL, 2636 #elif defined(IN_RING0) 2637 /* .pfnEarlyConstruct = */ NULL, 2638 /* .pfnConstruct = */ NULL, 2639 /* .pfnDestruct = */ NULL, 2640 /* .pfnFinalDestruct = */ NULL, 2641 /* .pfnRequest = */ NULL, 2642 /* .pfnReserved0 = */ NULL, 2643 /* .pfnReserved1 = */ NULL, 2644 /* .pfnReserved2 = */ NULL, 2645 /* .pfnReserved3 = */ NULL, 2646 /* .pfnReserved4 = */ NULL, 2647 /* .pfnReserved5 = */ NULL, 2648 /* .pfnReserved6 = */ NULL, 2649 /* .pfnReserved7 = */ NULL, 2650 #elif defined(IN_RC) 2651 /* .pfnConstruct = */ NULL, 2652 /* .pfnReserved0 = */ NULL, 2653 /* .pfnReserved1 = */ NULL, 2654 /* .pfnReserved2 = */ NULL, 2655 /* .pfnReserved3 = */ NULL, 2656 /* .pfnReserved4 = */ NULL, 2657 /* .pfnReserved5 = */ NULL, 2658 /* .pfnReserved6 = */ NULL, 2659 /* .pfnReserved7 = */ NULL, 2660 #else 2661 # error "Not in IN_RING3, IN_RING0 or IN_RC!" 2662 #endif 2663 /* .u32VersionEnd = */ PDM_DEVREG_VERSION 2647 2664 }; 2648 2665
Note:
See TracChangeset
for help on using the changeset viewer.