Changeset 80531 in vbox for trunk/src/VBox/Devices/Audio/DevIchAc97.cpp
- Timestamp:
- Sep 1, 2019 11:03:34 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note:
See TracChangeset
for help on using the changeset viewer.