<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 3/18/10 12:05 AM, Myles Watson wrote:<br>
<blockquote
cite="mid:2831fecf1003171605k6e047846t8433556891a24867@mail.gmail.com"
type="cite">
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">unsigned
char AmlCode[] =<br>
{<br>
0x44,0x53,0x44,0x54,0xE6,0x27,0x00,0x00, /* 00000000 "DSDT.'.."
*/<br>
</blockquote>
</div>
</blockquote>
<br>
<blockquote
cite="mid:2831fecf1003171605k6e047846t8433556891a24867@mail.gmail.com"
type="cite">
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">and
in another file it looks like this:<br>
<div class="im"><br>
-extern unsigned char AmlCode[];<br>
+extern void* AmlCode;<br>
<br>
<br>
</div>
So AmlCode is used as a void * pointing to the address 0x54445344<br>
<br>
which is definitely not what you want...<br>
</blockquote>
<div><br>
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.<br>
</div>
</div>
</blockquote>
What is it, you want to do?<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: <a class="moz-txt-link-abbreviated" href="mailto:info@coresystems.de">info@coresystems.de</a> • <a class="moz-txt-link-freetext" href="http://www.coresystems.de/">http://www.coresystems.de/</a>
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866
</pre>
</body>
</html>