Add basic implementation of the AC'97 sound part used in VIA south
bridge chips. Not all features of the device is emulated, only one
playback channel is supported for now but this is enough to get sound
output from some guests using this device on pegasos2.
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
---
v5: rebased on master
v3: Fixed CLEN_LEN mask, add check to avoid runaway DMA and some
tweaks to PCI config regs which now make it work with AmigaOS too.
This is probably as good as it gets for QEMU 8.0
hw/audio/trace-events | 6 +
hw/audio/via-ac97.c | 455 +++++++++++++++++++++++++++++++++++++-
hw/isa/trace-events | 1 +
hw/isa/vt82c686.c | 2 +-
include/hw/isa/vt82c686.h | 25 +++
5 files changed, 482 insertions(+), 7 deletions(-)