Re: factor out common s2ram wakeup code

From: H. Peter Anvin
Date: Tue Jan 22 2008 - 15:28:18 EST


Pavel Machek wrote:
It seems to compile 32/64bit, and work 32bit... Now, video code should
be probably shared with kernel/boot; but that was rewritten to C and
I'm not sure if I know enough about linkers... basically the C code
should replace mode_set() and friends. Peter, can you help?

Yes, absolutely. I think we should probably segregate out into a subdirectory the part of the code that should be run in 16-bit mode, and then it's just a matter of pretty much replicating the mechanisms used in arch/x86/boot.

How can I best be of help?

-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/