diff options
author | Mark Cave-Ayland | 2022-05-04 11:25:31 +0200 |
---|---|---|
committer | Mark Cave-Ayland | 2022-05-08 19:52:36 +0200 |
commit | e111f288d9264dae070bd144a60f43162e34a7be (patch) | |
tree | 53336c83a4a7ccfda8540c7bb3a0f0078a238fbf /hw/hppa/dino.h | |
parent | dino: use numerical constant for iar0 and iar1 reset values (diff) | |
download | qemu-e111f288d9264dae070bd144a60f43162e34a7be.tar.gz qemu-e111f288d9264dae070bd144a60f43162e34a7be.tar.xz qemu-e111f288d9264dae070bd144a60f43162e34a7be.zip |
dino: move DINO HPA constants from hppa_hardware.h to dino.h
This is to allow us to decouple the DINO device from the board logic.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Acked-by: Helge Deller <deller@gmx.de>
Message-Id: <20220504092600.10048-22-mark.cave-ayland@ilande.co.uk>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'hw/hppa/dino.h')
-rw-r--r-- | hw/hppa/dino.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/hppa/dino.h b/hw/hppa/dino.h index ca380515f2..a1b0184940 100644 --- a/hw/hppa/dino.h +++ b/hw/hppa/dino.h @@ -101,6 +101,11 @@ static const uint32_t reg800_keep_bits[DINO800_REGS] = { MAKE_64BIT_MASK(0, 9), /* TLTIM */ }; +/* offsets to DINO HPA: */ +#define DINO_PCI_ADDR 0x064 +#define DINO_CONFIG_DATA 0x068 +#define DINO_IO_DATA 0x06c + struct DinoState { PCIHostState parent_obj; |