gnu-efi/gnu-efi-missing-error-code.patch
Raymund Will af95526b69 Accepting request 311737 from home:pluskalm:branches:Base:System
- Resolve merge conflicts

- Update to gnu-efi 3.0.2
  + Fix ARM32 and AARCH64 builds
  + _SPrint: fix NULL termination
  + Add current OsIndications values
  + Add the QueryVariableInfo() API
  + Add the capsule API
  + Fix Table Header misspelling. Change from EFI_TABLE_HEARDER to
    EFI_TABLE_HEADER.
  + Allow reuse of this file beyond GPL compatible software, update
    the license of crt0-efi-aarch64.S to dual 2-clause BSD/GPLv2+.
  + Add the missing Variable attributes
  + document that binutils >= 2.24 needed
  + allow to use external stdarg.h
  + Add support for 32-bit ARM
- Enable ARM 32
- Add upstream patches
  + gnu-efi-setjmp.patch
  + gnu-efi-missing-error-code.patch
- Drop patches
  + gnu-efi-allow-external-stdarg.patch (upstreamed)
  + gnu-efi-build-fix.patch (no necessary)

OBS-URL: https://build.opensuse.org/request/show/311737
OBS-URL: https://build.opensuse.org/package/show/Base:System/gnu-efi?expand=0&rev=18
2015-06-12 08:21:08 +00:00

33 lines
1.1 KiB
Diff

From 37d7bee82a627999563069b090866076e055a871 Mon Sep 17 00:00:00 2001
From: Nigel Croxon <nigel.croxon@hp.com>
Date: Thu, 14 May 2015 12:38:39 -0400
Subject: [PATCH] Added some missing error code descriptions
Signed-off-by: Peter Jones <pjones@redhat.com>
Signed-off-by: Nigel Croxon <nigel.croxon@hp.com>
---
lib/error.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/lib/error.c b/lib/error.c
index e1d3249..3a856a6 100644
--- a/lib/error.c
+++ b/lib/error.c
@@ -47,6 +47,13 @@ struct {
{ EFI_ICMP_ERROR, L"ICMP Error"},
{ EFI_TFTP_ERROR, L"TFTP Error"},
{ EFI_PROTOCOL_ERROR, L"Protocol Error"},
+ { EFI_INCOMPATIBLE_VERSION, L"Incompatible Version"},
+ { EFI_SECURITY_VIOLATION, L"Security Policy Violation"},
+ { EFI_CRC_ERROR, L"CRC Error"},
+ { EFI_END_OF_MEDIA, L"End of Media"},
+ { EFI_END_OF_FILE, L"End of File"},
+ { EFI_INVALID_LANGUAGE, L"Invalid Languages"},
+ { EFI_COMPROMISED_DATA, L"Compromised Data"},
// warnings
{ EFI_WARN_UNKOWN_GLYPH, L"Warning Unknown Glyph"},
--
2.1.4