[coreboot] suspend/resume in v3

Stefan Reinauer stepan at coresystems.de
Mon Sep 8 18:00:11 CEST 2008

Carl-Daniel Hailfinger wrote:
> On 08.09.2008 17:34, Stefan Reinauer wrote:
>> * Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net> [080908 17:17]:
>>> - Declare the CAR area as reserved.
>> What is it again that keeps us from putting CAR area somewhere where
>> there's no real RAM?
> The current v3 stage1 design may fail. I don't know of a way to tell gcc
> that the stack moved in the middle of a function. Maybe there is one.

asm volatile ("movl newstack, %eax\n movl %eax, %esp\n")

>> Why don't we just put it into the reserved area to begin with, instead
>> of doing those luxations? Creating a generic relocator does not make
>> much sense, because stuff like the SeaBIOS area will not have to be
>> preserved.
> Unless you want a linker running on boot, you have to know the location
> of the code and data in advance.
We could set up a relocation mapping. That's what FILO does to cope with
this issue.

coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080908/8b268f57/attachment.sig>

More information about the coreboot mailing list