amd64
[Keyboard Service]

HelenOS ia32 / amd64 arch dependent parts of uspace keyboard and mouse handler. More...

Files

file  arch/ia32/include/kbd.h
file  arch/ia32/src/kbd.c

Defines

#define KBD_IRQ   1
#define MOUSE_IRQ   12
#define i8042_DATA   0x60
#define i8042_STATUS   0X64

Typedefs

typedef unsigned char u8
typedef short u16

Functions

static void i8042_data_write (u8 data)
static u8 i8042_data_read (void)
static u8 i8042_status_read (void)
static void i8042_command_write (u8 command)
int kbd_arch_init (void)

Detailed Description


Define Documentation

#define KBD_IRQ   1
 

Definition at line 46 of file arch/ia32/include/kbd.h.

#define MOUSE_IRQ   12
 

Definition at line 47 of file arch/ia32/include/kbd.h.

#define i8042_DATA   0x60
 

Definition at line 49 of file arch/ia32/include/kbd.h.

Referenced by i8042_data_read(), i8042_data_write(), and kbd_arch_init().

#define i8042_STATUS   0X64
 

Definition at line 50 of file arch/ia32/include/kbd.h.

Referenced by i8042_command_write(), and i8042_status_read().


Typedef Documentation

typedef unsigned char u8
 

Definition at line 53 of file arch/ia32/include/kbd.h.

typedef short u16
 

Definition at line 54 of file arch/ia32/include/kbd.h.


Function Documentation

static void i8042_data_write u8  data  )  [static]
 

Definition at line 56 of file arch/ia32/include/kbd.h.

References i8042_DATA, and outb().

Referenced by kbd_arch_init().

Here is the call graph for this function:

static u8 i8042_data_read void   )  [static]
 

Definition at line 61 of file arch/ia32/include/kbd.h.

References i8042_DATA, and inb().

Referenced by kbd_arch_init().

Here is the call graph for this function:

static u8 i8042_status_read void   )  [static]
 

Definition at line 66 of file arch/ia32/include/kbd.h.

References i8042_STATUS, and inb().

Referenced by kbd_arch_init(), and wait_ready().

Here is the call graph for this function:

static void i8042_command_write u8  command  )  [static]
 

Definition at line 71 of file arch/ia32/include/kbd.h.

References i8042_STATUS, and outb().

Referenced by kbd_arch_init().

Here is the call graph for this function:

int kbd_arch_init void   ) 
 

Register uspace irq handler

Returns:

Definition at line 391 of file arch/ia32/src/kbd.c.

References i8042_CMD_KBD, i8042_CMD_MOUSE, i8042_command_write(), i8042_DATA, i8042_data_read(), i8042_data_write(), i8042_KBD_DISABLE, i8042_MOUSE_DATA, i8042_OUTPUT_FULL, i8042_status_read(), iospace_enable(), MOUSE_OUT_INIT, task_get_id(), and wait_ready().

Referenced by kbd_arch_process(), and main().

Here is the call graph for this function:


Generated on Sun Jun 18 17:57:38 2006 for HelenOS Userspace (ia32) by  doxygen 1.4.6