From 462eaa9531b9e62916b02ab52759cd070de755d3 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 14 Apr 2021 14:34:38 +0200 Subject: Implemented some I/O interfaces --- kernel/inc/ps2.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'kernel/inc/ps2.h') diff --git a/kernel/inc/ps2.h b/kernel/inc/ps2.h index fb923bf..42d8127 100644 --- a/kernel/inc/ps2.h +++ b/kernel/inc/ps2.h @@ -33,14 +33,15 @@ u8 ps2_read_data(void); u8 ps2_write_data(u8 byte); struct ps2_status ps2_read_status(void); u8 ps2_write_command(u8 byte); +u8 ps2_write_device(u8 device, u8 data); void ps2_detect(void); -u8 ps2_keyboard_support(void); -u8 ps2_mouse_support(void); +u8 ps2_keyboard_detect(void); +u8 ps2_mouse_detect(void); -void ps2_keyboard_install(void); +void ps2_keyboard_install(u8 device); void ps2_keyboard_reset(void); -void ps2_mouse_install(void); +void ps2_mouse_install(u8 device); #endif -- cgit v1.2.3