- Make ACPI use PCH. Cuts down compile time to 9 seconds on gcc.
Modified: trunk/reactos/drivers/bus/acpi/acpi.xml
Modified: trunk/reactos/drivers/bus/acpi/dispatcher/dsfield.c
Modified: trunk/reactos/drivers/bus/acpi/dispatcher/dsmethod.c
Modified: trunk/reactos/drivers/bus/acpi/dispatcher/dsmthdat.c
Modified: trunk/reactos/drivers/bus/acpi/dispatcher/dsobject.c
Modified: trunk/reactos/drivers/bus/acpi/dispatcher/dsopcode.c
Modified: trunk/reactos/drivers/bus/acpi/dispatcher/dsutils.c
Modified: trunk/reactos/drivers/bus/acpi/dispatcher/dswexec.c
Modified: trunk/reactos/drivers/bus/acpi/dispatcher/dswload.c
Modified: trunk/reactos/drivers/bus/acpi/dispatcher/dswscope.c
Modified: trunk/reactos/drivers/bus/acpi/dispatcher/dswstate.c
Modified: trunk/reactos/drivers/bus/acpi/events/evevent.c
Modified: trunk/reactos/drivers/bus/acpi/events/evmisc.c
Modified: trunk/reactos/drivers/bus/acpi/events/evregion.c
Modified: trunk/reactos/drivers/bus/acpi/events/evrgnini.c
Modified: trunk/reactos/drivers/bus/acpi/events/evsci.c
Modified: trunk/reactos/drivers/bus/acpi/events/evxface.c
Modified: trunk/reactos/drivers/bus/acpi/events/evxfevnt.c
Modified: trunk/reactos/drivers/bus/acpi/events/evxfregn.c
Modified: trunk/reactos/drivers/bus/acpi/executer/amconfig.c
Modified: trunk/reactos/drivers/bus/acpi/executer/amconvrt.c
Modified: trunk/reactos/drivers/bus/acpi/executer/amcreate.c
Modified: trunk/reactos/drivers/bus/acpi/executer/amdump.c
Modified: trunk/reactos/drivers/bus/acpi/executer/amdyadic.c
Modified: trunk/reactos/drivers/bus/acpi/executer/amfield.c
Modified: trunk/reactos/drivers/bus/acpi/executer/amfldio.c
Modified: trunk/reactos/drivers/bus/acpi/executer/ammisc.c
Modified: trunk/reactos/drivers/bus/acpi/executer/ammonad.c
Modified: trunk/reactos/drivers/bus/acpi/executer/ammutex.c
Modified: trunk/reactos/drivers/bus/acpi/executer/amnames.c
Modified: trunk/reactos/drivers/bus/acpi/executer/amprep.c
Modified: trunk/reactos/drivers/bus/acpi/executer/amregion.c
Modified: trunk/reactos/drivers/bus/acpi/executer/amresnte.c
Modified: trunk/reactos/drivers/bus/acpi/executer/amresolv.c
Modified: trunk/reactos/drivers/bus/acpi/executer/amresop.c
Modified: trunk/reactos/drivers/bus/acpi/executer/amstore.c
Modified: trunk/reactos/drivers/bus/acpi/executer/amstoren.c
Modified: trunk/reactos/drivers/bus/acpi/executer/amstorob.c
Modified: trunk/reactos/drivers/bus/acpi/executer/amsystem.c
Modified: trunk/reactos/drivers/bus/acpi/executer/amutils.c
Modified: trunk/reactos/drivers/bus/acpi/executer/amxface.c
Modified: trunk/reactos/drivers/bus/acpi/hardware/hwacpi.c
Modified: trunk/reactos/drivers/bus/acpi/hardware/hwgpe.c
Modified: trunk/reactos/drivers/bus/acpi/hardware/hwregs.c
Modified: trunk/reactos/drivers/bus/acpi/hardware/hwsleep.c
Modified: trunk/reactos/drivers/bus/acpi/hardware/hwtimer.c
Modified: trunk/reactos/drivers/bus/acpi/include/acexcep.h
Modified: trunk/reactos/drivers/bus/acpi/include/acpi.h
Modified: trunk/reactos/drivers/bus/acpi/namespace/nsaccess.c
Modified: trunk/reactos/drivers/bus/acpi/namespace/nsalloc.c
Modified: trunk/reactos/drivers/bus/acpi/namespace/nseval.c
Modified: trunk/reactos/drivers/bus/acpi/namespace/nsinit.c
Modified: trunk/reactos/drivers/bus/acpi/namespace/nsload.c
Modified: trunk/reactos/drivers/bus/acpi/namespace/nsnames.c
Modified: trunk/reactos/drivers/bus/acpi/namespace/nsobject.c
Modified: trunk/reactos/drivers/bus/acpi/namespace/nssearch.c
Modified: trunk/reactos/drivers/bus/acpi/namespace/nsutils.c
Modified: trunk/reactos/drivers/bus/acpi/namespace/nswalk.c
Modified: trunk/reactos/drivers/bus/acpi/namespace/nsxfname.c
Modified: trunk/reactos/drivers/bus/acpi/namespace/nsxfobj.c
Modified: trunk/reactos/drivers/bus/acpi/ospm/acpienum.c
Modified: trunk/reactos/drivers/bus/acpi/ospm/acpisys.c
Modified: trunk/reactos/drivers/bus/acpi/ospm/bn.c
Modified: trunk/reactos/drivers/bus/acpi/ospm/busmgr/bm.c
Modified: trunk/reactos/drivers/bus/acpi/ospm/busmgr/bmnotify.c
Modified: trunk/reactos/drivers/bus/acpi/ospm/busmgr/bmpm.c
Modified: trunk/reactos/drivers/bus/acpi/ospm/busmgr/bmpower.c
Modified: trunk/reactos/drivers/bus/acpi/ospm/busmgr/bmrequest.c
Modified: trunk/reactos/drivers/bus/acpi/ospm/busmgr/bmsearch.c
Modified: trunk/reactos/drivers/bus/acpi/ospm/busmgr/bmutils.c
Modified: trunk/reactos/drivers/bus/acpi/ospm/busmgr/bmxface.c
Modified: trunk/reactos/drivers/bus/acpi/ospm/fdo.c
Modified: trunk/reactos/drivers/bus/acpi/ospm/include/acpisys.h
Modified: trunk/reactos/drivers/bus/acpi/ospm/osl.c
Modified: trunk/reactos/drivers/bus/acpi/ospm/pdo.c
Modified: trunk/reactos/drivers/bus/acpi/parser/psargs.c
Modified: trunk/reactos/drivers/bus/acpi/parser/psopcode.c
Modified: trunk/reactos/drivers/bus/acpi/parser/psparse.c
Modified: trunk/reactos/drivers/bus/acpi/parser/psscope.c
Modified: trunk/reactos/drivers/bus/acpi/parser/pstree.c
Modified: trunk/reactos/drivers/bus/acpi/parser/psutils.c
Modified: trunk/reactos/drivers/bus/acpi/parser/pswalk.c
Modified: trunk/reactos/drivers/bus/acpi/parser/psxface.c
Modified: trunk/reactos/drivers/bus/acpi/resource/rsaddr.c
Modified: trunk/reactos/drivers/bus/acpi/resource/rscalc.c
Modified: trunk/reactos/drivers/bus/acpi/resource/rscreate.c
Modified: trunk/reactos/drivers/bus/acpi/resource/rsdump.c
Modified: trunk/reactos/drivers/bus/acpi/resource/rsio.c
Modified: trunk/reactos/drivers/bus/acpi/resource/rsirq.c
Modified: trunk/reactos/drivers/bus/acpi/resource/rslist.c
Modified: trunk/reactos/drivers/bus/acpi/resource/rsmemory.c
Modified: trunk/reactos/drivers/bus/acpi/resource/rsmisc.c
Modified: trunk/reactos/drivers/bus/acpi/resource/rsutils.c
Modified: trunk/reactos/drivers/bus/acpi/resource/rsxface.c
Modified: trunk/reactos/drivers/bus/acpi/tables/tbconvrt.c
Modified: trunk/reactos/drivers/bus/acpi/tables/tbget.c
Modified: trunk/reactos/drivers/bus/acpi/tables/tbinstal.c
Modified: trunk/reactos/drivers/bus/acpi/tables/tbutils.c
Modified: trunk/reactos/drivers/bus/acpi/tables/tbxface.c
Modified: trunk/reactos/drivers/bus/acpi/tables/tbxfroot.c
[truncated at 100 lines; 11 more skipped]
Modified: trunk/reactos/drivers/bus/acpi/acpi.xml
--- trunk/reactos/drivers/bus/acpi/acpi.xml	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/acpi.xml	2006-01-09 00:41:48 UTC (rev 20747)
@@ -134,4 +134,5 @@
 		<file>cmxface.c</file>
 	</directory>
 	<file>acpi.rc</file>
