[LinuxBIOS] cache as ram for x86

yhlu yinghailu at gmail.com
Fri Jun 17 06:49:39 CEST 2005


It turns out that Cache as Ram can work in intel xeon too. The only
difference is AMD need to set some bits in SYSCFG_MSR.

So final cache as ram support for x86 will be

there is special version for AMD

in MB dir 
cache_as_ram_auto.c it will include old failover.c and auto.c and
corresponding cache_as_ram_post.c and copy_and_run.c

the cache_as_ram_post.c will stop the cache as ram and switch to ram stack.
copy_and_run will decode linuxbios_ram to memory, and jmp to it.

USE_DCACHE_RAM  ---> use romcc or gcc for auto.c...
CONFIG_USE_INIT ----> use init or not.

the code can coexist with romcc .....

If it is ok, I will check in cache as ram support for s2735 and
s2885/s2891/s2895 tomorrow.

Also I would help to verify that on other x86 platform.


More information about the coreboot mailing list