Files | |
file | niagara.h |
file | sgcn.c |
file | sgcn.h |
Data Structures | |
struct | sgcn_buffer_header_t |
SGCN buffer header. More... | |
Defines | |
#define | HEIGHT 24 |
#define | SGCN_BUFFER(type, offset) ((type *) (sram_virt_addr + sram_buffer_offset + (offset))) |
#define | SGCN_BUFFER_HEADER (SGCN_BUFFER(sgcn_buffer_header_t, 0)) |
Returns a pointer to the console buffer header. | |
#define | WIDTH 80 |
Functions | |
int | niagara_init (void) |
Initializes the Niagara serial driver. | |
int | sgcn_init (void) |
Initializes the SGCN serial driver. | |
static void | sgcn_putc (char c) |
Pushes the character to the SGCN serial. | |
Variables | |
static uintptr_t | sram_buffer_offset |
SGCN buffer offset within SGCN. | |
static uintptr_t | sram_virt_addr |
Virtual address mapped to SRAM. |
static void sgcn_putc | ( | char | c | ) | [static] |