summaryrefslogtreecommitdiff
path: root/Include/Protocol/Emul6064KbdInput.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/Protocol/Emul6064KbdInput.h')
-rw-r--r--Include/Protocol/Emul6064KbdInput.h93
1 files changed, 93 insertions, 0 deletions
diff --git a/Include/Protocol/Emul6064KbdInput.h b/Include/Protocol/Emul6064KbdInput.h
new file mode 100644
index 0000000..4e7facf
--- /dev/null
+++ b/Include/Protocol/Emul6064KbdInput.h
@@ -0,0 +1,93 @@
+//****************************************************************************
+//****************************************************************************
+//** **
+//** (C)Copyright 1985-2010, American Megatrends, Inc. **
+//** **
+//** All Rights Reserved. **
+//** **
+//** 5555 Oakbrook Pkwy, Suite 200 Norcross, GA 30093 **
+//** **
+//** Phone (770)-246-8600 **
+//** **
+//****************************************************************************
+//****************************************************************************
+
+//**********************************************************************
+// $Header: /Alaska/SOURCE/Modules/USB/ALASKA/Protocol/Emul6064KbdInput.h 4 6/28/10 5:24p Olegi $
+//
+// $Revision: 4 $
+//
+// $Date: 6/28/10 5:24p $
+//
+//**********************************************************************
+
+//<AMI_FHDR_START>
+//----------------------------------------------------------------------------
+//
+// Name: Emul6064KbdInput.h
+//
+// Description: Protocol used for USB 6064 keyboard emulation
+//
+//----------------------------------------------------------------------------
+//<AMI_FHDR_END>
+
+
+#ifndef _EMUL6064KBDINPUT_PROTOCOL_H_
+#define _EMUL6064KBDINPUT_PROTOCOL_H_
+
+EFI_FORWARD_DECLARATION (EFI_EMUL6064KBDINPUT_PROTOCOL);
+
+#define EFI_EMUL6064KBDINPUT_PROTOCOL_GUID \
+ { 0x62ceef5a, 0x1d7c, 0x4943, 0x9b, 0x3a, 0x95, 0xe2, 0x49, 0x4c, 0x89, 0x90 }
+
+typedef enum {
+ KBC_KBDTRANS_AT = 0, //NOT TRANSLATED (XLAT cleared in CCB)
+ KBC_KBDTRANS_PCXT = 1, //TRANSLATED (XLAT set in CCB)
+} KBC_KBDTRANSLATION;
+
+typedef
+EFI_STATUS
+(EFIAPI *EFI_EMUL6064KBDINPUT_PROTOCOL_SEND) (
+ IN EFI_EMUL6064KBDINPUT_PROTOCOL * This,
+ IN UINT8* data,
+ IN UINT32 count
+ );
+
+typedef
+EFI_STATUS
+(EFIAPI *EFI_EMUL6064KBDINPUT_PROTOCOL_GETTRANS) (
+ IN EFI_EMUL6064KBDINPUT_PROTOCOL * This,
+ OUT KBC_KBDTRANSLATION* outTrans
+ );
+
+typedef
+EFI_STATUS
+(EFIAPI *EFI_EMUL6064KBDINPUT_PROTOCOL_UPDATELEDSTATE) (
+ IN EFI_EMUL6064KBDINPUT_PROTOCOL * This,
+ IN UINT8 data
+ );
+
+
+typedef struct _EFI_EMUL6064KBDINPUT_PROTOCOL {
+ EFI_EMUL6064KBDINPUT_PROTOCOL_SEND Send ;
+ EFI_EMUL6064KBDINPUT_PROTOCOL_GETTRANS GetTranslation;
+ EFI_EMUL6064KBDINPUT_PROTOCOL_UPDATELEDSTATE UpdateLEDState;
+} EFI_EMUL6064KBDINPUT_PROTOCOL;
+
+extern EFI_GUID gEmul6064KbdInputProtocolGuid;
+
+#endif
+
+//****************************************************************************
+//****************************************************************************
+//** **
+//** (C)Copyright 1985-2010, American Megatrends, Inc. **
+//** **
+//** All Rights Reserved. **
+//** **
+//** 5555 Oakbrook Pkwy, Suite 200 Norcross, GA 30093 **
+//** **
+//** Phone (770)-246-8600 **
+//** **
+//****************************************************************************
+//****************************************************************************