Re: [rft] s2ram wakeup moves to .c, could fix few machines

H. Peter Anvin
2008-02-08T21:18:16Z

Pavel Machek wrote:

>
> Indirect call from where?
>
> BIOS jumps to address you provide.
>
>> Where is this code?
>
> arch/x86/kernel/acpi/realmode/wakeup.S
>
> BIOS jumps to wakeup_code. With CS=something, IP=0. If wakeup code is
> at other address than zero, I'll not be able to easily address data
> below it.
> Pavel

Ah, okay. Yes, the canonical way to deal with that is to put a short
jump at the top.

-hpa