New rewritten serial driver + dev interface
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user