diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-02-02 13:15:44 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-02-02 13:15:44 +0000 |
commit | 9226efe5ebb83ad0d5882e3eb7a54f3d63f81e9d (patch) | |
tree | 9cc9cc6964c6ea0d510c1eceda6ee5e134ed6f84 /MdeModulePkg/Include/Library/ExtendedHiiLib.h | |
parent | e52c5a9fdcc1663f98e1a1090c424c1606990650 (diff) | |
download | edk2-platforms-9226efe5ebb83ad0d5882e3eb7a54f3d63f81e9d.tar.xz |
1) Cleanup HiiLib, IfrSupportLib.
2) Add ExtendedHiiLib and ExtendedIfrSupportLib which implement APIs that require the OPcode and Device Path which is specific to Intel's implementation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4662 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Include/Library/ExtendedHiiLib.h')
-rw-r--r-- | MdeModulePkg/Include/Library/ExtendedHiiLib.h | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/MdeModulePkg/Include/Library/ExtendedHiiLib.h b/MdeModulePkg/Include/Library/ExtendedHiiLib.h new file mode 100644 index 0000000000..7396aef489 --- /dev/null +++ b/MdeModulePkg/Include/Library/ExtendedHiiLib.h @@ -0,0 +1,57 @@ +/** @file
+ This library includes the APIs that is specific to EDK II's implementation.
+ It extended the UEFI Specification to define GUIDed device path.
+
+ Copyright (c) 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 __EXTENDED_HII_LIB_H__
+#define __EXTENDED_HII_LIB_H__
+
+/**
+ The HII driver handle passed in for HiiDatabase.NewPackageList() requires
+ that there should be DevicePath Protocol installed on it.
+ This routine create a virtual Driver Handle by installing a vendor device
+ path on it, so as to use it to invoke HiiDatabase.NewPackageList().
+ The Device Path created is a Vendor Device Path specific to Intel's implemenation.
+
+ @param DriverHandle Handle to be returned
+
+ @retval EFI_SUCCESS Handle destroy success.
+ @retval EFI_OUT_OF_RESOURCES Not enough memory.
+
+**/
+EFI_STATUS
+EFIAPI
+HiiLibCreateHiiDriverHandle (
+ OUT EFI_HANDLE *DriverHandle
+ )
+;
+
+/**
+ Destroy the Driver Handle created by CreateHiiDriverHandle().
+
+ If no Device Path protocol is installed on the DriverHandle, then ASSERT.
+ If this Device Path protocol is failed to be uninstalled, then ASSERT.
+
+ @param DriverHandle Handle returned by CreateHiiDriverHandle()
+
+
+**/
+VOID
+EFIAPI
+HiiLibDestroyHiiDriverHandle (
+ IN EFI_HANDLE DriverHandle
+ )
+;
+
+
+#endif
|