diff options
| author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2021-10-20 14:41:25 +0100 |
|---|---|---|
| committer | Laurent Vivier <laurent@vivier.eu> | 2021-10-20 16:18:40 +0200 |
| commit | 39950b16ecc21bce3bbea3fddcdf1aaefa0d6cef (patch) | |
| tree | c3a7e768d7f11f7b43070e89cfc4ca59760f1043 /hw/misc/mac_via.c | |
| parent | e976459b3b127838befaef57f1587770452a0827 (diff) | |
| download | focaccia-qemu-39950b16ecc21bce3bbea3fddcdf1aaefa0d6cef.tar.gz focaccia-qemu-39950b16ecc21bce3bbea3fddcdf1aaefa0d6cef.zip | |
q800: move VIA1 IRQ from level 1 to level 6
On a Quadra 800 machine Linux sets via_alt_mapping to 1 and clears port B bit 6 to ensure that the VIA1 IRQ is delivered at level 6 rather than level 1. Even though QEMU doesn't yet emulate this behaviour, Linux still installs the VIA1 level 1 IRQ handler regardless of the value of via_alt_mapping which is why the kernel has been able to boot until now. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20211020134131.4392-3-mark.cave-ayland@ilande.co.uk> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/misc/mac_via.c')
0 files changed, 0 insertions, 0 deletions