feat(keyboard): add simple keyboard handler

Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
This commit is contained in:
juju committed 2021-07-26 09:04:30 +02:00
1 parent ac1b1f5376
commit 0e43e73fc7
5 files changed
+29 -1

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
#include "keyboard.h"
#include "io.h"
void keyboard_handler(void)
{
inb(KEYBOARD_IO);
}
+9
View File
@@ -0,0 +1,9 @@
#ifndef KEYBOARD_H
#define KEYBOARD_H
#define KEYBOARD_IO 0x60
#define KEYBOARD_STATUS 0x64
void keyboard_handler(void);
#endif /* !KEYBOARD_H */
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.