qemu-e2k/hw
Laurent Vivier b43047a20f escc: introduce a selector for the register bit
On Sparc and PowerMac, the bit 0 of the address selects the register
type (control or data) and bit 1 selects the channel (B or A).

On m68k Macintosh and NeXTcube, the bit 0 selects the channel and
bit 1 the register type.

This patch introduces a new parameter (bit_swap) to the device interface
to indicate bits usage must be swapped between registers and channels.

For the moment all the machines use the bit 0, but this change will be
needed to emulate the Quadra 800 or NeXTcube machine.

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Hervé Poussineau <hpoussin@reactos.org>
[thh: added NeXTcube to the patch description]
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190831074519.32613-5-huth@tuxfamily.org>
Signed-off-by: Thomas Huth <huth@tuxfamily.org>
2019-09-07 08:32:12 +02:00
..
9pfs
acpi numa: move numa global variable numa_info into MachineState 2019-09-03 11:26:55 -03:00
adc
alpha
arm Machine + x86 queue, 2019-09-03 2019-09-04 14:44:54 +01:00
audio audio: remove audio_MIN, audio_MAX 2019-08-21 09:13:37 +02:00
block
bt
char escc: introduce a selector for the register bit 2019-09-07 08:32:12 +02:00
core virtio,vhost: fixes, features, cleanups. 2019-09-04 17:22:34 +01:00
cpu hw/core: Move cpu.c, cpu.h from qom/ to hw/core/ 2019-08-21 13:24:01 +02:00
cris
display m68k: Add NeXTcube framebuffer device emulation 2019-09-07 08:30:34 +02:00
dma hw/dma/xilinx_axi: Use object_initialize_child for correct ref. counting 2019-09-03 16:20:34 +01:00
gpio
hppa
hyperv
i2c
i386 migration: Do not re-read the clock on pre_save in case of paused guest 2019-09-03 14:39:46 -03:00
ide
input
intc memory: Access MemoryRegion with endianness 2019-09-03 08:30:39 -07:00
ipack
ipmi hw/ipmi: Rewrite a fall through comment 2019-08-21 10:56:19 +02:00
isa hw/core: Move cpu.c, cpu.h from qom/ to hw/core/ 2019-08-21 13:24:01 +02:00
lm32
m68k m68k: Add NeXTcube machine 2019-09-07 08:31:51 +02:00
mem numa: move numa global variable nb_numa_nodes into MachineState 2019-09-03 11:26:55 -03:00
microblaze
mips
misc hw/core: Move cpu.c, cpu.h from qom/ to hw/core/ 2019-08-21 13:24:01 +02:00
moxie
net hw/net/xilinx_axi: Use object_initialize_child for correct ref. counting 2019-09-03 16:20:34 +01:00
nios2
nvram
openrisc
pci
pci-bridge numa: move numa global variable nb_numa_nodes into MachineState 2019-09-03 11:26:55 -03:00
pci-host
pcmcia
ppc Machine + x86 queue, 2019-09-03 2019-09-04 14:44:54 +01:00
rdma
riscv
s390x memory: Access MemoryRegion with endianness 2019-09-03 08:30:39 -07:00
scsi vhost-user-scsi: prevent using uninitialized vqs 2019-08-22 16:52:23 +01:00
sd
semihosting
sh4
smbios
sparc
sparc64
ssi
timer aspeed/timer: Provide back-pressure information for short periods 2019-09-03 16:20:34 +01:00
tpm
tricore
unicore32
usb usb-mtp: add sanity checks on rootdir 2019-08-29 07:31:12 +02:00
vfio memory: Access MemoryRegion with endianness 2019-09-03 08:30:39 -07:00
virtio virtio,vhost: fixes, features, cleanups. 2019-09-04 17:22:34 +01:00
watchdog
xen xen-bus: Avoid rewriting identical values to xenstore 2019-08-27 14:18:28 +01:00
xenpv
xtensa
Kconfig
Makefile.objs