ReactOS 0.4.16-dev-297-gc569aee
kbdbios.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BIOS_KBD_INTERRUPT   0x16
 
#define BIOS_KBD_BUFFER_SIZE   16
 

Functions

BOOLEAN KbdBiosInitialize (VOID)
 
VOID KbdBiosCleanup (VOID)
 

Macro Definition Documentation

◆ BIOS_KBD_BUFFER_SIZE

#define BIOS_KBD_BUFFER_SIZE   16

Definition at line 16 of file kbdbios.h.

◆ BIOS_KBD_INTERRUPT

#define BIOS_KBD_INTERRUPT   0x16

Definition at line 14 of file kbdbios.h.

Function Documentation

◆ KbdBiosCleanup()

VOID KbdBiosCleanup ( VOID  )

Definition at line 93 of file kbdbios.c.

94{
95 /* Unregister the BIOS support BOPs */
98}
VOID RegisterBop(BYTE BopCode, EMULATOR_BOP_PROC BopHandler)
Definition: bop.c:29
#define NULL
Definition: types.h:112
#define BOP_KBD_IRQ
Definition: kbdbios.c:26
#define BOP_KBD_INT
Definition: kbdbios.c:27

Referenced by Bios32Cleanup().

◆ KbdBiosInitialize()

BOOLEAN KbdBiosInitialize ( VOID  )

Definition at line 85 of file kbdbios.c.

86{
87 /* Register the BIOS support BOPs */
88 RegisterBop(BOP_KBD_IRQ, KbdBiosIRQ); // BiosKeyboardIrq in kbdbios32.c
89 RegisterBop(BOP_KBD_INT, KbdBiosINT); // BiosKeyboardService in kbdbios32.c
90 return TRUE;
91}
#define TRUE
Definition: types.h:120
static VOID WINAPI KbdBiosINT(LPWORD Stack)
Definition: kbdbios.c:59
static VOID WINAPI KbdBiosIRQ(LPWORD Stack)
Definition: kbdbios.c:32

Referenced by Bios32Initialize().