From: Andrea Arcangeli <aarcange@redhat.com>
To: qemu-devel@nongnu.org
Cc: Anthony Liguori <aliguori@us.ibm.com>
Subject: [Qemu-devel] [PATCH] add 40-48 physical address range to seabios
Date: Wed, 15 Sep 2010 19:14:17 +0200 [thread overview]
Message-ID: <20100915171417.GN5981@random.random> (raw)
Subject: add 40-48 physical address range to seabios
From: Andrea Arcangeli <aarcange@redhat.com>
Needed to show >1TB RAM to guests.
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
---
diff --git a/hw/pc.c b/hw/pc.c
index 9c08573..7e1f2e9 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -360,6 +360,7 @@ void pc_cmos_init(ram_addr_t ram_size, ram_addr_t above_4g_mem_size,
rtc_set_memory(s, 0x5b, (unsigned int)above_4g_mem_size >> 16);
rtc_set_memory(s, 0x5c, (unsigned int)above_4g_mem_size >> 24);
rtc_set_memory(s, 0x5d, (uint64_t)above_4g_mem_size >> 32);
+ rtc_set_memory(s, 0x5e, (uint64_t)above_4g_mem_size >> 40);
}
if (ram_size > (16 * 1024 * 1024))
reply other threads:[~2010-09-15 17:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20100915171417.GN5981@random.random \
--to=aarcange@redhat.com \
--cc=aliguori@us.ibm.com \
--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.