PlatPirqData.h 874 B

123456789101112131415161718192021222324252627282930313233343536
  1. /** @file
  2. EFI Platform Pirq Data Definition Header File.
  3. @copyright
  4. Copyright 1999 - 2021 Intel Corporation. <BR>
  5. SPDX-License-Identifier: BSD-2-Clause-Patent
  6. **/
  7. #ifndef _EFI_PLATF_PIRQ_DATA_H_
  8. #define _EFI_PLATF_PIRQ_DATA_H_
  9. #include <Protocol/LegacyBiosPlatform.h>
  10. #define EFI_PIRQ_TABLE_SIGNATURE 0x52495024
  11. #define EFI_PIRQ_TABLE_VERSION 0x100
  12. //
  13. // Common path types.
  14. //
  15. typedef struct {
  16. EFI_LEGACY_PIRQ_TABLE_HEADER PirqTable;
  17. } EFI_LEGACY_PIRQ_TABLE;
  18. //
  19. // This is the module global containing platform PIRQ data.
  20. //
  21. typedef struct {
  22. EFI_LEGACY_IRQ_PRIORITY_TABLE_ENTRY *PriorityTable;
  23. UINTN PriorityTableSize;
  24. EFI_LEGACY_PIRQ_TABLE *TableHead;
  25. UINTN TableHeadSize;
  26. } PLATFORM_PIRQ_DATA;
  27. #endif //_EFI_PLATF_PIRQ_DATA_H_