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

From: H. Peter Anvin
Date: Fri Feb 08 2008 - 16:18:34 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/