2010-03-01 04:26:19 +01:00
|
|
|
/** @file
|
2008-04-03 12:36:52 +02:00
|
|
|
|
|
|
|
This file contains the keyboard processing code to the HII database.
|
|
|
|
|
2010-04-24 11:48:54 +02:00
|
|
|
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
|
|
|
|
This program and the accompanying materials
|
2008-04-03 12:36:52 +02:00
|
|
|
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.
|
|
|
|
|
|
|
|
**/
|
|
|
|
|
|
|
|
|
|
|
|
#include "HiiDatabase.h"
|
|
|
|
|
2008-11-10 13:40:07 +01:00
|
|
|
/**
|
|
|
|
Retrieves the current keyboard layout.
|
|
|
|
This function is not implemented by HII Thunk Module.
|
|
|
|
|
|
|
|
@param This A pointer to the EFI_HII_PROTOCOL instance.
|
|
|
|
@param DescriptorCount A pointer to the number of Descriptor entries being described in the keyboard layout being retrieved.
|
2008-12-01 08:16:55 +01:00
|
|
|
@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.
|
2008-11-10 13:40:07 +01:00
|
|
|
|
|
|
|
@retval EFI_SUCCESS The keyboard layout was retrieved successfully.
|
|
|
|
|
|
|
|
**/
|
2008-04-03 12:36:52 +02:00
|
|
|
EFI_STATUS
|
|
|
|
EFIAPI
|
|
|
|
HiiGetKeyboardLayout (
|
|
|
|
IN EFI_HII_PROTOCOL *This,
|
|
|
|
OUT UINT16 *DescriptorCount,
|
|
|
|
OUT FRAMEWORK_EFI_KEY_DESCRIPTOR *Descriptor
|
|
|
|
)
|
|
|
|
{
|
2008-04-14 08:57:09 +02:00
|
|
|
ASSERT (FALSE);
|
|
|
|
//
|
|
|
|
// In previous Framewok HII implementation, GetKeyBoardLayout is defined in HII 0.92 specification,
|
|
|
|
// but it is not implemented. We ASSERT and return UNSUPPORTED here.
|
|
|
|
//
|
|
|
|
return EFI_UNSUPPORTED;
|
2008-04-03 12:36:52 +02:00
|
|
|
}
|