From: "Sebastian Herbszt" <herbszt@gmx.de>
To: Gleb Natapov <gleb@qumranet.com>
Cc: bochs-developers@lists.sourceforge.net, qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: [Bochs-developers] BIOS, ACPI, CMOS and Windows EvenID: 4
Date: Fri, 22 Aug 2008 00:47:44 +0200 [thread overview]
Message-ID: <02ef01c903e0$0daa44f0$0201a8c0@zeug> (raw)
In-Reply-To: 20080821053405.GA27587@minantech.com
Gleb Natapov wrote:
>> The Microsoft document suggests to copy the CMOS data to somewhere in memory
>> and access it there. I guess rombios space from 0xe000 to 0xffff could be a good
>> candidate.
> No need to copy the whole CMOS. Copying only memory size should be
> enough. Also putting it somewhere in first 4K should be better. You
> can't write into 0xe000-0xffff unless chipset shadows it in a memory.
bios_shadow_init() from rombios32.c does already support this for the 440fx.
>> The 440fx specs says "The top of memory is determined by the value written into DRB7."
>> We might get the proper value from there. But it also says "Note that the PMC supports
>> a maximum of 1 Gbytes of DRAM."
>>
> Yeah, I saw that my real HW takes top of the memory somewhere from the
> chipset and looked in 440fx specs if it has this info, but it turned
> out that we abuse 440fx and sometimes use much more memory that it
> supports. We can re-use DRB registers for our needs and store memory
> size there on POST (we can store 8 bytes there, so it should be enough)
> and read them from AML. Are all users of bochs BIOS uses the same
> chipset?
I think bochs, qemu, xen and virtual box emulate the 440fx.
- Sebastian
next prev parent reply other threads:[~2008-08-21 22:49 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-20 13:15 [Qemu-devel] BIOS, ACPI, CMOS and Windows EvenID: 4 Gleb Natapov
2008-08-20 23:23 ` [Qemu-devel] Re: [Bochs-developers] " Sebastian Herbszt
2008-08-21 5:34 ` Gleb Natapov
2008-08-21 11:45 ` Kevin O'Connor
2008-08-21 14:14 ` Gleb Natapov
2008-08-21 22:37 ` Sebastian Herbszt
2008-08-23 16:22 ` Gleb Natapov
2008-08-24 21:29 ` Sebastian Herbszt
2008-08-25 4:41 ` [Qemu-devel] " Stanislav Shwartsman
2008-08-21 22:47 ` Sebastian Herbszt [this message]
2008-08-24 15:45 ` [Qemu-devel] " Kevin O'Connor
2008-08-25 6:38 ` Gleb Natapov
2008-08-25 13:57 ` [Qemu-devel] " Stanislav Shwartsman
2008-08-25 14:00 ` [Qemu-devel] " Gleb Natapov
2008-08-31 19:34 ` Sebastian Herbszt
2008-08-31 20:04 ` Gleb Natapov
2008-08-31 21:19 ` [Qemu-devel] " Stanislav Shwartsman
2008-09-11 22:09 ` [Qemu-devel] " Sebastian Herbszt
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='02ef01c903e0$0daa44f0$0201a8c0@zeug' \
--to=herbszt@gmx.de \
--cc=bochs-developers@lists.sourceforge.net \
--cc=gleb@qumranet.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).