make the cache_as_ram_auto for init.o to use printk now,
#if CONFIG_USE_INIT printk_debug("linxbios_ram.bin length = %08x\r\n", olen); #else print_debug("linxbios_ram.bin length = "); print_debug_hex32(olen); print_debug("\r\n"); #endif
there is some space for optimize code for the raminit and ht init in auto ......
The 8 way system get most benefit from the cache-as-ram solution. 1. with romcc, the compile time may need 5 minutes and can not enable vga support 2. win cache as ram and gcc, compile only need 23 seconds. ( the same as four way and two way), and vga support is already enabled.
the system with multi CK804 as slaves can get some benefits too.
YH
-----Original Message----- From: YhLu Sent: Tuesday, June 14, 2005 4:58 PM To: Ronald G. Minnich; Eric W. Biederman; 'Stefan Reinauer'; Li-Ta Lo Cc: LinuxBIOS Subject: RE: [BULK] RE: [LinuxBIOS] FYI: AMD support for cache as ram.
AMD cache_as_ram first stage done.
current status
- use gcc to produce auto.inc or init.o 2. it can reboot in
fallback 3. it can reboot from fallback to normal 4. it can reboot in normal....
I'm using auto.c for romcc version cache_as_ram_auto.c for gcc and via auto.inc version cache_as_ram_auto.c for gcc and via init.o version
next stage:
- convert cache_as_ram_init.c version.
- it will use the printk_debug to substitue print_debug 3.
create compressed init.o version???? could spare 10k bytes....
YH
LinuxBIOS mailing list LinuxBIOS@openbios.org http://www.openbios.org/mailman/listinfo/linuxbios