-jasonzhao
-----Original Message----- From: Kevin O'Connor [mailto:kevin@koconnor.net] Sent: Friday, December 19, 2008 11:57 AM To: Jason Zhao Cc: coreboot@coreboot.org; r.marek@assembler.cz Subject: Re: [coreboot] 2 keypoints to use coreboot+seabios to achieveWINDOWS-XP's s3 sleep/resume
On Wed, Nov 19, 2008 at 11:56:34AM +0800, JasonZhao@viatech.com.cn
wrote:
Firstly, you need download two patchs:the Kevin's for using Seabios
as
payload, and Rudolf's for s3.
http://www.coreboot.org/pipermail/coreboot/2008-September/038551.html
www.coreboot.org/pipermail/coreboot/2008-January/028787.html
[...]
#2 Since when resume from S3, coreboot do not go into payload, so in
vga
driver codes need be added to do vga init after it judged that this
is a
boot waked from s3.
if(acpi_sleep_type==3)
{printk_debug("Enable VGA console\n"); vga_enable_console();}
The bochs project just added S3 support to their code. This required adding S3 resume support into SeaBIOS. This support might also be useful to coreboot.
If it is desirable, we could have coreboot jump to SeaBIOS' post vector (f000:fff0) on an S3 resume instead of the OS. SeaBIOS would
Jumping (f000:fff0) is used in V3? , I remember coreboot-v2 jump to SeaBios via a "elf" way.
then find the ACPI FACP table and resume the OS. This might be useful if we want SeaBIOS to do vga option rom init on resume instead of having coreboot do the init.
-Kevin