[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [Bochs-developers] [PATCH v3 5/6] Don't use unreserved
From: |
Gleb Natapov |
Subject: |
[Qemu-devel] Re: [Bochs-developers] [PATCH v3 5/6] Don't use unreserved memory inBIOS. |
Date: |
Thu, 13 Nov 2008 09:41:26 +0200 |
On Thu, Nov 13, 2008 at 01:43:35AM +0100, Sebastian Herbszt wrote:
>> @@ -10032,8 +10032,11 @@ rombios32_05:
>> mov gs, ax
>> cld
>>
>> - ;; init the stack pointer
>> - mov esp, #0x00080000
>> + ;; init the stack pointer to point below EBDA
>> + mov ax, [0x040e]
>> + shl eax, #4
>> + mov esp, #-0x10
>> + add esp, eax
>
> This could be a problem if the OS decides to put the wakeup
> vector just below the EBDA. But as long as the EBDA is located
> above 0x9f000 it should be ok and this can be changed later.
>
The other problem is that extended ROM can relocate EBDA below 0x9f000.
I don't think that should stop us from applying this patch series :)
--
Gleb.
[Qemu-devel] [PATCH v3 4/6] Execute rombios32 code from rom address 0xe0000., Gleb Natapov, 2008/11/10
[Qemu-devel] [PATCH v3 5/6] Don't use unreserved memory in BIOS., Gleb Natapov, 2008/11/10
[Qemu-devel] [PATCH v3 6/6] Don't power down vga card on entering S3 state., Gleb Natapov, 2008/11/10
[Qemu-devel] [PATCH v3 2/6] Add S3 state to DSDT. Handle resume event in the BIOS., Gleb Natapov, 2008/11/10
[Qemu-devel] [PATCH v3 3/6] Preserve memory content during SMM init., Gleb Natapov, 2008/11/10