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