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?