Source code of Windows XP (NT5)
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.

126 lines
1.8 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. sudata.h
  5. Abstract:
  6. This file contains definition for ExportEntryTable and AbiosServices
  7. Table.
  8. Author:
  9. Allen Kay (allen.m.kay@intel.com) 12-Jan-2000
  10. --*/
  11. //
  12. // EFI gloal variables
  13. //
  14. extern EFI_SYSTEM_TABLE *EfiST;
  15. extern EFI_BOOT_SERVICES *EfiBS;
  16. extern EFI_RUNTIME_SERVICES *EfiRS;
  17. extern EFI_HANDLE EfiImageHandle;
  18. //
  19. // EFI GUID defines
  20. //
  21. extern EFI_GUID EfiLoadedImageProtocol;
  22. extern EFI_GUID EfiDevicePathProtocol;
  23. extern EFI_GUID EfiDeviceIoProtocol;
  24. extern EFI_GUID EfiBlockIoProtocol;
  25. extern EFI_GUID EfiFilesystemProtocol;
  26. extern EFI_GUID MpsTableGuid;
  27. extern EFI_GUID AcpiTableGuid;
  28. extern EFI_GUID SmbiosTableGuid;
  29. extern EFI_GUID SalSystemTableGuid;
  30. //
  31. // Other gloal variables
  32. //
  33. extern PVOID ExportEntryTable[];
  34. extern PVOID AcpiTable;
  35. extern ULONGLONG PalProcVirtual;
  36. extern ULONGLONG PalPhysicalBase;
  37. extern ULONGLONG PalTrPs;
  38. extern ULONGLONG IoPortPhysicalBase;
  39. extern ULONGLONG IoPortTrPs;
  40. //
  41. // PAL, SAL, and IO port space data
  42. //
  43. typedef
  44. EFI_STATUS
  45. (EFIAPI *PAL_PROC) (
  46. IN ULONGLONG Index,
  47. IN ULONGLONG CacheType,
  48. IN ULONGLONG Invalidate,
  49. IN ULONGLONG PlatAck
  50. );
  51. //
  52. // Function Prototypes
  53. //
  54. ULONG
  55. GetDevPathSize(
  56. IN EFI_DEVICE_PATH *DevPath
  57. );
  58. BOOLEAN
  59. ConstructMemoryDescriptors(
  60. );
  61. BOOLEAN
  62. ConstructCacheDescriptors (
  63. );
  64. VOID
  65. InsertDescriptor (
  66. );
  67. VOID
  68. FlipToPhysical (
  69. );
  70. VOID
  71. FlipToVirtual (
  72. );
  73. VOID
  74. BlInstTransOn (
  75. );
  76. VOID
  77. PioICacheFlush (
  78. );
  79. VOID
  80. ReadProcessorConfigInfo (
  81. PPROCESSOR_CONFIG_INFO ProcessorConfigInfo
  82. );
  83. VOID
  84. CheckForPreA2Processors(
  85. );
  86. VOID
  87. EnforcePostB2Processor(
  88. );
  89. VOID
  90. EnforcePostVersion16PAL(
  91. );