]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/Keyboard.c
1) Add in support for Framework VFR file which specify all VAR Store correctly. This...
[mirror_edk2.git] / EdkCompatibilityPkg / Compatibility / FrameworkHiiToUefiHiiThunk / Keyboard.c
CommitLineData
4259256b 1/**@file\r
2\r
3 This file contains the keyboard processing code to the HII database.\r
4\r
5Copyright (c) 2006 - 2008, Intel Corporation\r
6All rights reserved. This program and the accompanying materials\r
7are licensed and made available under the terms and conditions of the BSD License\r
8which accompanies this distribution. The full text of the license may be found at\r
9http://opensource.org/licenses/bsd-license.php\r
10\r
11THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
14**/\r
15\r
16\r
17#include "HiiDatabase.h"\r
18\r
a9d85320 19/**\r
20 Retrieves the current keyboard layout. \r
21 This function is not implemented by HII Thunk Module.\r
22\r
23 @param This A pointer to the EFI_HII_PROTOCOL instance. \r
24 @param DescriptorCount A pointer to the number of Descriptor entries being described in the keyboard layout being retrieved.\r
25 @param Descriptor A pointer to a buffer containing an array of EFI_KEY_DESCRIPTOR entries. Each entry will reflect the definition of a specific physical key. Type EFI_KEY_DESCRIPTOR is defined in "Related Definitions" below.\r
26\r
27 @retval EFI_SUCCESS The keyboard layout was retrieved successfully.\r
28 \r
29**/\r
4259256b 30EFI_STATUS\r
31EFIAPI\r
32HiiGetKeyboardLayout (\r
33 IN EFI_HII_PROTOCOL *This,\r
34 OUT UINT16 *DescriptorCount,\r
35 OUT FRAMEWORK_EFI_KEY_DESCRIPTOR *Descriptor\r
36 )\r
4259256b 37{\r
ee3428bb 38 ASSERT (FALSE);\r
39 //\r
40 // In previous Framewok HII implementation, GetKeyBoardLayout is defined in HII 0.92 specification,\r
41 // but it is not implemented. We ASSERT and return UNSUPPORTED here. \r
42 //\r
43 return EFI_UNSUPPORTED;\r
4259256b 44}\r