[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 40/50] lasi: use numerical constant for iar reset value
From: |
Mark Cave-Ayland |
Subject: |
[PATCH 40/50] lasi: use numerical constant for iar reset value |
Date: |
Thu, 21 Apr 2022 20:30:50 +0100 |
This is to allow us to decouple the LASI device from the board logic. If it is
decided later that this value needs to be configurable then it can easily be
converted to a qdev property.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
---
hw/hppa/lasi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/hppa/lasi.c b/hw/hppa/lasi.c
index 11ca33fba3..5ef36f3f58 100644
--- a/hw/hppa/lasi.c
+++ b/hw/hppa/lasi.c
@@ -231,7 +231,7 @@ static void lasi_reset(DeviceState *dev)
{
LasiState *s = LASI_CHIP(dev);
- s->iar = CPU_HPA + 3;
+ s->iar = 0xFFFB0000 + 3; /* CPU_HPA + 3 */
/* Real time clock (RTC), it's only one 32-bit counter @9000 */
s->rtc = time(NULL);
--
2.20.1
- [PATCH 31/50] lasi: fix serial port initialisation, (continued)
- [PATCH 31/50] lasi: fix serial port initialisation, Mark Cave-Ayland, 2022/04/21
- [PATCH 32/50] lasi: update lasi_initfn() to return LASIState, Mark Cave-Ayland, 2022/04/21
- [PATCH 34/50] lasi: move parallel port initialisation to machine.c, Mark Cave-Ayland, 2022/04/21
- [PATCH 36/50] lasi: move PS2 initialisation to machine.c, Mark Cave-Ayland, 2022/04/21
- [PATCH 33/50] lasi: move LAN initialisation to machine.c, Mark Cave-Ayland, 2022/04/21
- [PATCH 39/50] lasi: use constants for device register offsets, Mark Cave-Ayland, 2022/04/21
- [PATCH 35/50] lasi: move second serial port initialisation to machine.c, Mark Cave-Ayland, 2022/04/21
- [PATCH 41/50] hppa: move device headers from hppa_sys.h into individual .c files, Mark Cave-Ayland, 2022/04/21
- [PATCH 37/50] lasi: remove address space parameter from lasi_initfn(), Mark Cave-Ayland, 2022/04/21
- [PATCH 38/50] lasi: move lasi_initfn() to machine.c, Mark Cave-Ayland, 2022/04/21
- [PATCH 40/50] lasi: use numerical constant for iar reset value,
Mark Cave-Ayland <=
- [PATCH 42/50] lasi: move from hw/hppa to hw/misc, Mark Cave-Ayland, 2022/04/21
- [PATCH 44/50] hppa: remove hw/hppa/pci.c, Mark Cave-Ayland, 2022/04/21
- [PATCH 45/50] hppa: remove unused trace-events from from hw/hppa, Mark Cave-Ayland, 2022/04/21
- [PATCH 48/50] hppa: use MACHINE QOM macros for defining the hppa machine, Mark Cave-Ayland, 2022/04/21
- [PATCH 46/50] hppa: move enable_lan() define from hppa_sys.h to machine.c, Mark Cave-Ayland, 2022/04/21
- [PATCH 49/50] hppa: fold machine_hppa_machine_init() into machine_hppa_machine_init_class_init(), Mark Cave-Ayland, 2022/04/21
- [PATCH 43/50] hppa: move hppa_pci_ignore_ops from pci.c to machine.c, Mark Cave-Ayland, 2022/04/21
- [PATCH 47/50] hppa: remove the empty hppa_sys.h file, Mark Cave-Ayland, 2022/04/21
- [PATCH 50/50] hppa: simplify machine function names in machine.c, Mark Cave-Ayland, 2022/04/21
- Re: [PATCH 00/50] hppa: general improvements and tidy-ups, Helge Deller, 2022/04/28