14 #define KMICR_TYPE (1 << 5) 15 #define KMICR_RXINTREN (1 << 4) 16 #define KMICR_TXINTREN (1 << 3) 17 #define KMICR_EN (1 << 2) 18 #define KMICR_FD (1 << 1) 19 #define KMICR_FC (1 << 0) 24 #define KMISTAT_TXEMPTY (1 << 6) 25 #define KMISTAT_TXBUSY (1 << 5) 26 #define KMISTAT_RXFULL (1 << 4) 27 #define KMISTAT_RXBUSY (1 << 3) 28 #define KMISTAT_RXPARITY (1 << 2) 29 #define KMISTAT_IC (1 << 1) 30 #define KMISTAT_ID (1 << 0) 35 #define PL050_KMICR (LlbHwVersaKmiBase + 0x00) 36 #define PL050_KMISTAT (LlbHwVersaKmiBase + 0x04) 37 #define PL050_KMIDATA (LlbHwVersaKmiBase + 0x08) 38 #define PL050_KMICLKDIV (LlbHwVersaKmiBase + 0x0c) 44 #define PS2_O_RESET 0xff 45 #define PS2_O_RESEND 0xfe 46 #define PS2_O_DISABLE 0xf5 47 #define PS2_O_ENABLE 0xf4 48 #define PS2_O_ECHO 0xee 49 #define PS2_O_SET_DEFAULT 0xf6 50 #define PS2_O_SET_RATE_DELAY 0xf3 51 #define PS2_O_SET_SCANSET 0xf0 52 #define PS2_O_INDICATORS 0xed 53 #define PS2_I_RESEND 0xfe 54 #define PS2_I_DIAGFAIL 0xfd 55 #define PS2_I_ACK 0xfa 56 #define PS2_I_BREAK 0xf0 57 #define PS2_I_ECHO 0xee 58 #define PS2_I_BAT_OK 0xaa 66 volatile int i = 1000;
static const ULONG LlbHwVersaKmiBase
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
BOOLEAN NTAPI LlbHwKbdReady(VOID)
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
ULONG NTAPI LlbHwGetPClk(VOID)
VOID NTAPI LlbHwKbdSend(IN ULONG Value)
#define PS2_O_SET_DEFAULT
NTKERNELAPI UCHAR NTAPI READ_REGISTER_UCHAR(IN PUCHAR Register)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
INT NTAPI LlbHwKbdRead(VOID)
#define PS2_O_SET_SCANSET
VOID NTAPI LlbHwVersaKmiSendAndWait(IN ULONG Value)
_In_ LARGE_INTEGER Divisor
VOID NTAPI LlbHwVersaKmiInitialize(VOID)
NTKERNELAPI VOID NTAPI WRITE_REGISTER_UCHAR(IN PUCHAR Register, IN UCHAR Value)