Author: akhaldi
Date: Tue Jan 28 11:11:36 2014
New Revision: 61858
URL:
http://svn.reactos.org/svn/reactos?rev=61858&view=rev
Log:
[ACPI]
* Create a main header and move some inclusions to it.
CORE-7716
Added:
trunk/reactos/drivers/bus/acpi/precomp.h (with props)
Modified:
trunk/reactos/drivers/bus/acpi/acpienum.c
trunk/reactos/drivers/bus/acpi/busmgr/bus.c
trunk/reactos/drivers/bus/acpi/busmgr/button.c
trunk/reactos/drivers/bus/acpi/busmgr/power.c
trunk/reactos/drivers/bus/acpi/busmgr/system.c
trunk/reactos/drivers/bus/acpi/busmgr/utils.c
trunk/reactos/drivers/bus/acpi/buspdo.c
trunk/reactos/drivers/bus/acpi/eval.c
trunk/reactos/drivers/bus/acpi/interface.c
trunk/reactos/drivers/bus/acpi/main.c
trunk/reactos/drivers/bus/acpi/osl.c
trunk/reactos/drivers/bus/acpi/pnp.c
trunk/reactos/drivers/bus/acpi/power.c
Modified: trunk/reactos/drivers/bus/acpi/acpienum.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/acpienum.…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/acpienum.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/acpienum.c [iso-8859-1] Tue Jan 28 11:11:36 2014
@@ -6,11 +6,8 @@
* UPDATE HISTORY:
* 01-05-2001 CSH Created
*/
-#include <acpi.h>
-#include <acpisys.h>
-#include <acpi_bus.h>
-#include <acpi_drivers.h>
-#include <list.h>
+
+#include "precomp.h"
#define NDEBUG
#include <debug.h>
Modified: trunk/reactos/drivers/bus/acpi/busmgr/bus.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/busmgr/bu…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/busmgr/bus.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/busmgr/bus.c [iso-8859-1] Tue Jan 28 11:11:36 2014
@@ -27,12 +27,7 @@
* Copyright (C)2009 Samuel Serapion
*/
-#include <ntddk.h>
-
-#include <acpi.h>
-#include <acpi_bus.h>
-#include <acpi_drivers.h>
-#include <glue.h>
+#include <precomp.h>
#define NDEBUG
#include <debug.h>
Modified: trunk/reactos/drivers/bus/acpi/busmgr/button.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/busmgr/bu…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/busmgr/button.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/busmgr/button.c [iso-8859-1] Tue Jan 28 11:11:36 2014
@@ -22,17 +22,11 @@
*
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
-#include <ntddk.h>
-
-#include <acpi.h>
-#include <acpi_bus.h>
-#include <acpi_drivers.h>
-#include <glue.h>
+
+#include <precomp.h>
#define NDEBUG
#include <debug.h>
-
-
#define _COMPONENT ACPI_BUTTON_COMPONENT
ACPI_MODULE_NAME ("acpi_button")
Modified: trunk/reactos/drivers/bus/acpi/busmgr/power.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/busmgr/po…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/busmgr/power.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/busmgr/power.c [iso-8859-1] Tue Jan 28 11:11:36 2014
@@ -40,15 +40,10 @@
* Copyright (C)2009 Samuel Serapion
*/
-#include <ntddk.h>
-#include <acpi.h>
-#include <acpi_bus.h>
-#include <acpi_drivers.h>
-#include <glue.h>
+#include <precomp.h>
#define NDEBUG
#include <debug.h>
-
#define _COMPONENT ACPI_POWER_COMPONENT
ACPI_MODULE_NAME ("acpi_power")
Modified: trunk/reactos/drivers/bus/acpi/busmgr/system.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/busmgr/sy…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/busmgr/system.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/busmgr/system.c [iso-8859-1] Tue Jan 28 11:11:36 2014
@@ -26,11 +26,8 @@
/* Modified for ReactOS and latest ACPICA
* Copyright (C)2009 Samuel Serapion
*/
-#include <ntddk.h>
-#include <acpi.h>
-#include <acpi_bus.h>
-#include <acpi_drivers.h>
-#include "list.h"
+
+#include <precomp.h>
#define NDEBUG
#include <debug.h>
Modified: trunk/reactos/drivers/bus/acpi/busmgr/utils.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/busmgr/ut…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/busmgr/utils.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/busmgr/utils.c [iso-8859-1] Tue Jan 28 11:11:36 2014
@@ -23,12 +23,7 @@
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
-#include <ntddk.h>
-
-#include <acpi.h>
-#include <acpi_bus.h>
-#include <acpi_drivers.h>
-#include <glue.h>
+#include <precomp.h>
#define NDEBUG
#include <debug.h>
Modified: trunk/reactos/drivers/bus/acpi/buspdo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/buspdo.c?…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/buspdo.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/buspdo.c [iso-8859-1] Tue Jan 28 11:11:36 2014
@@ -1,12 +1,4 @@
-#include <ntddk.h>
-
-#include <acpi.h>
-#include <acpisys.h>
-#include <wdmguid.h>
-#include <stdio.h>
-
-#include <acpi_bus.h>
-#include <acpi_drivers.h>
+#include "precomp.h"
#include <initguid.h>
#include <poclass.h>
Modified: trunk/reactos/drivers/bus/acpi/eval.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/eval.c?re…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/eval.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/eval.c [iso-8859-1] Tue Jan 28 11:11:36 2014
@@ -1,18 +1,5 @@
-#include <ntddk.h>
+#include "precomp.h"
-#include <acpi.h>
-
-#include <acpisys.h>
-#include <acpi_bus.h>
-#include <acpi_drivers.h>
-#include <acpiioct.h>
-
-#include <glue.h>
-#include <accommon.h>
-#include <acobject.h>
-#include <actypes.h>
-
-#include <wdmguid.h>
#define NDEBUG
#include <debug.h>
Modified: trunk/reactos/drivers/bus/acpi/interface.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/interface…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/interface.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/interface.c [iso-8859-1] Tue Jan 28 11:11:36 2014
@@ -1,12 +1,5 @@
-#include <ntddk.h>
+#include "precomp.h"
-#include <acpi.h>
-
-#include <acpisys.h>
-#include <acpi_bus.h>
-#include <acpi_drivers.h>
-
-#include <wdmguid.h>
#define NDEBUG
#include <debug.h>
Modified: trunk/reactos/drivers/bus/acpi/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/main.c?re…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/main.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/main.c [iso-8859-1] Tue Jan 28 11:11:36 2014
@@ -1,12 +1,5 @@
-#include <ntddk.h>
-
-#include <acpi.h>
-#include <acpisys.h>
-
-#include <acpi_bus.h>
-#include <acpi_drivers.h>
-
-#include <acpiioct.h>
+#include "precomp.h"
+
#include <poclass.h>
#define NDEBUG
Modified: trunk/reactos/drivers/bus/acpi/osl.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/osl.c?rev…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/osl.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/osl.c [iso-8859-1] Tue Jan 28 11:11:36 2014
@@ -3,11 +3,11 @@
* ACPI Component Architecture Operating System Layer (OSL) for ReactOS *
* *
*******************************************************************************/
-#include <ntddk.h>
-
-#include <acpi.h>
+
+#include "precomp.h"
#include <pseh/pseh2.h>
+
#define NDEBUG
#include <debug.h>
Modified: trunk/reactos/drivers/bus/acpi/pnp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/pnp.c?rev…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/pnp.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/pnp.c [iso-8859-1] Tue Jan 28 11:11:36 2014
@@ -1,12 +1,5 @@
-#include <ntddk.h>
-
-#include <acpi.h>
-
-#include <acpisys.h>
-#include <acpi_bus.h>
-#include <acpi_drivers.h>
-
-#include <wdmguid.h>
+#include "precomp.h"
+
#define NDEBUG
#include <debug.h>
Modified: trunk/reactos/drivers/bus/acpi/power.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/power.c?r…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/power.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/power.c [iso-8859-1] Tue Jan 28 11:11:36 2014
@@ -1,10 +1,4 @@
-#include <ntddk.h>
-
-#include <acpi.h>
-#include <acpisys.h>
-
-#include <acpi_bus.h>
-#include <acpi_drivers.h>
+#include "precomp.h"
#define NDEBUG
#include <debug.h>
Added: trunk/reactos/drivers/bus/acpi/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/precomp.h…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/precomp.h (added)
+++ trunk/reactos/drivers/bus/acpi/precomp.h [iso-8859-1] Tue Jan 28 11:11:36 2014
@@ -0,0 +1,12 @@
+#ifndef _ACPI_PCH_
+#define _ACPI_PCH_
+
+#include <acpi.h>
+#include <acpisys.h>
+#include <acpi_bus.h>
+#include <acpi_drivers.h>
+#include <glue.h>
+#include <wdmguid.h>
+#include <acpiioct.h>
+
+#endif /* _ACPI_PCH_ */
Propchange: trunk/reactos/drivers/bus/acpi/precomp.h
------------------------------------------------------------------------------
svn:eol-style = native