GlobalNvsArea.h 975 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /** @file
  2. Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
  3. SPDX-License-Identifier: BSD-2-Clause-Patent
  4. **/
  5. #ifndef _GLOBAL_NVS_AREA_H_
  6. #define _GLOBAL_NVS_AREA_H_
  7. //
  8. // Includes
  9. //
  10. #define GLOBAL_NVS_DEVICE_ENABLE 1
  11. #define GLOBAL_NVS_DEVICE_DISABLE 0
  12. //
  13. // Forward reference for pure ANSI compatibility
  14. //
  15. typedef struct _EFI_GLOBAL_NVS_AREA_PROTOCOL EFI_GLOBAL_NVS_AREA_PROTOCOL;
  16. //
  17. // Global NVS Area Protocol GUID
  18. //
  19. #define EFI_GLOBAL_NVS_AREA_PROTOCOL_GUID \
  20. { 0x74e1e48, 0x8132, 0x47a1, 0x8c, 0x2c, 0x3f, 0x14, 0xad, 0x9a, 0x66, 0xdc }
  21. #define GLOBAL_NVS_AREA_REVISION 16
  22. //
  23. // Extern the GUID for protocol users.
  24. //
  25. extern EFI_GUID gEfiGlobalNvsAreaProtocolGuid;
  26. //
  27. // Global NVS Area definition
  28. //
  29. #include <Acpi/GlobalNvsAreaDef.h>
  30. //
  31. // Global NVS Area Protocol
  32. //
  33. typedef struct _EFI_GLOBAL_NVS_AREA_PROTOCOL {
  34. EFI_GLOBAL_NVS_AREA *Area;
  35. } EFI_GLOBAL_NVS_AREA_PROTOCOL;
  36. #endif