qemu-devel
[Top][All Lists]
Advanced

[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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]