From: "Jan Beulich" Subject: [PATCH 2/2] EFI: update error indicators Date: Mon, 22 Apr 2013 11:08:33 +0100 Message-ID: <5175284102000078000CF6F2@nat28.tlf.novell.com> References: <5175272902000078000CF6D6@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part71415831.1__=" Return-path: In-Reply-To: <5175272902000078000CF6D6@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel Cc: George Dunlap , Keir Fraser List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part71415831.1__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline ... from gnu-efi-3.0t. Decode a few of them in x86's PrintErrMesg(). Signed-off-by: Jan Beulich --- a/xen/arch/x86/efi/boot.c +++ b/xen/arch/x86/efi/boot.c @@ -234,6 +234,15 @@ static void __init PrintErrMesg(const CH case EFI_VOLUME_FULL: mesg =3D L"Volume is full"; break; + case EFI_SECURITY_VIOLATION: + mesg =3D L"Security violation"; + break; + case EFI_CRC_ERROR: + mesg =3D L"CRC error"; + break; + case EFI_COMPROMISED_DATA: + mesg =3D L"Compromised data"; + break; default: PrintErr(L"ErrCode: "); DisplayUint(ErrCode, 0); --- a/xen/include/efi/efierr.h +++ b/xen/include/efi/efierr.h @@ -50,6 +50,13 @@ Revision History #define EFI_ICMP_ERROR EFIERR(22) #define EFI_TFTP_ERROR EFIERR(23) #define EFI_PROTOCOL_ERROR EFIERR(24) +#define EFI_INCOMPATIBLE_VERSION EFIERR(25) +#define EFI_SECURITY_VIOLATION EFIERR(26) +#define EFI_CRC_ERROR EFIERR(27) +#define EFI_END_OF_MEDIA EFIERR(28) +#define EFI_END_OF_FILE EFIERR(31) +#define EFI_INVALID_LANGUAGE EFIERR(32) +#define EFI_COMPROMISED_DATA EFIERR(33) =20 #define EFI_WARN_UNKOWN_GLYPH EFIWARN(1) #define EFI_WARN_DELETE_FAILURE EFIWARN(2) --=__Part71415831.1__= Content-Type: text/plain; name="EFI-error-values.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="EFI-error-values.patch" EFI: update error indicators=0A=0A... from gnu-efi-3.0t. Decode a few of = them in x86's PrintErrMesg().=0A=0ASigned-off-by: Jan Beulich =0A=0A--- a/xen/arch/x86/efi/boot.c=0A+++ b/xen/arch/x86/efi/boot.c= =0A@@ -234,6 +234,15 @@ static void __init PrintErrMesg(const CH=0A = case EFI_VOLUME_FULL:=0A mesg =3D L"Volume is full";=0A = break;=0A+ case EFI_SECURITY_VIOLATION:=0A+ mesg =3D L"Security = violation";=0A+ break;=0A+ case EFI_CRC_ERROR:=0A+ mesg = =3D L"CRC error";=0A+ break;=0A+ case EFI_COMPROMISED_DATA:=0A+ = mesg =3D L"Compromised data";=0A+ break;=0A default:=0A = PrintErr(L"ErrCode: ");=0A DisplayUint(ErrCode, 0);=0A--- = a/xen/include/efi/efierr.h=0A+++ b/xen/include/efi/efierr.h=0A@@ -50,6 = +50,13 @@ Revision History=0A #define EFI_ICMP_ERROR = EFIERR(22)=0A #define EFI_TFTP_ERROR EFIERR(23)=0A = #define EFI_PROTOCOL_ERROR EFIERR(24)=0A+#define EFI_INCOMPATI= BLE_VERSION EFIERR(25)=0A+#define EFI_SECURITY_VIOLATION = EFIERR(26)=0A+#define EFI_CRC_ERROR EFIERR(27)=0A+#define= EFI_END_OF_MEDIA EFIERR(28)=0A+#define EFI_END_OF_FILE = EFIERR(31)=0A+#define EFI_INVALID_LANGUAGE = EFIERR(32)=0A+#define EFI_COMPROMISED_DATA EFIERR(33)=0A =0A = #define EFI_WARN_UNKOWN_GLYPH EFIWARN(1)=0A #define EFI_WARN_DELE= TE_FAILURE EFIWARN(2)=0A --=__Part71415831.1__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --=__Part71415831.1__=--