[coreboot] suspend/resume in v3
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
> 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
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.de • http://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 249 bytes
Desc: OpenPGP digital signature
More information about the coreboot