mirror of
https://github.com/isometimes/rpi4-osdev
synced 2024-11-08 19:30:39 +00:00
12 lines
407 B
C
12 lines
407 B
C
#define PERIPHERAL_BASE 0xFE000000
|
|
#define SAFE_ADDRESS 0x00210000 // Somewhere safe to store a lot of data
|
|
|
|
void uart_init();
|
|
void uart_writeText(char *buffer);
|
|
void uart_loadOutputFifo();
|
|
unsigned char uart_readByte();
|
|
unsigned int uart_isReadByteReady();
|
|
void uart_writeByteBlocking(unsigned char ch);
|
|
void uart_update();
|
|
void mmio_write(long reg, unsigned int val);
|
|
unsigned int mmio_read(long reg);
|