AquilaOS documentation
How it works, and its code
Toggle main menu visibility
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
8
struct
keyboard
{
9
const
char
*
name
;
10
11
struct
waitq
*
read_queue
;
12
struct
ringbuf
*
ring
;
13
};
14
15
#endif
/* ! _DEV_KBD_H */
system.h
ringbuf.h
keyboard
A keyboard: the bytes it sent, waiting to be read.
Definition
kbd.h:8
keyboard::read_queue
struct waitq * read_queue
Definition
kbd.h:11
keyboard::ring
struct ringbuf * ring
Definition
kbd.h:12
keyboard::name
const char * name
Definition
kbd.h:9
ringbuf
A ring buffer.
Definition
ringbuf.h:18
waitq
Definition
waitq.h:19
kernel
include
dev
kbd.h
Generated by
1.18.0