public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* fix IO Macro/Namestring name clash in iasl compiler
@ 2005-09-05 14:54 Thomas Renninger
  0 siblings, 0 replies; only message in thread
From: Thomas Renninger @ 2005-09-05 14:54 UTC (permalink / raw)
  To: ML ACPI-devel

Hi,

I got a DSDT that uses IO as an OperationRegion/Field definition.
As this seems to be working with the M$ compiler, it does not with the Intel.

This fixes/workarounds the problem (Thanks to Michael Matz for helping me to find a fix):
DSDT to test: http://www.renninger.de/acpi/dsdt.dsl

--- acpica-unix-20050624/compiler/aslcompiler.y.orig    2005-09-06 16:46:21.000000000 +0200
+++ acpica-unix-20050624/compiler/aslcompiler.y 2005-09-06 15:40:37.000000000 +0200
@@ -2951,6 +2951,7 @@
  NameString
      : NameSeg                       {}
      | PARSEOP_NAMESTRING            {$$ = TrCreateValuedLeafNode (PARSEOP_NAMESTRING, (ACPI_NATIVE_INT) AslCompilerlval.s);}
+    | PARSEOP_IO                    {$$ = TrCreateValuedLeafNode (PARSEOP_IO, (ACPI_NATIVE_INT) "IO");}
      ;

  NameSeg

     Thomas


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-09-05 14:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-05 14:54 fix IO Macro/Namestring name clash in iasl compiler Thomas Renninger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox