New rewritten serial driver + dev interface
This commit is contained in:
@ -33,5 +33,6 @@ void ps2kbdev_init(void) {
|
||||
|
||||
Dev *ps2kbdev;
|
||||
HSHTB_ALLOC(DEVTABLE.devs, ident, "ps2kbdev", ps2kbdev);
|
||||
spinlock_init(&ps2kbdev->spinlock);
|
||||
ps2kbdev->fns[0] = &ps2kbdev_readch;
|
||||
}
|
||||
|
Reference in New Issue
Block a user