[coreboot] [Patch] remove some warnings
Stefan Reinauer
stepan at coresystems.de
Thu Mar 18 00:18:02 CET 2010
On 3/18/10 12:05 AM, Myles Watson wrote:
>
> unsigned char AmlCode[] =
> {
> 0x44,0x53,0x44,0x54,0xE6,0x27,0x00,0x00, /* 00000000
> "DSDT.'.." */
>
> and in another file it looks like this:
>
> -extern unsigned char AmlCode[];
> +extern void* AmlCode;
>
>
> So AmlCode is used as a void * pointing to the address 0x54445344
>
> which is definitely not what you want...
>
>
> You're right. And that's definitely not what I expected to happen.
> It seems like there ought to be a correct way to do this. I'll keep
> looking.
What is it, you want to do?
--
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.de • http://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20100318/87f61d2a/attachment.html>
More information about the coreboot
mailing list