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

H. Peter Anvin
2008-02-06T01:36:35Z

Rafael J. Wysocki wrote:
> On Tuesday, 5 of February 2008, Pavel Machek wrote:
>> This rewrites wakeup code to .c, and it fixes stack (should use movl
>> ,%esp, not movw). Testers wanted. Makefile infrastructure was done by
>> hpa, cleanups by rjw.
>
> I'll test it tomorrow and I still have some more cleanups (I was distracted by
> a nasty scheduler issue in the current mainline).

The asm() for making beeps really need to be moved to a function and
cleaned up (redone in C using inb()/outb()) if they are to be retained
at all.

-hpa