AquilaOS documentation
How it works, and its code
Loading...
Searching...
No Matches
kbd.h
Go to the documentation of this file.
1#ifndef _DEV_KBD_H
2#define _DEV_KBD_H
3
4#include <core/system.h>
5#include <ds/ringbuf.h>
6
8struct keyboard {
9 const char *name;
10
12 struct ringbuf *ring;
13};
14
15#endif /* ! _DEV_KBD_H */
A keyboard: the bytes it sent, waiting to be read.
Definition kbd.h:8
struct waitq * read_queue
Definition kbd.h:11
struct ringbuf * ring
Definition kbd.h:12
const char * name
Definition kbd.h:9
A ring buffer.
Definition ringbuf.h:18
Definition waitq.h:19