diff options
author | Marvin Borner | 2021-04-14 14:34:38 +0200 |
---|---|---|
committer | Marvin Borner | 2021-04-14 14:34:38 +0200 |
commit | 462eaa9531b9e62916b02ab52759cd070de755d3 (patch) | |
tree | 71bb32daa5f8b4389c9d4ce1e42d66600090485f /kernel/inc/ps2.h | |
parent | 212582f69dea4c99c292081b15ea526014b9ad44 (diff) |
Implemented some I/O interfaces
Diffstat (limited to 'kernel/inc/ps2.h')
-rw-r--r-- | kernel/inc/ps2.h | 9 |
1 files changed, 5 insertions, 4 deletions
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 |