PKUOS - Pintos
Pintos source browser for PKU Operating System course
Functions
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)
 Initializes the keyboard. More...
 
void kbd_print_stats (void)
 devices/kbd.h More...
 

Function Documentation

◆ kbd_init()

void kbd_init ( void  )

Initializes the keyboard.

Definition at line 31 of file kbd.c.

References intr_register_ext(), and keyboard_interrupt.

Referenced by pintos_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ kbd_print_stats()

void kbd_print_stats ( void  )

devices/kbd.h

devices/kbd.h

Definition at line 38 of file kbd.c.

References key_cnt, and printf().

Referenced by print_stats().

Here is the call graph for this function:
Here is the caller graph for this function: