[LinuxBIOS] FYI: AMD support for cache as ram.

Li-Ta Lo ollie at lanl.gov
Fri Jun 3 19:22:59 CEST 2005

On Fri, 2005-06-03 at 10:17 -0700, YhLu wrote:
> So you will use asm to enable cache as ram. ----cache_as_ram.inc
> and execute the code in ROM ( compiled by gcc) to initialize the RAM.
> ----auto.c
> but the cache only 64k, is it enough?
> the cache will be used as stack for function. How about the decompress for
> auto.o...
> .....
> cool

64KB is actually to much for the stack. I had a (semi)working version
long time ago. It only provided 448 Bytes of space. It worked well for
UP case (actually, I think the problem was HT reset rather than stack
overflow in MP cases).
Li-Ta Lo <ollie at lanl.gov>
Los Alamos National Lab

More information about the coreboot mailing list