From: Liming Gao Date: Wed, 21 Sep 2016 02:39:09 +0000 (+0800) Subject: MdePkg UefiHii: Add IMAGE_TOKEN macro to access image resource in C and VFR X-Git-Tag: edk2-stable201903~5720 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=4f0ae88cde9caf65cbb9f534ce2b28d14add1e0d;hp=2fa0e11df2504fea85e02f1b635f88a4d284bc6a;p=mirror_edk2.git MdePkg UefiHii: Add IMAGE_TOKEN macro to access image resource in C and VFR Cc: Eric Dong Cc: Dandan Bi Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao Reviewed-by: Eric Dong Reviewed-by: Dandan Bi --- 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.
+Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.
(C) Copyright 2016 Hewlett Packard Enterprise Development LP
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