<br><br><div class="gmail_quote">On Thu, Apr 8, 2010 at 5:03 PM, Stefan Reinauer <span dir="ltr"><<a href="mailto:stepan@coresystems.de">stepan@coresystems.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



  

<div bgcolor="#ffffff" text="#000000"><div class="im">
On 4/8/10 7:07 PM, Myles Watson wrote:
<blockquote type="cite">
  <div lang="x-western">Here's one for all boards.<br>
  <br>
Signed-off-by: Myles Watson <<a href="mailto:mylesgw@gmail.com" target="_blank">mylesgw@gmail.com</a>><br>
  </div>
</blockquote></div>
Acked-by: Stefan Reinauer <a href="mailto:stepan@coresystems.de" target="_blank"><stepan@coresystems.de></a><br></div></blockquote><div>Rev. 5384<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
<br>
<blockquote type="cite">
  <div lang="x-western"></div>
  <div style="font-family: -moz-fixed; font-size: 13px;" lang="x-western">
  <pre>Index: svn/src/mainboard/amd/dbm690t/acpi_tables.c
===================================================================
--- svn.orig/src/mainboard/amd/dbm690t/acpi_tables.c
+++ svn/src/mainboard/amd/dbm690t/acpi_tables.c
@@ -57,7 +57,7 @@ static void dump_mem(u32 start, u32 end)
 }
 #endif
 
-extern const acpi_header_t AmlCode;
+extern const unsigned char AmlCode[];
  </pre>
  </div>
</blockquote>
I don't think defining them const here gains us much, as they're not
defined const when they're created. <br></div></blockquote><div>I thought that making them const here would make it so that you couldn't do:<br>AmlCode[23] = 'c';<br><br>without a warning.<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
Can we change that, maybe? Extra sed s/unsigned char AmlCode/const
unsigned char AmlCode/g on the iasl output maybe?<br></div></blockquote><div><br>That would be fine with me.  It might be more effort than it's worth.  As long as we copy it before anything else, there shouldn't be any problems.<br>
<br>Thanks,<br>Myles<br></div></div><br>