[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v7 01/10] escc: introduce a selector for the reg
From: |
Thomas Huth |
Subject: |
Re: [Qemu-block] [PATCH v7 01/10] escc: introduce a selector for the register bit |
Date: |
Sun, 26 May 2019 18:05:44 +0200 |
Am Sun, 26 May 2019 00:50:04 +0200
schrieb Laurent Vivier <address@hidden>:
> 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, 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 Quadra 800.
>
> Signed-off-by: Laurent Vivier <address@hidden>
> Reviewed-by: Hervé Poussineau <address@hidden>
> ---
> hw/char/escc.c | 30 ++++++++++++++++++++++++------
> include/hw/char/escc.h | 1 +
> 2 files changed, 25 insertions(+), 6 deletions(-)
Reviewed-by: Thomas Huth <address@hidden>
- Re: [Qemu-block] [PATCH v7 02/10] esp: add pseudo-DMA as used by Macintosh, (continued)
- [Qemu-block] [PATCH v7 03/10] dp8393x: manage big endian bus, Laurent Vivier, 2019/05/25
- [Qemu-block] [PATCH v7 10/10] hw/m68k: define Macintosh Quadra 800, Laurent Vivier, 2019/05/25
- [Qemu-block] [PATCH v7 08/10] hw/m68k: add Nubus support for macfb video card, Laurent Vivier, 2019/05/25
- [Qemu-block] [PATCH v7 01/10] escc: introduce a selector for the register bit, Laurent Vivier, 2019/05/25
- Re: [Qemu-block] [PATCH v7 01/10] escc: introduce a selector for the register bit,
Thomas Huth <=
- Re: [Qemu-block] [Qemu-devel] [PATCH v7 00/10] hw/m68k: add Apple Machintosh Quadra 800 machine, no-reply, 2019/05/25