+	<pch>include/acpi.h</pch>
 </module>

Modified: trunk/reactos/drivers/bus/acpi/dispatcher/dsfield.c
--- trunk/reactos/drivers/bus/acpi/dispatcher/dsfield.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/dispatcher/dsfield.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -24,13 +24,8 @@
  */
 
 
-#include "acpi.h"
-#include "amlcode.h"
-#include "acdispat.h"
-#include "acinterp.h"
-#include "acnamesp.h"
+#include <acpi.h>
 
-
 #define _COMPONENT          ACPI_DISPATCHER
 	 MODULE_NAME         ("dsfield")
 

Modified: trunk/reactos/drivers/bus/acpi/dispatcher/dsmethod.c
--- trunk/reactos/drivers/bus/acpi/dispatcher/dsmethod.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/dispatcher/dsmethod.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -24,16 +24,8 @@
  */
 
 
-#include "acpi.h"
-#include "acparser.h"
-#include "amlcode.h"
-#include "acdispat.h"
-#include "acinterp.h"
-#include "acnamesp.h"
-#include "actables.h"
-#include "acdebug.h"
+#include <acpi.h>
 
-
 #define _COMPONENT          ACPI_DISPATCHER
 	 MODULE_NAME         ("dsmethod")
 

Modified: trunk/reactos/drivers/bus/acpi/dispatcher/dsmthdat.c
--- trunk/reactos/drivers/bus/acpi/dispatcher/dsmthdat.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/dispatcher/dsmthdat.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -24,14 +24,8 @@
  */
 
 
