Osfr.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /*++
  2. Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
  3. SPDX-License-Identifier: BSD-2-Clause-Patent
  4. Module Name:
  5. Osfr.h
  6. Abstract:
  7. This file describes the contents of the ACPI OSFR Table.
  8. --*/
  9. #ifndef _OSFR_H
  10. #define _OSFR_H
  11. //
  12. // Statements that include other files.
  13. //
  14. #include <IndustryStandard/Acpi10.h>
  15. #include <IndustryStandard/Acpi20.h>
  16. #pragma pack (1)
  17. #define EFI_ACPI_OSFR_TABLE_REVISION 0x1
  18. //#define EFI_ACPI_OSFR_TABLE_SIGNATURE 'RFSO'
  19. #define EFI_ACPI_OSFR_TABLE_SIGNATURE SIGNATURE_32('O', 'S', 'F', 'R') //'RFSO'
  20. typedef struct {
  21. EFI_ACPI_DESCRIPTION_HEADER Header;
  22. UINT32 ObjectCount;
  23. UINT32 TableDWORDs [64];
  24. } EFI_ACPI_OSFR_TABLE;
  25. typedef struct {
  26. EFI_ACPI_DESCRIPTION_HEADER Header;
  27. UINT32 ObjectCount;
  28. } EFI_ACPI_OSFR_TABLE_FIXED_PORTION;
  29. typedef struct {
  30. EFI_GUID ObjectUUID;
  31. UINT32 Reserved1;
  32. UINT32 ManufacturerNameStringOffset;
  33. UINT32 ModelNameStringOffset;
  34. UINT32 Reserved2;
  35. UINT32 MicrosoftReferenceOffset;
  36. } EFI_ACPI_OSFR_OCUR_OBJECT;
  37. #pragma pack ()
  38. #endif