[Krafton Jungle] PintOS 2.0.0
크래프톤 정글 PintOS
 
Loading...
Searching...
No Matches
kbd.h File Reference
#include <stdint.h>
Include dependency graph for kbd.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void kbd_init (void)
 
void kbd_print_stats (void)
 

Function Documentation

◆ kbd_init()

void kbd_init ( void  )
30 {
31 intr_register_ext (0x21, keyboard_interrupt, "8042 Keyboard");
32}
void intr_register_ext(uint8_t vec, intr_handler_func *, const char *name)
Definition: interrupt.c:228
static intr_handler_func keyboard_interrupt
Definition: kbd.c:26
Here is the call graph for this function:
Here is the caller graph for this function:

◆ kbd_print_stats()

void kbd_print_stats ( void  )
36 {
37 printf ("Keyboard: %lld keys pressed\n", key_cnt);
38}
static int64_t key_cnt
Definition: kbd.c:24
int printf(const char *,...) PRINTF_FORMAT(1
Here is the call graph for this function:
Here is the caller graph for this function: