2008-11-13 10:06:25 +01:00
|
|
|
/** @file
|
|
|
|
Utility functions which helps in opcode creation, HII configuration string manipulations,
|
|
|
|
pop up window creations, setup browser persistence data set and get.
|
|
|
|
|
|
|
|
Copyright (c) 2007 - 2008, Intel Corporation
|
|
|
|
All rights reserved. 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
|
|
|
|
http://opensource.org/licenses/bsd-license.php
|
|
|
|
|
|
|
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
|
|
|
|
|
|
|
|
**/
|
|
|
|
|
|
|
|
#ifndef _IFRLIBRARY_INTERNAL_H_
|
|
|
|
#define _IFRLIBRARY_INTERNAL_H_
|
|
|
|
|
|
|
|
|
|
|
|
#include <Uefi.h>
|
|
|
|
|
|
|
|
#include <Protocol/DevicePath.h>
|
|
|
|
#include <Protocol/HiiConfigRouting.h>
|
|
|
|
#include <Protocol/FormBrowser2.h>
|
|
|
|
|
|
|
|
#include <Library/DebugLib.h>
|
|
|
|
#include <Library/BaseMemoryLib.h>
|
|
|
|
#include <Library/UefiBootServicesTableLib.h>
|
|
|
|
#include <Library/BaseLib.h>
|
|
|
|
#include <Library/DevicePathLib.h>
|
|
|
|
#include <Library/MemoryAllocationLib.h>
|
|
|
|
#include <Library/IfrSupportLib.h>
|
|
|
|
|
2009-02-10 14:32:19 +01:00
|
|
|
#define INVALID_VARSTORE_ID 0
|
|
|
|
|
|
|
|
#define QUESTION_FLAGS (EFI_IFR_FLAG_READ_ONLY | EFI_IFR_FLAG_CALLBACK | EFI_IFR_FLAG_RESET_REQUIRED | EFI_IFR_FLAG_OPTIONS_ONLY)
|
|
|
|
#define QUESTION_FLAGS_MASK (~QUESTION_FLAGS)
|
2008-11-13 10:06:25 +01:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|