From b7c51c9cf4864df6aabb99a1ae843becd577237c Mon Sep 17 00:00:00 2001 From: raywu Date: Fri, 15 Jun 2018 00:00:50 +0800 Subject: init. 1AQQW051 --- .../HardwareErrorVariable/HardwareErrorVariable.c | 27 ++++++++++++++++++ .../HardwareErrorVariable/HardwareErrorVariable.h | 32 ++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 EDK/Foundation/Efi/Guid/HardwareErrorVariable/HardwareErrorVariable.c create mode 100644 EDK/Foundation/Efi/Guid/HardwareErrorVariable/HardwareErrorVariable.h (limited to 'EDK/Foundation/Efi/Guid/HardwareErrorVariable') diff --git a/EDK/Foundation/Efi/Guid/HardwareErrorVariable/HardwareErrorVariable.c b/EDK/Foundation/Efi/Guid/HardwareErrorVariable/HardwareErrorVariable.c new file mode 100644 index 0000000..48086ba --- /dev/null +++ b/EDK/Foundation/Efi/Guid/HardwareErrorVariable/HardwareErrorVariable.c @@ -0,0 +1,27 @@ +/*++ + +Copyright (c) 2007, Intel Corporation +All rights reserved. This program and the accompanying materials +are licensed and made available under the terms and conditions of the BSD License +which accompanies this distribution. The full text of the license may be found at +http://opensource.org/licenses/bsd-license.php + +THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + +Module Name: + + HardwareErrorVariable.c + +Abstract: + + GUID for hardware error record variables. Defined in UEFI 2.1. + +--*/ + +#include "EfiSpec.h" +#include EFI_GUID_DEFINITION (HardwareErrorVariable) + +EFI_GUID gEfiHardwareErrorVariableGuid = EFI_HARDWARE_ERROR_VARIABLE_GUID; + +EFI_GUID_STRING(&gEfiHardwareErrorVariableGuid, "HwErr", "Hardware Error Variable GUID") \ No newline at end of file diff --git a/EDK/Foundation/Efi/Guid/HardwareErrorVariable/HardwareErrorVariable.h b/EDK/Foundation/Efi/Guid/HardwareErrorVariable/HardwareErrorVariable.h new file mode 100644 index 0000000..920fc8b --- /dev/null +++ b/EDK/Foundation/Efi/Guid/HardwareErrorVariable/HardwareErrorVariable.h @@ -0,0 +1,32 @@ +/*++ + +Copyright (c) 2007, Intel Corporation +All rights reserved. This program and the accompanying materials +are licensed and made available under the terms and conditions of the BSD License +which accompanies this distribution. The full text of the license may be found at +http://opensource.org/licenses/bsd-license.php + +THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + +Module Name: + + HardwareErrorVariable.h + +Abstract: + + GUID for hardware error record variables. Defined in UEFI 2.1. + +--*/ + +#ifndef _HARDWARE_ERROR_VARIABLE_GUID_H_ +#define _HARDWARE_ERROR_VARIABLE_GUID_H_ + +#define EFI_HARDWARE_ERROR_VARIABLE_GUID \ + { \ + 0x414E6BDD, 0xE47B, 0x47cc, {0xB2, 0x44, 0xBB, 0x61, 0x02, 0x0C, 0xF5, 0x16} \ + } + +extern EFI_GUID gEfiHardwareErrorVariableGuid; + +#endif \ No newline at end of file -- cgit v1.2.3