From ba0ef1e42df623526ac4ae453567459bd2003467 Mon Sep 17 00:00:00 2001 From: Samer El-Haj-Mahmoud elhaj Date: Tue, 26 Aug 2014 05:02:58 +0000 Subject: [PATCH] Update EFI_DRIVER_HEALTH_HII_MESSAGE definition from UEFI 2.4 specification to replace Reserved with MessageCode. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Samer El-Haj-Mahmoud elhaj@hp.com Reviewed-by: Ruiyu Ni git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15894 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Protocol/DriverHealth.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/MdePkg/Include/Protocol/DriverHealth.h b/MdePkg/Include/Protocol/DriverHealth.h index 5116162cd2..c87c19c1a3 100644 --- a/MdePkg/Include/Protocol/DriverHealth.h +++ b/MdePkg/Include/Protocol/DriverHealth.h @@ -21,6 +21,7 @@ configuration changes to take affect. Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.
+ Copyright (c) 2014, Hewlett-Packard Development Company, L.P.
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 @@ -62,7 +63,16 @@ typedef enum { typedef struct { EFI_HII_HANDLE HiiHandle; EFI_STRING_ID StringId; - UINT64 Reserved; + + /// + /// 64-bit numeric value of the warning/error specified by this message. + /// A value of 0x0000000000000000 is used to indicate that MessageCode is not specified. + /// The values 0x0000000000000001 to 0x0fffffffffffffff are reserved for allocation by the UEFI Specification. + /// The values 0x1000000000000000 to 0x1fffffffffffffff are reserved for IHV-developed drivers. + /// The values 0x8000000000000000 to 0x8fffffffffffffff is reserved for platform/OEM drivers. + /// All other values are reserved and should not be used. + /// + UINT64 MessageCode; } EFI_DRIVER_HEALTH_HII_MESSAGE; /** -- 2.39.2