All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabrice Bellard <fabrice@bellard.org>
To: eswierk@arastra.com
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Re: [PATCH] LinuxBIOS support: map BIOS into ISA address space as RAM instead of ROM
Date: Thu, 15 Feb 2007 00:12:30 +0100	[thread overview]
Message-ID: <45D3975E.7010101@bellard.org> (raw)
In-Reply-To: <c1bf1cf0702141359l616ebbeqedeca48c912ba3d4@mail.gmail.com>

Ed Swierk wrote:
> On 2/13/07, Ed Swierk <eswierk@arastra.com> wrote:
> 
>> This patch changes qemu to map the BIOS into ISA address space as RAM
>> instead of ROM, allowing LinuxBIOS to run on qemu with no further
>> modifications (although the DRAM size is still not detected properly).
> 
> 
> Unfortunately this isn't the right answer, as modifying the BIOS area
> messes things up on soft reboot. What we really want is shadow RAM
> support, which Bochs seems to support but qemu doesn't.

Shadow RAM is supported in QEMU and I modified the Bochs BIOS to use it. 
So you do not need to do any patch in QEMU for it. Please read the 
rombios32.c source in the Bochs BIOS to know what to do in LinuxBIOS.

To be precise, one case of RAM shadowing is not implemented (read from 
BIOS, write to RAM), but it is not strictly needed to write data in the 
shadow RAM. I needed it once to run a real Award BIOS in QEMU, but I did 
not have the time to clean up the patch to commit it.

Regards,

Fabrice.

      reply	other threads:[~2007-02-14 23:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-14  1:32 [Qemu-devel] [PATCH] LinuxBIOS support: map BIOS into ISA address space as RAM instead of ROM Ed Swierk
2007-02-14 21:59 ` [Qemu-devel] " Ed Swierk
2007-02-14 23:12   ` Fabrice Bellard [this message]

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=45D3975E.7010101@bellard.org \
    --to=fabrice@bellard.org \
    --cc=eswierk@arastra.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.