summaryrefslogtreecommitdiffstats
path: root/MdePkg
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2016-09-21 10:39:09 +0800
committerLiming Gao <liming.gao@intel.com>2016-09-27 09:43:13 +0800
commit4f0ae88cde9caf65cbb9f534ce2b28d14add1e0d (patch)
tree1eac0faec4aaab3bdfc723acb6dde175f5de94c6 /MdePkg
parent2fa0e11df2504fea85e02f1b635f88a4d284bc6a (diff)
downloadedk2-4f0ae88cde9caf65cbb9f534ce2b28d14add1e0d.tar.gz
edk2-4f0ae88cde9caf65cbb9f534ce2b28d14add1e0d.tar.bz2
edk2-4f0ae88cde9caf65cbb9f534ce2b28d14add1e0d.zip
MdePkg UefiHii: Add IMAGE_TOKEN macro to access image resource in C and VFR
Cc: Eric Dong <eric.dong@intel.com> Cc: Dandan Bi <dandan.bi@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Dandan Bi <dandan.bi@intel.com>
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/Uefi/UefiInternalFormRepresentation.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/MdePkg/Include/Uefi/UefiInternalFormRepresentation.h b/MdePkg/Include/Uefi/UefiInternalFormRepresentation.h
index 4a7777c1b7..ae5602f0f8 100644
--- a/MdePkg/Include/Uefi/UefiInternalFormRepresentation.h
+++ b/MdePkg/Include/Uefi/UefiInternalFormRepresentation.h
@@ -3,7 +3,7 @@
IFR is primarily consumed by the EFI presentation engine, and produced by EFI
internal application and drivers as well as all add-in card option-ROM drivers
-Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
(C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
This program and the accompanying materials are licensed and made available under
the terms and conditions of the BSD License that accompanies this distribution.
@@ -2126,4 +2126,10 @@ typedef struct _EFI_HII_AIBT_SKIP2_BLOCK {
///
#define STRING_TOKEN(t) t
+///
+/// IMAGE_TOKEN is not defined in UEFI specification. But it is placed
+/// here for the easy access by C files and VFR source files.
+///
+#define IMAGE_TOKEN(t) t
+
#endif