[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Make -kernel for linux work with bochsbios
From: |
Alexander Graf |
Subject: |
Re: [Qemu-devel] [PATCH] Make -kernel for linux work with bochsbios |
Date: |
Mon, 30 Nov 2009 14:10:53 +0100 |
User-agent: |
Thunderbird 2.0.0.23 (X11/20090817) |
Alexander Graf wrote:
> While trying to run -kernel with -bios pc-bios/pcbios.bin, I realized
> that I was actually writing data to %es, but only set up %ds to a 32-bit
> segment we want to write to.
>
> So at the end of the day the data hasn't actually been copied. Oops.
>
> So here's a fix to set ES instead of DS, which makes -kernel work with
> BOCHS bios again (and actually makes the code do the correct thing)!
>
ping