mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
uninorth: remove token register from uninorth device
>From observation of various OS sources it can be seen that the token register
introduced in 4e46dcdbd3
"PPC: Newworld: Add uninorth token register" is not
required, since the only register currently implemented is the uninorth hardware
version which is read-only.
Remove the token register implementation and instead return the uninorth
version corresponding to the hardware.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
56e7404bc1
commit
45fefe7c4d
2 changed files with 8 additions and 7 deletions
|
@ -29,6 +29,9 @@
|
|||
|
||||
#include "hw/ppc/openpic.h"
|
||||
|
||||
/* UniNorth version */
|
||||
#define UNINORTH_VERSION_10A 0x7
|
||||
|
||||
#define TYPE_UNI_NORTH_PCI_HOST_BRIDGE "uni-north-pci-pcihost"
|
||||
#define TYPE_UNI_NORTH_AGP_HOST_BRIDGE "uni-north-agp-pcihost"
|
||||
#define TYPE_UNI_NORTH_INTERNAL_PCI_HOST_BRIDGE "uni-north-internal-pci-pcihost"
|
||||
|
@ -57,7 +60,6 @@ typedef struct UNINState {
|
|||
SysBusDevice parent_obj;
|
||||
|
||||
MemoryRegion mem;
|
||||
int token[1];
|
||||
} UNINState;
|
||||
|
||||
#define TYPE_UNI_NORTH "uni-north"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue