TianoCore EDK2 master
|
#include "Ps2Keyboard.h"
Go to the source code of this file.
Functions | |
EFI_STATUS EFIAPI | KbdControllerDriverSupported (IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE Controller, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath) |
EFI_STATUS EFIAPI | KbdControllerDriverStart (IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE Controller, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath) |
EFI_STATUS EFIAPI | KbdControllerDriverStop (IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE Controller, IN UINTN NumberOfChildren, IN EFI_HANDLE *ChildHandleBuffer) |
EFI_STATUS | KbdFreeNotifyList (IN OUT LIST_ENTRY *ListHead) |
EFI_STATUS EFIAPI | InitializePs2Keyboard (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
Variables | |
EFI_DRIVER_BINDING_PROTOCOL | gKeyboardControllerDriver |
PS/2 Keyboard driver. Routines that interacts with callers, conforming to EFI driver model
Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Ps2Keyboard.c.
EFI_STATUS EFIAPI InitializePs2Keyboard | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
The module Entry Point for module Ps2Keyboard.
[in] | ImageHandle | The firmware allocated handle for the EFI image. |
[in] | SystemTable | A pointer to the EFI System Table. |
EFI_SUCCESS | The entry point is executed successfully. |
other | Some error occurs when executing this entry point. |
Definition at line 654 of file Ps2Keyboard.c.
EFI_STATUS EFIAPI KbdControllerDriverStart | ( | IN EFI_DRIVER_BINDING_PROTOCOL * | This, |
IN EFI_HANDLE | Controller, | ||
IN EFI_DEVICE_PATH_PROTOCOL * | RemainingDevicePath | ||
) |
Create KEYBOARD_CONSOLE_IN_DEV instance on controller.
This | Pointer of EFI_DRIVER_BINDING_PROTOCOL |
Controller | driver controller handle |
RemainingDevicePath | Children's device path |
whether | success to create floppy control instance. |
Definition at line 192 of file Ps2Keyboard.c.
EFI_STATUS EFIAPI KbdControllerDriverStop | ( | IN EFI_DRIVER_BINDING_PROTOCOL * | This, |
IN EFI_HANDLE | Controller, | ||
IN UINTN | NumberOfChildren, | ||
IN EFI_HANDLE * | ChildHandleBuffer | ||
) |
Stop this driver on ControllerHandle. Support stopping any child handles created by this driver.
This | Protocol instance pointer. |
ControllerHandle | Handle of device to stop driver on |
NumberOfChildren | Number of Handles in ChildHandleBuffer. If number of children is zero stop the entire bus driver. |
ChildHandleBuffer | List of Child Handles to Stop. |
EFI_SUCCESS | This driver is removed ControllerHandle |
other | This driver was not removed from this device |
Definition at line 498 of file Ps2Keyboard.c.
EFI_STATUS EFIAPI KbdControllerDriverSupported | ( | IN EFI_DRIVER_BINDING_PROTOCOL * | This, |
IN EFI_HANDLE | Controller, | ||
IN EFI_DEVICE_PATH_PROTOCOL * | RemainingDevicePath | ||
) |
Test controller is a keyboard Controller.
This | Pointer of EFI_DRIVER_BINDING_PROTOCOL |
Controller | driver's controller |
RemainingDevicePath | children device path |
EFI_UNSUPPORTED | controller is not floppy disk |
EFI_SUCCESS | controller is floppy disk |
Definition at line 112 of file Ps2Keyboard.c.
EFI_STATUS KbdFreeNotifyList | ( | IN OUT LIST_ENTRY * | ListHead | ) |
Free the waiting key notify list.
ListHead | Pointer to list head |
EFI_INVALID_PARAMETER | ListHead is NULL |
EFI_SUCCESS | Success to free NotifyList |
Definition at line 618 of file Ps2Keyboard.c.
EFI_DRIVER_BINDING_PROTOCOL gKeyboardControllerDriver |
Definition at line 91 of file Ps2Keyboard.c.