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

Li-Ta Lo ollie at lanl.gov
Fri Jun 10 02:49:52 CEST 2005


> Some good news,
>
> it die at "Clearing initial memory region: ",
> I guess some code that enable mtrr or cache in raminit.c need to move
> out .c and put into crt0.S directly.
>
> Another question:
> Now the auto.inc is generated with gcc, the problem there should some
> way to modify section name.
> i mean .text ---> .section .rom.text
>            .section .rodat ---> .section .rom.data
>
> If the gcc can not do that, any one can tell me how to do that via
> perl or python....
>

Are you using inline asm in gcc code? What is your asm in C looks like?
You can still use .section directive in the inline asm AFIAK.

Ollie





More information about the coreboot mailing list