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
YH
-----Original Message----- From: Li-Ta Lo [mailto:ollie@lanl.gov] Sent: Friday, June 03, 2005 10:05 AM To: YhLu Cc: ebiederman@lnxi.com; LinuxBIOS Subject: RE: [LinuxBIOS] FYI: AMD support for cache as ram.
On Fri, 2005-06-03 at 10:04 -0700, YhLu wrote:
So you make the romcc to support the real function instead
of all inline...?
With cache as ram, we don't need romcc, everything can be compiled by GCC.
YH
-----Original Message----- From: ebiederman@lnxi.com [mailto:ebiederman@lnxi.com] Sent: Thursday, June 02, 2005 10:20 PM To: LinuxBIOS Subject: [LinuxBIOS] FYI: AMD support for cache as ram.
Check out the new BIOS and Kernel Developers Guide.
Eric
LinuxBIOS mailing list LinuxBIOS@openbios.org http://www.openbios.org/mailman/listinfo/linuxbios
LinuxBIOS mailing list LinuxBIOS@openbios.org http://www.openbios.org/mailman/listinfo/linuxbios
-- Li-Ta Lo ollie@lanl.gov Los Alamos National Lab
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).
Cache on the PPC is only 8K. It seems to work fine.
Greg
On Jun 3, 2005, at 11:17 AM, 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
YH
-----Original Message----- From: Li-Ta Lo [mailto:ollie@lanl.gov] Sent: Friday, June 03, 2005 10:05 AM To: YhLu Cc: ebiederman@lnxi.com; LinuxBIOS Subject: RE: [LinuxBIOS] FYI: AMD support for cache as ram.
On Fri, 2005-06-03 at 10:04 -0700, YhLu wrote:
So you make the romcc to support the real function instead
of all inline...?
With cache as ram, we don't need romcc, everything can be compiled by GCC.
YH
-----Original Message----- From: ebiederman@lnxi.com [mailto:ebiederman@lnxi.com] Sent: Thursday, June 02, 2005 10:20 PM To: LinuxBIOS Subject: [LinuxBIOS] FYI: AMD support for cache as ram.
Check out the new BIOS and Kernel Developers Guide.
Eric
LinuxBIOS mailing list LinuxBIOS@openbios.org http://www.openbios.org/mailman/listinfo/linuxbios
LinuxBIOS mailing list LinuxBIOS@openbios.org http://www.openbios.org/mailman/listinfo/linuxbios
-- Li-Ta Lo ollie@lanl.gov Los Alamos National Lab
LinuxBIOS mailing list LinuxBIOS@openbios.org http://www.openbios.org/mailman/listinfo/linuxbios
"Ronald G. Minnich" rminnich@lanl.gov writes:
On Fri, 3 Jun 2005, YhLu wrote:
but the cache only 64k, is it enough?
I think it is.
Currently we use 96 bytes I think we can fit it all in 64K. We might be able to run the normal C portion of LinuxBIOS if we decompressed it...
Heck you can even run a small Unix in 64K.....
Eric