mirror of https://github.com/acidanthera/audk.git
Add in Ps2keyboard.inf and Ps2Mouse.inf to IntelFrameworkModuelPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3113 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
05fbd06d91
commit
a534fc0b34
|
@ -0,0 +1,48 @@
|
||||||
|
/*++
|
||||||
|
|
||||||
|
Copyright (c) 2006, Intel Corporation. All rights reserved.
|
||||||
|
This software and associated documentation (if any) is furnished
|
||||||
|
under a license and may only be used or copied in accordance
|
||||||
|
with the terms of the license. Except as permitted by such
|
||||||
|
license, no part of this software or documentation may be
|
||||||
|
reproduced, stored in a retrieval system, or transmitted in any
|
||||||
|
form or by any means without the express written consent of
|
||||||
|
Intel Corporation.
|
||||||
|
|
||||||
|
|
||||||
|
Module Name:
|
||||||
|
|
||||||
|
Ps2Policy.h
|
||||||
|
|
||||||
|
Abstract:
|
||||||
|
|
||||||
|
Protocol used for PS/2 Policy definition.
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
|
#ifndef _PS2_POLICY_PROTOCOL_H_
|
||||||
|
#define _PS2_POLICY_PROTOCOL_H_
|
||||||
|
|
||||||
|
#define EFI_PS2_POLICY_PROTOCOL_GUID \
|
||||||
|
{ \
|
||||||
|
0x4df19259, 0xdc71, 0x4d46, {0xbe, 0xf1, 0x35, 0x7b, 0xb5, 0x78, 0xc4, 0x18 } \
|
||||||
|
}
|
||||||
|
|
||||||
|
#define EFI_KEYBOARD_CAPSLOCK 0x0004
|
||||||
|
#define EFI_KEYBOARD_NUMLOCK 0x0002
|
||||||
|
#define EFI_KEYBOARD_SCROLLLOCK 0x0001
|
||||||
|
|
||||||
|
typedef
|
||||||
|
EFI_STATUS
|
||||||
|
(EFIAPI *EFI_PS2_INIT_HARDWARE) (
|
||||||
|
IN EFI_HANDLE Handle
|
||||||
|
);
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
UINT8 KeyboardLight;
|
||||||
|
EFI_PS2_INIT_HARDWARE Ps2InitHardware;
|
||||||
|
} EFI_PS2_POLICY_PROTOCOL;
|
||||||
|
|
||||||
|
extern EFI_GUID gEfiPs2PolicyProtocolGuid;
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in New Issue