xemu/hw/m68k
Mark Cave-Ayland e993af36a7 q800: add machine id register
MacOS reads this address to identify the hardware.

This is a basic implementation returning the ID of Quadra 800.

Details:

  http://mess.redump.net/mess/driver_info/mac_technical_notes

"There are 3 ID schemes [...]
 The third and most scalable is a machine ID register at 0x5ffffffc.
 The top word must be 0xa55a to be valid. Then bits 15-11 are 0 for
 consumer Macs, 1 for portables, 2 for high-end 68k, and 3 for high-end
 PowerPC. Bit 10 is 1 if additional ID bits appear elsewhere (e.g. in VIA1).
 The rest of the bits are a per-model identifier.

 Model                          Lower 16 bits of ID
...
 Quadra/Centris 610/650/800     0x2BAD"

Co-developed-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004083806.757242-4-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2023-10-06 10:33:43 +02:00
..
Kconfig q800: add djMEMC memory controller 2023-10-06 10:33:43 +02:00
an5206.c Do not include exec/address-spaces.h if it's not really necessary 2021-05-02 17:24:51 +02:00
bootinfo.h hw/m68k: Clean up local variable shadowing 2023-09-29 10:07:15 +02:00
mcf5206.c ptimer: Rename PTIMER_POLICY_DEFAULT to PTIMER_POLICY_LEGACY 2022-05-19 16:19:03 +01:00
mcf5208.c ptimer: Rename PTIMER_POLICY_DEFAULT to PTIMER_POLICY_LEGACY 2022-05-19 16:19:03 +01:00
mcf_intc.c hw: Remove superfluous includes of hw/hw.h 2021-05-02 17:24:50 +02:00
meson.build q800: move GLUE device into separate q800-glue.c file 2023-06-22 09:21:57 +02:00
next-cube.c other architectures: spelling fixes 2023-07-25 17:14:07 +03:00
next-kbd.c other architectures: spelling fixes 2023-07-25 17:14:07 +03:00
q800-glue.c q800-glue.c: convert to Resettable interface 2023-10-06 10:33:43 +02:00
q800.c q800: add machine id register 2023-10-06 10:33:43 +02:00
virt.c hw: Add compat machines for 8.2 2023-08-23 12:06:39 +02:00