Matthew Garrett wrote:

The one real question I have is "Who puts the CPU back in protected mode". In ACPI, that's the kernel. In theory, in our case we could do it in the BIOS. I don't think there's any performance reason to prefer one over the other, and doing it in the kernel means we can use the existing wakeup code without any modification.



do you mean protected mode or paging enabled? Linuxbios goes into protected in the first 10 instructions or so. If it is an s3 restart, then linuxbios can pop out to real mode and call the kernel if needed.

I clearly need to learn more about S3 mode and linux, so that goes on my list.

thanks, your note was very informative!

ron
_______________________________________________
Devel mailing list
[email protected]
http://mailman.laptop.org/mailman/listinfo/devel

Reply via email to