-#include "acpi.h"
-#include "acparser.h"
-#include "acdispat.h"
-#include "acinterp.h"
-#include "amlcode.h"
-#include "acnamesp.h"
+#include <acpi.h>
 
-
 #define _COMPONENT          ACPI_DISPATCHER
 	 MODULE_NAME         ("dsmthdat")
 

Modified: trunk/reactos/drivers/bus/acpi/dispatcher/dsobject.c
--- trunk/reactos/drivers/bus/acpi/dispatcher/dsobject.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/dispatcher/dsobject.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -24,12 +24,7 @@
  */
 
 
-#include "acpi.h"
-#include "acparser.h"
-#include "amlcode.h"
-#include "acdispat.h"
-#include "acinterp.h"
-#include "acnamesp.h"
+#include <acpi.h>
 
 #define _COMPONENT          ACPI_DISPATCHER
 	 MODULE_NAME         ("dsobject")

Modified: trunk/reactos/drivers/bus/acpi/dispatcher/dsopcode.c
--- trunk/reactos/drivers/bus/acpi/dispatcher/dsopcode.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/dispatcher/dsopcode.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -25,14 +25,7 @@
  */
 
 
-#include "acpi.h"
-#include "acparser.h"
-#include "amlcode.h"
-#include "acdispat.h"
-#include "acinterp.h"
-#include "acnamesp.h"
-#include "acevents.h"
-#include "actables.h"
+#include <acpi.h>
 
 #define _COMPONENT          ACPI_DISPATCHER
 	 MODULE_NAME         ("dsopcode")

Modified: trunk/reactos/drivers/bus/acpi/dispatcher/dsutils.c
--- trunk/reactos/drivers/bus/acpi/dispatcher/dsutils.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/dispatcher/dsutils.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -24,13 +24,7 @@
  */
 
 
-#include "acpi.h"
-#include "acparser.h"
-#include "amlcode.h"
-#include "acdispat.h"
-#include "acinterp.h"
-#include "acnamesp.h"
-#include "acdebug.h"
+#include <acpi.h>
 
 #define _COMPONENT          ACPI_DISPATCHER
 	 MODULE_NAME         ("dsutils")

Modified: trunk/reactos/drivers/bus/acpi/dispatcher/dswexec.c
--- trunk/reactos/drivers/bus/acpi/dispatcher/dswexec.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/dispatcher/dswexec.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -25,15 +25,8 @@
  */
 
 
-#include "acpi.h"
-#include "acparser.h"
-#include "amlcode.h"
-#include "acdispat.h"
-#include "acinterp.h"
-#include "acnamesp.h"
-#include "acdebug.h"
+#include <acpi.h>
 
-
 #define _COMPONENT          ACPI_DISPATCHER
 	 MODULE_NAME         ("dswexec")
 

Modified: trunk/reactos/drivers/bus/acpi/dispatcher/dswload.c
--- trunk/reactos/drivers/bus/acpi/dispatcher/dswload.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/dispatcher/dswload.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -24,15 +24,8 @@
  */
 
 
-#include "acpi.h"
-#include "acparser.h"
-#include "amlcode.h"
-#include "acdispat.h"
-#include "acinterp.h"
-#include "acnamesp.h"
-#include "acevents.h"
+#include <acpi.h>
 
-
 #define _COMPONENT          ACPI_DISPATCHER
 	 MODULE_NAME         ("dswload")
 

Modified: trunk/reactos/drivers/bus/acpi/dispatcher/dswscope.c
--- trunk/reactos/drivers/bus/acpi/dispatcher/dswscope.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/dispatcher/dswscope.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -24,11 +24,8 @@
  */
 
 
-#include "acpi.h"
-#include "acinterp.h"
-#include "acdispat.h"
+#include <acpi.h>
 
-
 #define _COMPONENT          ACPI_DISPATCHER
 	 MODULE_NAME         ("dswscope")
 

Modified: trunk/reactos/drivers/bus/acpi/dispatcher/dswstate.c
--- trunk/reactos/drivers/bus/acpi/dispatcher/dswstate.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/dispatcher/dswstate.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -24,12 +24,7 @@
  */
 
 
