[LinuxBIOS] Re: ROMCC bug

yhlu yinghailu at gmail.com
Sat Jun 18 05:53:31 CEST 2005


So we must make cache_as_ram work on other 86 platform besides amd cpu...

Is there any intel public doc about using cache_as_ram?

I have tried amd cache_as_ram in intel platform, it seem if access
some position several times, the contents of that address will become
to 0xff....

YH

On 6/17/05, Steve Magnani <steve at digidescorp.com> wrote:
> This logically-equivalent function appears to compile correctly.
> 
> 
> static void proper_function(unsigned short param)
> {
>        unsigned int data = __builtin_inl(0);
> 
>        switch (data)
>        {
>                case 0:
>                        param = 12;
>                        break;
> 
>                case 4:
>                        param = 42;
>                        break;
> 
>                default:
>                        die();
>                        break;
>        }
> 
>        __builtin_outl(param, 0);
> }
> 
> 
> 
> _______________________________________________
> LinuxBIOS mailing list
> LinuxBIOS at openbios.org
> http://www.openbios.org/mailman/listinfo/linuxbios
>




More information about the coreboot mailing list