1) Add in fix to handle the case when a form is not related to a buffer storage.
2) Allocate Hii Handle from a bitfield array so Framework Hii Handle can be recycled. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5700 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
/**@file
|
||||
|
||||
This file contains utility functions by HII Thunk Modules.
|
||||
|
||||
Copyright (c) 2006 - 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 _HII_HANDLE_H
|
||||
#define _HII_HANDLE_H
|
||||
|
||||
#include <FrameworkDxe.h>
|
||||
#include <Protocol/FrameworkHii.h>
|
||||
#include <Library/DebugLib.h>
|
||||
|
||||
VOID
|
||||
InitHiiHandleDatabase (
|
||||
VOID
|
||||
)
|
||||
;
|
||||
|
||||
EFI_STATUS
|
||||
AllocateHiiHandle (
|
||||
FRAMEWORK_EFI_HII_HANDLE *Handle
|
||||
);
|
||||
|
||||
|
||||
VOID
|
||||
FreeHiiHandle (
|
||||
FRAMEWORK_EFI_HII_HANDLE Handle
|
||||
);
|
||||
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user