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

@ -17,4 +17,5 @@ void termdev_init(void) {
Dev *termdev = NULL;
HSHTB_ALLOC(DEVTABLE.devs, ident, "termdev", termdev);
termdev->fns[0] = &termdev_putch;
spinlock_init(&termdev->spinlock);
}