-#include "acpi.h"
-#include "amlcode.h"
-#include "acparser.h"
-#include "acdispat.h"
-#include "acnamesp.h"
-#include "acinterp.h"
+#include <acpi.h>
 
 #define _COMPONENT          ACPI_DISPATCHER
 	 MODULE_NAME         ("dswstate")

Modified: trunk/reactos/drivers/bus/acpi/events/evevent.c
--- trunk/reactos/drivers/bus/acpi/events/evevent.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/events/evevent.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -24,11 +24,7 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#include "acpi.h"
-#include "achware.h"
-#include "acevents.h"
-#include "acnamesp.h"
-#include "accommon.h"
+#include <acpi.h>
 
 #define _COMPONENT          ACPI_EVENTS
 	 MODULE_NAME         ("evevent")

Modified: trunk/reactos/drivers/bus/acpi/events/evmisc.c
--- trunk/reactos/drivers/bus/acpi/events/evmisc.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/events/evmisc.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -24,11 +24,7 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#include "acpi.h"
-#include "acevents.h"
-#include "acnamesp.h"
-#include "acinterp.h"
-#include "achware.h"
+#include <acpi.h>
 
 #define _COMPONENT          ACPI_EVENTS
 	 MODULE_NAME         ("evmisc")

Modified: trunk/reactos/drivers/bus/acpi/events/evregion.c
--- trunk/reactos/drivers/bus/acpi/events/evregion.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/events/evregion.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -24,11 +24,7 @@
  */
 
 
-#include "acpi.h"
-#include "acevents.h"
-#include "acnamesp.h"
-#include "acinterp.h"
-#include "amlcode.h"
+#include <acpi.h>
 
 #define _COMPONENT          ACPI_EVENTS
 	 MODULE_NAME         ("evregion")

Modified: trunk/reactos/drivers/bus/acpi/events/evrgnini.c
--- trunk/reactos/drivers/bus/acpi/events/evrgnini.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/events/evrgnini.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -24,11 +24,7 @@
  */
 
 
-#include "acpi.h"
-#include "acevents.h"
-#include "acnamesp.h"
-#include "acinterp.h"
-#include "amlcode.h"
+#include <acpi.h>
 
 #define _COMPONENT          ACPI_EVENTS
 	 MODULE_NAME         ("evrgnini")

Modified: trunk/reactos/drivers/bus/acpi/events/evsci.c
--- trunk/reactos/drivers/bus/acpi/events/evsci.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/events/evsci.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -24,12 +24,8 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#include "acpi.h"
-#include "acnamesp.h"
-#include "achware.h"
-#include "acevents.h"
+#include <acpi.h>
 
-
 #define _COMPONENT          ACPI_EVENTS
 	 MODULE_NAME         ("evsci")
 

Modified: trunk/reactos/drivers/bus/acpi/events/evxface.c
--- trunk/reactos/drivers/bus/acpi/events/evxface.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/events/evxface.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -24,12 +24,7 @@
  */
 
 
-#include "acpi.h"
-#include "achware.h"
-#include "acnamesp.h"
-#include "acevents.h"
-#include "amlcode.h"
-#include "acinterp.h"
+#include <acpi.h>
 
 #define _COMPONENT          ACPI_EVENTS
 	 MODULE_NAME         ("evxface")

Modified: trunk/reactos/drivers/bus/acpi/events/evxfevnt.c
--- trunk/reactos/drivers/bus/acpi/events/evxfevnt.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/events/evxfevnt.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -24,12 +24,7 @@
  */
 
 
-#include "acpi.h"
-#include "achware.h"
-#include "acnamesp.h"
-#include "acevents.h"
-#include "amlcode.h"
-#include "acinterp.h"
+#include <acpi.h>
 
 #define _COMPONENT          ACPI_EVENTS
 	 MODULE_NAME         ("evxfevnt")

Modified: trunk/reactos/drivers/bus/acpi/events/evxfregn.c
--- trunk/reactos/drivers/bus/acpi/events/evxfregn.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/events/evxfregn.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -25,12 +25,7 @@
  */
 
 
-#include "acpi.h"
-#include "achware.h"
-#include "acnamesp.h"
-#include "acevents.h"
-#include "amlcode.h"
-#include "acinterp.h"
+#include <acpi.h>
 
 #define _COMPONENT          ACPI_EVENTS
 	 MODULE_NAME         ("evxfregn")

Modified: trunk/reactos/drivers/bus/acpi/executer/amconfig.c
--- trunk/reactos/drivers/bus/acpi/executer/amconfig.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/executer/amconfig.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -24,14 +24,7 @@
  */
 
 
-#include "acpi.h"
-#include "acparser.h"
-#include "acinterp.h"
-#include "amlcode.h"
-#include "acnamesp.h"
-#include "acevents.h"
-#include "actables.h"
-#include "acdispat.h"
+#include <acpi.h>
 
 
 #define _COMPONENT          ACPI_EXECUTER

