]>
Commit | Line | Data |
---|---|---|
ebbd2793 | 1 | /**@file\r |
2 | This file contains functions related to Config Access Protocols installed by\r | |
3 | by HII Thunk Modules which is used to thunk UEFI Config Access Callback to \r | |
4 | Framework HII Callback.\r | |
5 | \r | |
6 | Copyright (c) 2008, Intel Corporation\r | |
7 | All rights reserved. This program and the accompanying materials\r | |
8 | are licensed and made available under the terms and conditions of the BSD License\r | |
9 | which accompanies this distribution. The full text of the license may be found at\r | |
10 | http://opensource.org/licenses/bsd-license.php\r | |
11 | \r | |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
14 | \r | |
15 | **/\r | |
16 | \r | |
17 | #ifndef _HII_THUNK_CONFIG_ACCESS_H\r | |
18 | #define _HII_THUNK_CONFIG_ACCESS_H\r | |
19 | \r | |
bcf79fc8 | 20 | /**\r |
21 | This function installs a EFI_CONFIG_ACCESS_PROTOCOL instance for a form package registered\r | |
22 | by a module using Framework HII Protocol Interfaces.\r | |
ebbd2793 | 23 | \r |
bcf79fc8 | 24 | UEFI HII require EFI_HII_CONFIG_ACCESS_PROTOCOL to be installed on a EFI_HANDLE, so\r |
25 | that Setup Utility can load the Buffer Storage using this protocol.\r | |
26 | \r | |
27 | @param Packages The framework package list.\r | |
28 | @param MapEntry The Thunk Layer Handle Mapping Database Entry.\r | |
29 | \r | |
30 | @retval EFI_SUCCESS The Config Access Protocol is installed successfully.\r | |
31 | @retval EFI_OUT_RESOURCE There is not enough memory.\r | |
32 | \r | |
33 | **/\r | |
ebbd2793 | 34 | EFI_STATUS\r |
35 | InstallDefaultUefiConfigAccessProtocol (\r | |
36 | IN CONST EFI_HII_PACKAGES *Packages,\r | |
ebbd2793 | 37 | IN OUT HII_TRHUNK_HANDLE_MAPPING_DATABASE_ENTRY *MapEntry\r |
38 | )\r | |
39 | ;\r | |
40 | \r | |
bcf79fc8 | 41 | /**\r |
42 | \r | |
43 | This function implement the EFI_HII_CONFIG_ACCESS_PROTOCOL.ExtractConfig\r | |
44 | so that data can be read from the data storage such as UEFI Variable or module's\r | |
45 | customized storage exposed by EFI_FRAMEWORK_CALLBACK.\r | |
46 | \r | |
47 | @param This Points to the EFI_HII_CONFIG_ACCESS_PROTOCOL\r | |
48 | @param Request A null-terminated Unicode string in <ConfigRequest> format. Note that this\r | |
49 | includes the routing information as well as the configurable name / value pairs. It is\r | |
50 | invalid for this string to be in <MultiConfigRequest> format.\r | |
51 | \r | |
52 | Content-type: text/html ]>