New rewritten serial driver + dev interface

This commit is contained in:
2025-10-04 21:31:45 +02:00
parent 0117080b61
commit acbf051dbc
16 changed files with 139 additions and 16 deletions

View File

@ -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;
}