From 5899f27e062001882274589496117eabda9bea94 Mon Sep 17 00:00:00 2001 From: xli24 Date: Fri, 5 Dec 2008 09:19:10 +0000 Subject: Code Scrub for UsbKbDxe module. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6871 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.h | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.h') diff --git a/MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.h b/MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.h index 22aaf21271..dbf637ff43 100644 --- a/MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.h +++ b/MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.h @@ -1,5 +1,4 @@ /** @file - Function prototype for USB Keyboard Driver. Copyright (c) 2004 - 2008, Intel Corporation @@ -143,7 +142,7 @@ USBParseKey ( **/ EFI_STATUS EFIAPI -USBKeyCodeToEFIScanCode ( +UsbKeyCodeToEfiInputKey ( IN USB_KB_DEV *UsbKeyboardDevice, IN UINT8 KeyChar, OUT EFI_INPUT_KEY *Key @@ -154,10 +153,8 @@ USBKeyCodeToEFIScanCode ( @param KeyboardBuffer Points to the USB Keyboard Buffer. - @retval EFI_SUCCESS Init key buffer successfully. - **/ -EFI_STATUS +VOID EFIAPI InitUSBKeyBuffer ( IN OUT USB_KB_BUFFER *KeyboardBuffer @@ -200,10 +197,8 @@ IsUSBKeyboardBufferFull ( @param Key Key code @param Down Special key - @retval EFI_SUCCESS Success - **/ -EFI_STATUS +VOID EFIAPI InsertKeyCode ( IN OUT USB_KB_BUFFER *KeyboardBuffer, @@ -248,10 +243,8 @@ USBKeyboardRepeatHandler ( @param UsbKeyboardDevice The USB_KB_DEV instance. - @retval EFI_SUCCESS Success - **/ -EFI_STATUS +VOID EFIAPI SetKeyLED ( IN USB_KB_DEV *UsbKeyboardDevice -- cgit v1.2.3