mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
mac_newworld: add PMU device
The PMU device supercedes the CUDA device found on older New World Macs and is supported by a larger number of guest OSs from OS 9 to OS X 10.5. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
84051eb400
commit
d811d61fbc
9 changed files with 1193 additions and 20 deletions
|
@ -30,6 +30,7 @@
|
|||
#include "hw/intc/heathrow_pic.h"
|
||||
#include "hw/misc/macio/cuda.h"
|
||||
#include "hw/misc/macio/gpio.h"
|
||||
#include "hw/misc/macio/pmu.h"
|
||||
#include "hw/ppc/mac_dbdma.h"
|
||||
#include "hw/ppc/openpic.h"
|
||||
|
||||
|
@ -43,6 +44,7 @@ typedef struct MacIOState {
|
|||
|
||||
MemoryRegion bar;
|
||||
CUDAState cuda;
|
||||
PMUState pmu;
|
||||
DBDMAState dbdma;
|
||||
ESCCState escc;
|
||||
uint64_t frequency;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue