2 Common Function and Macro defintions used for both for IFR Parser and Expression evaluation.
3 This header file should only be included by UefiIfrParserExpression.c and UefiIfrParser.c
5 Copyright (c) 2008, Intel Corporation
6 All rights reserved. This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #ifndef _HII_THUNK_UEFI_IFR_PARSER_COMMON_INTERNAL_
17 #define _HII_THUNK_UEFI_IFR_PARSER_COMMON_INTERNAL_
19 #include <Library/BaseLib.h>
20 #include <Library/BaseMemoryLib.h>
21 #include <Library/PrintLib.h>
22 #include <Protocol/UnicodeCollation.h>
24 extern CHAR16
*gEmptyString
;
27 Get the string based on the StringId and HII Package List Handle.
29 @param Token The String's ID.
30 @param HiiHandle The package list in the HII database to search for
33 @return The output string.
38 IN EFI_STRING_ID Token
,
39 IN EFI_HII_HANDLE HiiHandle
43 Create a new string in HII Package List.
45 @param String The String to be added
46 @param HiiHandle The package list in the HII database to insert the
49 @return The output string.
55 IN EFI_HII_HANDLE HiiHandle