2 Definition of the global NVS area protocol. This protocol
3 publishes the address and format of a global ACPI NVS buffer
4 used as a communications buffer between SMM code and ASL code.
5 The format is derived from the ACPI reference code, version 0.95.
6 Note: Data structures defined in this protocol are not naturally aligned.
8 Copyright (c) 2013-2015 Intel Corporation.
10 This program and the accompanying materials
11 are licensed and made available under the terms and conditions of the BSD License
12 which accompanies this distribution. The full text of the license may be found at
13 http://opensource.org/licenses/bsd-license.php
15 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
16 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
20 #ifndef _GLOBAL_NVS_AREA_H_
21 #define _GLOBAL_NVS_AREA_H_
24 // Forward reference for pure ANSI compatability
27 typedef struct _EFI_GLOBAL_NVS_AREA_PROTOCOL EFI_GLOBAL_NVS_AREA_PROTOCOL
;
30 // Global NVS Area Protocol GUID
32 #define EFI_GLOBAL_NVS_AREA_PROTOCOL_GUID \
33 { 0x74e1e48, 0x8132, 0x47a1, {0x8c, 0x2c, 0x3f, 0x14, 0xad, 0x9a, 0x66, 0xdc} }
37 // Global NVS Area definition
42 // Miscellaneous Dynamic Values
44 UINT32 OperatingSystemType
; // Os type indicator
45 UINT32 Cfgd
; // System configuration description
48 UINT32 Pm1blkIoBaseAddress
;
49 UINT32 PmbaIoBaseAddress
;
50 UINT32 Gpe0blkIoBaseAddress
;
51 UINT32 GbaIoBaseAddress
;
53 UINT32 SmbaIoBaseAddress
;
55 UINT32 WdtbaIoBaseAddress
;
57 UINT32 HpetBaseAddress
;
59 UINT32 PciExpressBaseAddress
;
60 UINT32 PciExpressSize
;
62 UINT32 RcbaMmioBaseAddress
;
64 UINT32 IoApicBaseAddress
;
69 UINT32 PlatformType
; // Set to one of EFI_PLATFORM_TYPE enums.
70 UINT32 AlternateSla
; // If TRUE use alternate I2C Slave addresses.
72 UINT8 Reserved
[512 - 4 * 22]; // Total 512 Bytes
73 } EFI_GLOBAL_NVS_AREA
;
77 // Global NVS Area Protocol
79 struct _EFI_GLOBAL_NVS_AREA_PROTOCOL
{
80 EFI_GLOBAL_NVS_AREA
*Area
;
84 // Extern the GUID for protocol users.
86 extern EFI_GUID gEfiGlobalNvsAreaProtocolGuid
;