-jasonzhao
> -----Original Message----- > From: Kevin O'Connor [mailto:[email protected]] > Sent: Friday, December 19, 2008 11:57 AM > To: Jason Zhao > Cc: [email protected]; [email protected] > 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, [email protected] 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 -- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

