Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

107 lines
2.1 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1992.
  5. //
  6. // File: PCH.cxx
  7. //
  8. // Contents: Pre-compiled header
  9. //
  10. // History: 21-Dec-92 BartoszM Created
  11. //
  12. //--------------------------------------------------------------------------
  13. #define KDEXTMODE
  14. #define SPEC_VER 100
  15. #include <nt.h>
  16. #include <ntrtl.h>
  17. #include <nturtl.h>
  18. #include <ntos.h>
  19. #include <zwapi.h>
  20. #include <pnp.h>
  21. #include <stdlib.h>
  22. #include <stdio.h>
  23. #include <string.h>
  24. #include <windef.h>
  25. #include <windows.h>
  26. #include <memory.h>
  27. #include <wmistr.h>
  28. #include <wmilib.h>
  29. //
  30. // This header is part of the global one, but is only required because of
  31. // thermal.h
  32. //
  33. #include <poclass.h>
  34. //
  35. // Load the debugger version of the files
  36. //
  37. #define DEBUGGER
  38. //
  39. // These are the ACPI specific include files
  40. //
  41. #include <acpitabl.h>
  42. #include <aml.h>
  43. #include <amli.h>
  44. #include <acpi.h>
  45. #include <acpipriv.h>
  46. #include <acpidbg.h>
  47. #include <acpiregs.h>
  48. #include <dockintf.h>
  49. #include <ospower.h>
  50. #include <acpiosnt.h>
  51. #include <buildsrc.h>
  52. #include <res_bios.h>
  53. #include <amlipriv.h>
  54. #include <ctxt.h>
  55. #include <thermal.h>
  56. #include <arbiter.h>
  57. #include <irqarb.h>
  58. #include <ntacpi.h>
  59. #include <cmdarg.h>
  60. #include <debugger.h>
  61. #include <strlib.h>
  62. #include "build.h"
  63. #include "flags.h"
  64. #include "kdext.h"
  65. #include "stack.h"
  66. #include "table.h"
  67. //#include "udata.h"
  68. //#include "udebug.h"
  69. //#include "ulist.h"
  70. //#include "unamespac.h"
  71. #include "unasm.h"
  72. #include "kdutil.h"
  73. // Stolen from ntrtl.h to override RECOMASSERT
  74. #undef ASSERT
  75. #undef ASSERTMSG
  76. #if DBG
  77. #define ASSERT( exp ) \
  78. if (!(exp)) \
  79. RtlAssert( #exp, __FILE__, __LINE__, NULL )
  80. #define ASSERTMSG( msg, exp ) \
  81. if (!(exp)) \
  82. RtlAssert( #exp, __FILE__, __LINE__, msg )
  83. #else
  84. #define ASSERT( exp )
  85. #define ASSERTMSG( msg, exp )
  86. #endif // DBG
  87. #include <wdbgexts.h>
  88. extern WINDBG_EXTENSION_APIS ExtensionApis;
  89. #define OFFSET(struct, elem) ((char *) &(struct->elem) - (char *) struct)
  90. #pragma hdrstop