PatchworkOS  3984a1d
A non-POSIX operating system.
Loading...
Searching...
No Matches
ps2_mouse.c File Reference
#include "ps2_mouse.h"
#include <kernel/cpu/irq.h>
#include <kernel/log/log.h>
#include <stdlib.h>
Include dependency graph for ps2_mouse.c:

Go to the source code of this file.

Functions

static void ps2_mouse_handle_packet (mouse_t *mouse, ps2_mouse_t *ps2)
 
static void ps2_mouse_irq (irq_func_data_t *data)
 
uint64_t ps2_mouse_init (ps2_device_info_t *info)
 Initialize a PS/2 mouse device.
 
uint64_t ps2_mouse_irq_register (ps2_device_info_t *info)
 Register the IRQ handler for a PS/2 mouse device.
 
void ps2_mouse_deinit (ps2_device_info_t *info)
 Deinitialize a PS/2 mouse device.
 

Function Documentation

◆ ps2_mouse_handle_packet()

static void ps2_mouse_handle_packet ( mouse_t mouse,
ps2_mouse_t ps2 
)
static

Definition at line 8 of file ps2_mouse.c.

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

◆ ps2_mouse_irq()

static void ps2_mouse_irq ( irq_func_data_t data)
static

Definition at line 59 of file ps2_mouse.c.

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