Modified: trunk/reactos/drivers/bus/acpi/executer/amconvrt.c
--- trunk/reactos/drivers/bus/acpi/executer/amconvrt.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/executer/amconvrt.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -24,15 +24,8 @@
  */
 
 
-#include "acpi.h"
-#include "acparser.h"
-#include "acnamesp.h"
-#include "acinterp.h"
-#include "acevents.h"
-#include "amlcode.h"
-#include "acdispat.h"
+#include <acpi.h>
 
-
 #define _COMPONENT          ACPI_EXECUTER
 	 MODULE_NAME         ("amconvrt")
 

Modified: trunk/reactos/drivers/bus/acpi/executer/amcreate.c
--- trunk/reactos/drivers/bus/acpi/executer/amcreate.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/executer/amcreate.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -24,13 +24,7 @@
  */
 
 
-#include "acpi.h"
-#include "acparser.h"
-#include "acinterp.h"
-#include "amlcode.h"
-#include "acnamesp.h"
-#include "acevents.h"
-#include "acdispat.h"
+#include <acpi.h>
 
 
 #define _COMPONENT          ACPI_EXECUTER

Modified: trunk/reactos/drivers/bus/acpi/executer/amdump.c
--- trunk/reactos/drivers/bus/acpi/executer/amdump.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/executer/amdump.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -24,11 +24,7 @@
  */
 
 
-#include "acpi.h"
-#include "acinterp.h"
-#include "amlcode.h"
-#include "acnamesp.h"
-#include "actables.h"
+#include <acpi.h>
 
 #define _COMPONENT          ACPI_EXECUTER
 	 MODULE_NAME         ("amdump")

Modified: trunk/reactos/drivers/bus/acpi/executer/amdyadic.c
--- trunk/reactos/drivers/bus/acpi/executer/amdyadic.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/executer/amdyadic.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -24,15 +24,10 @@
  */
 
 
-#include "acpi.h"
-#include "acparser.h"
-#include "acnamesp.h"
-#include "acinterp.h"
-#include "acevents.h"
-#include "amlcode.h"
-#include "acdispat.h"
+#include <acpi.h>
 
 
+
 #define _COMPONENT          ACPI_EXECUTER
 	 MODULE_NAME         ("amdyadic")
 

Modified: trunk/reactos/drivers/bus/acpi/executer/amfield.c
--- trunk/reactos/drivers/bus/acpi/executer/amfield.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/executer/amfield.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -24,15 +24,10 @@
  */
 
 
-#include "acpi.h"
-#include "acdispat.h"
-#include "acinterp.h"
-#include "amlcode.h"
-#include "acnamesp.h"
-#include "achware.h"
-#include "acevents.h"
+#include <acpi.h>
 
 
+
 #define _COMPONENT          ACPI_EXECUTER
 	 MODULE_NAME         ("amfield")
 

Modified: trunk/reactos/drivers/bus/acpi/executer/amfldio.c
--- trunk/reactos/drivers/bus/acpi/executer/amfldio.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/executer/amfldio.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -24,12 +24,7 @@
  */
 
 
-#include "acpi.h"
-#include "acinterp.h"
-#include "amlcode.h"
-#include "acnamesp.h"
-#include "achware.h"
-#include "acevents.h"
+#include <acpi.h>
 
 
 #define _COMPONENT          ACPI_EXECUTER

Modified: trunk/reactos/drivers/bus/acpi/executer/ammisc.c
--- trunk/reactos/drivers/bus/acpi/executer/ammisc.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/executer/ammisc.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -25,13 +25,10 @@
  */
 
 
-#include "acpi.h"
-#include "acparser.h"
-#include "acinterp.h"
-#include "amlcode.h"
-#include "acdispat.h"
+#include <acpi.h>
 
 
+
 #define _COMPONENT          ACPI_EXECUTER
 	 MODULE_NAME         ("ammisc")
 

Modified: trunk/reactos/drivers/bus/acpi/executer/ammonad.c
--- trunk/reactos/drivers/bus/acpi/executer/ammonad.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/executer/ammonad.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -25,12 +25,7 @@
  */
 
 
-#include "acpi.h"
-#include "acparser.h"
-#include "acdispat.h"
-#include "acinterp.h"
-#include "amlcode.h"
-#include "acnamesp.h"
+#include <acpi.h>
 
 
 #define _COMPONENT          ACPI_EXECUTER

Modified: trunk/reactos/drivers/bus/acpi/executer/ammutex.c
--- trunk/reactos/drivers/bus/acpi/executer/ammutex.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/executer/ammutex.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -25,12 +25,9 @@
  */
 
 
-#include "acpi.h"
-#include "acinterp.h"
-#include "acnamesp.h"
-#include "achware.h"
-#include "acevents.h"
+#include <acpi.h>
 
+
 #define _COMPONENT          ACPI_EXECUTER
 	 MODULE_NAME         ("ammutex")
 

