On 08.09.2008 02:20, Kevin O'Connor wrote:
On Mon, Sep 08, 2008 at 01:50:07AM +0200, Carl-Daniel Hailfinger wrote:
On 08.09.2008 01:27, Kevin O'Connor wrote:
I don't think one can mark 48KB reserved below 0xA0000. I've found that boot loaders are picky about any reserved memory below 1MB.
Would 0xC0000-0xCFFFF for be OK? We already use that on some targets.
Using the space at 0xc8000 - 0xf0000 would work, but it would limit the maximum number of option roms.
That applies to any location between 0xA0000 and 0xFFFFF, though. And a location below 0xA0000 would cause collisions with operating systems and bootloaders requiring lowmem if we didn't discard the stack after finishing execution of coreboot.
(You can't use 0xc0000 for long term storage, because the vga option rom must reside there.)
Fortunately, the stack is designed to be discarded the moment we run a payload, so there are no survival requirements at all.
Regards, Carl-Daniel