From: Felix Wu <flwu@google.com>
To: peter.maydell@linaro.org
Cc: qemu-arm@nongnu.org, qemu-devel@nongnu.org, Felix Wu <flwu@google.com>
Subject: [PATCH 1/1] SMBIOS type 8 should use T8_BASE.
Date: Thu, 11 Jan 2024 19:25:22 +0000 [thread overview]
Message-ID: <20240111192522.2795498-2-flwu@google.com> (raw)
In-Reply-To: <20240111192522.2795498-1-flwu@google.com>
---
hw/smbios/smbios.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/smbios/smbios.c b/hw/smbios/smbios.c
index 2a90601ac5..7dda84b284 100644
--- a/hw/smbios/smbios.c
+++ b/hw/smbios/smbios.c
@@ -591,6 +591,7 @@ bool smbios_skip_table(uint8_t type, bool required_table)
#define T2_BASE 0x200
#define T3_BASE 0x300
#define T4_BASE 0x400
+#define T8_BASE 0x800
#define T11_BASE 0xe00
#define T16_BASE 0x1000
@@ -775,7 +776,7 @@ static void smbios_build_type_8_table(void)
struct type8_instance *t8;
QTAILQ_FOREACH(t8, &type8, next) {
- SMBIOS_BUILD_TABLE_PRE(8, T0_BASE + instance, true);
+ SMBIOS_BUILD_TABLE_PRE(8, T8_BASE + instance, true);
SMBIOS_TABLE_SET_STR(8, internal_reference_str, t8->internal_reference);
SMBIOS_TABLE_SET_STR(8, external_reference_str, t8->external_reference);
--
2.43.0.275.g3460e3d667-goog
next prev parent reply other threads:[~2024-01-11 19:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-11 19:25 [PATCH 0/1] smbios_build_type_8_table should use T8_BASE Felix Wu
2024-01-11 19:25 ` Felix Wu [this message]
2024-01-17 8:38 ` [PATCH 1/1] SMBIOS type 8 " Igor Mammedov
2024-01-17 8:40 ` Igor Mammedov
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=20240111192522.2795498-2-flwu@google.com \
--to=flwu@google.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.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.