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.

88 lines
1.8 KiB

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. pmdat.c
  5. Abstract:
  6. Declares various data which is initialize data, or pagable data.
  7. Author:
  8. Environment:
  9. Kernel mode only.
  10. Revision History:
  11. --*/
  12. #include "halp.h"
  13. #include "acpitabl.h"
  14. #include "xxacpi.h"
  15. FADT HalpFixedAcpiDescTable;
  16. PDEBUG_PORT_TABLE HalpDebugPortTable = NULL;
  17. ULONG HalpThrottleScale;
  18. UCHAR HalpBrokenAcpiTimer = 0;
  19. UCHAR HalpPiix4 = 0;
  20. ULONG HalpPiix4BusNumber;
  21. ULONG HalpPiix4SlotNumber;
  22. ULONG HalpPiix4DevActB;
  23. ULONG HalpAcpiFlags = HAL_ACPI_PCI_RESOURCES;
  24. BOOLEAN HalpBroken440BX = FALSE;
  25. BOOLEAN HalpProcessedACPIPhase0 = FALSE;
  26. PBOOT_TABLE HalpSimpleBootFlagTable = NULL;
  27. #ifdef APIC_HAL
  28. //
  29. // MP data
  30. //
  31. MP_INFO HalpMpInfoTable;
  32. PMAPIC HalpApicTable;
  33. PROC_LOCAL_APIC HalpProcLocalApicTable[MAX_PROCESSORS] = {0};
  34. PVOID *HalpLocalNmiSources = NULL;
  35. #endif // APIC_HAL
  36. //
  37. // This array represents the ISA PIC vectors.
  38. // They start out identity-mapped.
  39. //
  40. ULONG HalpPicVectorRedirect[PIC_VECTORS] =
  41. {
  42. 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
  43. 10, 11, 12, 13, 14, 15
  44. };
  45. #ifdef APIC_HAL
  46. ULONG HalpPicVectorFlags[PIC_VECTORS] = {0};
  47. #endif // APIC_HAL
  48. SLEEP_STATE_CONTEXT HalpSleepContext = {0};
  49. PVOID HalpWakeVector = NULL;
  50. PVOID HalpVirtAddrForFlush = NULL;
  51. PVOID HalpPteForFlush = NULL;
  52. BOOLEAN HalpCr4Exists = FALSE;
  53. UCHAR HalpRtcRegA;
  54. UCHAR HalpRtcRegB;
  55. PACPI_BIOS_MULTI_NODE HalpAcpiMultiNode = NULL;
  56. PUCHAR HalpAcpiNvsData = NULL;
  57. PVOID HalpNvsVirtualAddress = NULL;
  58. #ifdef ALLOC_DATA_PRAGMA
  59. #pragma data_seg("INIT")
  60. #endif
  61. UCHAR rgzNoApicTable[] = "HAL: No ACPI APIC Table Found\n";