Modified: trunk/reactos/drivers/bus/acpi/executer/amnames.c
--- trunk/reactos/drivers/bus/acpi/executer/amnames.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/executer/amnames.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -25,11 +25,9 @@
  */
 
 
-#include "acpi.h"
-#include "acinterp.h"
-#include "amlcode.h"
-#include "acnamesp.h"
+#include <acpi.h>
 
+
 #define _COMPONENT          ACPI_EXECUTER
 	 MODULE_NAME         ("amnames")
 

Modified: trunk/reactos/drivers/bus/acpi/executer/amprep.c
--- trunk/reactos/drivers/bus/acpi/executer/amprep.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/executer/amprep.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -25,11 +25,7 @@
  */
 
 
-#include "acpi.h"
-#include "acinterp.h"
-#include "amlcode.h"
-#include "acnamesp.h"
-#include "acparser.h"
+#include <acpi.h>
 
 
 #define _COMPONENT          ACPI_EXECUTER

Modified: trunk/reactos/drivers/bus/acpi/executer/amregion.c
--- trunk/reactos/drivers/bus/acpi/executer/amregion.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/executer/amregion.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -25,14 +25,10 @@
  */
 
 
-#include "acpi.h"
-#include "acinterp.h"
-#include "amlcode.h"
-#include "acnamesp.h"
-#include "achware.h"
-#include "acevents.h"
+#include <acpi.h>
 
 
+
 #define _COMPONENT          ACPI_EXECUTER
 	 MODULE_NAME         ("amregion")
 

Modified: trunk/reactos/drivers/bus/acpi/executer/amresnte.c
--- trunk/reactos/drivers/bus/acpi/executer/amresnte.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/executer/amresnte.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -25,16 +25,10 @@
  */
 
 
-#include "acpi.h"
-#include "amlcode.h"
-#include "acparser.h"
-#include "acdispat.h"
-#include "acinterp.h"
-#include "acnamesp.h"
-#include "actables.h"
-#include "acevents.h"
+#include <acpi.h>
 
 
+
 #define _COMPONENT          ACPI_EXECUTER
 	 MODULE_NAME         ("amresnte")
 

Modified: trunk/reactos/drivers/bus/acpi/executer/amresolv.c
--- trunk/reactos/drivers/bus/acpi/executer/amresolv.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/executer/amresolv.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -25,16 +25,10 @@
  */
 
 
-#include "acpi.h"
-#include "amlcode.h"
-#include "acparser.h"
-#include "acdispat.h"
-#include "acinterp.h"
-#include "acnamesp.h"
-#include "actables.h"
-#include "acevents.h"
+#include <acpi.h>
 
 
+
 #define _COMPONENT          ACPI_EXECUTER
 	 MODULE_NAME         ("amresolv")
 

Modified: trunk/reactos/drivers/bus/acpi/executer/amresop.c
--- trunk/reactos/drivers/bus/acpi/executer/amresop.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/executer/amresop.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -25,16 +25,10 @@
  */
 
 
-#include "acpi.h"
-#include "amlcode.h"
-#include "acparser.h"
-#include "acdispat.h"
-#include "acinterp.h"
-#include "acnamesp.h"
-#include "actables.h"
-#include "acevents.h"
+#include <acpi.h>
 
 
+
 #define _COMPONENT          ACPI_EXECUTER
 	 MODULE_NAME         ("amresop")
 

Modified: trunk/reactos/drivers/bus/acpi/executer/amstore.c
--- trunk/reactos/drivers/bus/acpi/executer/amstore.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/executer/amstore.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -25,13 +25,7 @@
  */
 
 
-#include "acpi.h"
-#include "acparser.h"
-#include "acdispat.h"
-#include "acinterp.h"
-#include "amlcode.h"
-#include "acnamesp.h"
-#include "actables.h"
+#include <acpi.h>
 
 
 #define _COMPONENT          ACPI_EXECUTER

Modified: trunk/reactos/drivers/bus/acpi/executer/amstoren.c
--- trunk/reactos/drivers/bus/acpi/executer/amstoren.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/executer/amstoren.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -26,15 +26,10 @@
  */
 
 
-#include "acpi.h"
-#include "acparser.h"
-#include "acdispat.h"
-#include "acinterp.h"
-#include "amlcode.h"
-#include "acnamesp.h"
-#include "actables.h"
+#include <acpi.h>
 
 
+
 #define _COMPONENT          ACPI_EXECUTER
 	 MODULE_NAME         ("amstoren")
 

Modified: trunk/reactos/drivers/bus/acpi/executer/amstorob.c
--- trunk/reactos/drivers/bus/acpi/executer/amstorob.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/executer/amstorob.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -25,13 +25,7 @@
  */
 
 
-#include "acpi.h"
-#include "acparser.h"
-#include "acdispat.h"
-#include "acinterp.h"
-#include "amlcode.h"
-#include "acnamesp.h"
-#include "actables.h"
+#include <acpi.h>
 
 
 #define _COMPONENT          ACPI_EXECUTER

