Karg
v0.2.0
The kernel of CargOS
|
Classes | |
struct | ctrl_blk_t |
Macros | |
#define | reg(num, reg) *((volatile u8 *) (ctrl_blks[num].addr + ctrl_blks[num].reg_size * reg)) |
#define | THR 0 |
#define | RBR 0 |
#define | IER 1 |
#define | IIR 2 |
#define | FCR 2 |
#define | LSR 5 |
#define | IER_ERBFI 0x01 |
#define | LSR_THRE 0x20 |
Functions | |
MODULE_NAME ("uart") | |
dev_init ("uart8250", init_dev) | |
#define FCR 2 |
#define IER 1 |
#define IER_ERBFI 0x01 |
#define IIR 2 |
#define LSR 5 |
#define LSR_THRE 0x20 |
#define RBR 0 |
#define reg | ( | num, | |
reg | |||
) | *((volatile u8 *) (ctrl_blks[num].addr + ctrl_blks[num].reg_size * reg)) |
#define THR 0 |
dev_init | ( | "uart8250" | , |
init_dev | |||
) |
MODULE_NAME | ( | "uart" | ) |