From: Helge Deller <deller@gmx.de>
To: qemu-devel@nongnu.org
Cc: Richard Henderson <richard.henderson@linaro.org>,
Sven Schnelle <svens@stackframe.org>,
Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>,
Helge Deller <deller@gmx.de>
Subject: [PATCH v2 2/3] hppa: Sync contents of hppa_hardware.h header file with SeaBIOS-hppa
Date: Sat, 28 May 2022 11:41:33 +0200 [thread overview]
Message-ID: <20220528094134.16513-3-deller@gmx.de> (raw)
In-Reply-To: <20220528094134.16513-1-deller@gmx.de>
The hppa_hardware.h header file holds many constants for addresses and
offsets which are needed while building the firmware (SeaBIOS-hppa) and
while setting up the virtual machine in QEMU.
That's why this header file needs to be in sync between both source code
repositories. This patch adds a comment mentioning this dependency at
the top of this file and restores some DINO relevant offsets.
Signed-off-by: Helge Deller <deller@gmx.de>
---
hw/hppa/hppa_hardware.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/hw/hppa/hppa_hardware.h b/hw/hppa/hppa_hardware.h
index 8b6b9222cb..37bafff1ed 100644
--- a/hw/hppa/hppa_hardware.h
+++ b/hw/hppa/hppa_hardware.h
@@ -1,4 +1,5 @@
/* HPPA cores and system support chips. */
+/* Be aware: QEMU and seabios-hppa repositories share this files as-is. */
#ifndef HW_HPPA_HPPA_HARDWARE_H
#define HW_HPPA_HPPA_HARDWARE_H
@@ -30,6 +31,11 @@
#define PCI_HPA DINO_HPA /* PCI bus */
#define IDE_HPA 0xf9000000 /* Boot disc controller */
+/* offsets to DINO HPA: */
+#define DINO_PCI_ADDR 0x064
+#define DINO_CONFIG_DATA 0x068
+#define DINO_IO_DATA 0x06c
+
#define PORT_PCI_CMD (PCI_HPA + DINO_PCI_ADDR)
#define PORT_PCI_DATA (PCI_HPA + DINO_CONFIG_DATA)
--
2.35.3
next prev parent reply other threads:[~2022-05-28 9:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-28 9:41 [PATCH v2 0/3] hppa: Fix serial port pass-through Helge Deller
2022-05-28 9:41 ` [PATCH v2 1/3] New SeaBIOS-hppa version 6 Helge Deller
2022-05-28 9:41 ` Helge Deller [this message]
2022-05-28 9:41 ` [PATCH v2 3/3] hppa: Fix serial port assignments and pass-through Helge Deller
2022-05-30 13:44 ` Philippe Mathieu-Daudé via
2022-05-28 9:54 ` [PATCH v2 0/3] hppa: Fix serial port pass-through Mark Cave-Ayland
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220528094134.16513-3-deller@gmx.de \
--to=deller@gmx.de \
--cc=mark.cave-ayland@ilande.co.uk \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=svens@stackframe.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.