Modified: trunk/reactos/drivers/bus/acpi/executer/amsystem.c
--- trunk/reactos/drivers/bus/acpi/executer/amsystem.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/executer/amsystem.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -25,12 +25,9 @@
  */
 
 
-#include "acpi.h"
-#include "acinterp.h"
-#include "acnamesp.h"
-#include "achware.h"
-#include "acevents.h"
+#include <acpi.h>
 
+
 #define _COMPONENT          ACPI_EXECUTER
 	 MODULE_NAME         ("amsystem")
 

Modified: trunk/reactos/drivers/bus/acpi/executer/amutils.c
--- trunk/reactos/drivers/bus/acpi/executer/amutils.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/executer/amutils.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -25,13 +25,9 @@
  */
 
 
-#include "acpi.h"
-#include "acparser.h"
-#include "acinterp.h"
-#include "amlcode.h"
-#include "acnamesp.h"
-#include "acevents.h"
+#include <acpi.h>
 
+
 #define _COMPONENT          ACPI_EXECUTER
 	 MODULE_NAME         ("amutils")
 

Modified: trunk/reactos/drivers/bus/acpi/executer/amxface.c
--- trunk/reactos/drivers/bus/acpi/executer/amxface.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/executer/amxface.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -25,10 +25,10 @@
  */
 
 
-#include "acpi.h"
-#include "acinterp.h"
+#include <acpi.h>
 
 
+
 #define _COMPONENT          ACPI_EXECUTER
 	 MODULE_NAME         ("amxface")
 

Modified: trunk/reactos/drivers/bus/acpi/hardware/hwacpi.c
--- trunk/reactos/drivers/bus/acpi/hardware/hwacpi.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/hardware/hwacpi.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -25,10 +25,8 @@
  */
 
 
-#include "acpi.h"
-#include "achware.h"
+#include <acpi.h>
 
-
 #define _COMPONENT          ACPI_HARDWARE
 	 MODULE_NAME         ("hwacpi")
 

Modified: trunk/reactos/drivers/bus/acpi/hardware/hwgpe.c
--- trunk/reactos/drivers/bus/acpi/hardware/hwgpe.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/hardware/hwgpe.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -24,10 +24,7 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#include "acpi.h"
-#include "achware.h"
-#include "acnamesp.h"
-#include "acevents.h"
+#include <acpi.h>
 
 #define _COMPONENT          ACPI_HARDWARE
 	 MODULE_NAME         ("hwgpe")

Modified: trunk/reactos/drivers/bus/acpi/hardware/hwregs.c
--- trunk/reactos/drivers/bus/acpi/hardware/hwregs.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/hardware/hwregs.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -26,9 +26,7 @@
  */
 
 
-#include "acpi.h"
-#include "achware.h"
-#include "acnamesp.h"
+#include <acpi.h>
 
 #define _COMPONENT          ACPI_HARDWARE
 	 MODULE_NAME         ("hwregs")

Modified: trunk/reactos/drivers/bus/acpi/hardware/hwsleep.c
--- trunk/reactos/drivers/bus/acpi/hardware/hwsleep.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/hardware/hwsleep.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -24,9 +24,7 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#include "acpi.h"
-#include "acnamesp.h"
-#include "achware.h"
+#include <acpi.h>
 
 #define _COMPONENT          ACPI_HARDWARE
 	 MODULE_NAME         ("hwsleep")

Modified: trunk/reactos/drivers/bus/acpi/hardware/hwtimer.c
--- trunk/reactos/drivers/bus/acpi/hardware/hwtimer.c	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/hardware/hwtimer.c	2006-01-09 00:41:48 UTC (rev 20747)
@@ -24,8 +24,7 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#include "acpi.h"
-#include "achware.h"
+#include <acpi.h>
 
 #define _COMPONENT          ACPI_HARDWARE
 	 MODULE_NAME         ("hwtimer")

Modified: trunk/reactos/drivers/bus/acpi/include/acexcep.h
--- trunk/reactos/drivers/bus/acpi/include/acexcep.h	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/include/acexcep.h	2006-01-09 00:41:48 UTC (rev 20747)
@@ -146,102 +146,5 @@
 #define AE_CODE_CTRL_MAX                0x0008
 
 
-#ifdef DEFINE_ACPI_GLOBALS
 
