> 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


_______________________________________________
LinuxBIOS mailing list
[email protected]
http://www.openbios.org/mailman/listinfo/linuxbios

Reply via email to