MOS Source Code
|
#include "mos/device/console.h"
#include "mos/device/serial.h"
#include <ansi_colors.h>
#include <stddef.h>
Go to the source code of this file.
Classes | |
struct | serial_console_t |
Functions | |
MOS_STATIC_ASSERT (offsetof(serial_console_t, con)==0, "console must be the first field in serial_console_t") | |
bool | serial_console_setup (console_t *console) |
bool | serial_console_irq_handler (u32 irq, void *data) |
MOS_STATIC_ASSERT | ( | offsetof(serial_console_t, con) | = =0, |
"console must be the first field in serial_console_t" | ) |
Definition at line 44 of file serial_console.c.
Referenced by riscv64_uart_setup().
Definition at line 67 of file serial_console.c.
Referenced by platform_startup_late().