-/*
- * String versions of the exception codes above
- * These strings must match the corresponding defines exactly
- */
-static NATIVE_CHAR          *acpi_gbl_exception_names_env[] =
-{
-	"AE_OK",
-	"AE_ERROR",
-	"AE_NO_ACPI_TABLES",
-	"AE_NO_NAMESPACE",
-	"AE_NO_MEMORY",
-	"AE_NOT_FOUND",
-	"AE_NOT_EXIST",
-	"AE_EXIST",
-	"AE_TYPE",
-	"AE_NULL_OBJECT",
-	"AE_NULL_ENTRY",
-	"AE_BUFFER_OVERFLOW",
-	"AE_STACK_OVERFLOW",
-	"AE_STACK_UNDERFLOW",
-	"AE_NOT_IMPLEMENTED",
-	"AE_VERSION_MISMATCH",
-	"AE_SUPPORT",
-	"AE_SHARE",
-	"AE_LIMIT",
-	"AE_TIME",
-	"AE_UNKNOWN_STATUS",
-	"AE_ACQUIRE_DEADLOCK",
-	"AE_RELEASE_DEADLOCK",
-	"AE_NOT_ACQUIRED",
-	"AE_ALREADY_ACQUIRED",
-	"AE_NO_HARDWARE_RESPONSE",
-	"AE_NO_GLOBAL_LOCK",
-};
-
-static NATIVE_CHAR          *acpi_gbl_exception_names_pgm[] =
-{
-	"AE_BAD_PARAMETER",
-	"AE_BAD_CHARACTER",
-	"AE_BAD_PATHNAME",
-	"AE_BAD_DATA",
-	"AE_BAD_ADDRESS",
-};
-
-static NATIVE_CHAR          *acpi_gbl_exception_names_tbl[] =
-{
-	"AE_BAD_SIGNATURE",
-	"AE_BAD_HEADER",
-	"AE_BAD_CHECKSUM",
-	"AE_BAD_VALUE",
-};
-
-static NATIVE_CHAR          *acpi_gbl_exception_names_aml[] =
-{
-	"AE_AML_ERROR",
-	"AE_AML_PARSE",
-	"AE_AML_BAD_OPCODE",
-	"AE_AML_NO_OPERAND",
-	"AE_AML_OPERAND_TYPE",
-	"AE_AML_OPERAND_VALUE",
-	"AE_AML_UNINITIALIZED_LOCAL",
-	"AE_AML_UNINITIALIZED_ARG",
-	"AE_AML_UNINITIALIZED_ELEMENT",
-	"AE_AML_NUMERIC_OVERFLOW",
-	"AE_AML_REGION_LIMIT",
-	"AE_AML_BUFFER_LIMIT",
-	"AE_AML_PACKAGE_LIMIT",
-	"AE_AML_DIVIDE_BY_ZERO",
-	"AE_AML_BAD_NAME",
-	"AE_AML_NAME_NOT_FOUND",
-	"AE_AML_INTERNAL",
-	"AE_AML_INVALID_SPACE_ID",
-	"AE_AML_STRING_LIMIT",
-	"AE_AML_NO_RETURN_VALUE",
-	"AE_AML_METHOD_LIMIT",
-	"AE_AML_NOT_OWNER",
-	"AE_AML_MUTEX_ORDER",
-	"AE_AML_MUTEX_NOT_ACQUIRED",
-};
-
-static NATIVE_CHAR          *acpi_gbl_exception_names_ctrl[] =
-{
-	"AE_CTRL_RETURN_VALUE",
-	"AE_CTRL_PENDING",
-	"AE_CTRL_TERMINATE",
-	"AE_CTRL_TRUE",
-	"AE_CTRL_FALSE",
-	"AE_CTRL_DEPTH",
-	"AE_CTRL_END",
-	"AE_CTRL_TRANSFER",
-};
-
-
-#endif /* DEFINE_ACPI_GLOBALS */
-
-
 #endif /* __ACEXCEP_H__ */

Modified: trunk/reactos/drivers/bus/acpi/include/acpi.h
--- trunk/reactos/drivers/bus/acpi/include/acpi.h	2006-01-09 00:36:08 UTC (rev 20746)
+++ trunk/reactos/drivers/bus/acpi/include/acpi.h	2006-01-09 00:41:48 UTC (rev 20747)
@@ -29,6 +29,7 @@
 #include "platform/types.h"
 #undef ROUND_DOWN
 #undef ROUND_UP
+#define DEFINE_ACPI_GLOBALS
 
 /*
  * Common includes for all ACPI driver files
@@ -51,6 +52,18 @@
 #include "achware.h"            /* Hardware defines and interfaces */
 #include "accommon.h"           /* Common interfaces */
 #include "acresrc.h"            /* Resource Manager function prototypes */
+#include "acparser.h"
+#include "acinterp.h"
+#include "amlcode.h"
+#include "acnamesp.h"
+#include "acevents.h"
+#include "actables.h"
+#include "acdispat.h"
+#include <ntddk.h>
+#include <bm.h>
+#include <bn.h>
+#include <bmpower.h>
+#include <acpisys.h>
+#include <acglobal.h>
 
-
 #endif /* __ACPI_H__ */

Modified: trunk/reactos/drivers/bus/acpi/namespace/nsaccess.c
--- trunk/reactos/drivers/bus/acpi/namespace/nsaccess.c	2006-01-09 00:36:08 UTC (rev 20746)
[truncated at 1000 lines; 1117 more skipped]