qemu-e2k/hw/m68k
Mark Cave-Ayland 846feac2ae hw/m68k/q800: fix PROM checksum and MAC address storage
The checksum used by MacOS to validate the PROM content is an exclusive-OR
rather than a sum over the corresponding bytes. In addition the MAC address
must be stored in bit-reversed format as indicated in comments in Linux's
macsonic.c.

With the PROM contents fixed MacOS starts to probe the device registers
when AppleTalk is enabled in the Control Panel.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tested-by: Finn Thain <fthain@linux-m68k.org>
Message-Id: <20210625065401.30170-8-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
2021-07-02 17:35:08 +02:00
..
Kconfig m68k: add Virtual M68k Machine 2021-03-15 21:03:06 +01: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 m68k: import bootinfo headers from linux 2021-02-11 21:56:42 +01:00
mcf5206.c m68k: do not use ram_size global 2020-12-10 12:15:08 -05:00
mcf5208.c Do not include exec/address-spaces.h if it's not really necessary 2021-05-02 17:24:51 +02:00
mcf_intc.c hw: Remove superfluous includes of hw/hw.h 2021-05-02 17:24:50 +02:00
meson.build m68k: add Virtual M68k Machine 2021-03-15 21:03:06 +01:00
next-cube.c softmmu/memory: Pass ram_flags to memory_region_init_ram_shared_nomigrate() 2021-06-15 20:27:38 +02:00
next-kbd.c Do not include exec/address-spaces.h if it's not really necessary 2021-05-02 17:24:51 +02:00
q800.c hw/m68k/q800: fix PROM checksum and MAC address storage 2021-07-02 17:35:08 +02:00
virt.c Do not include exec/address-spaces.h if it's not really necessary 2021-05-02 17:24:51 +02:00