Eventually I want the kernel to be loaded from the SD card as well, but it still needs to separate from user programs. At some point there should be a folder just for the BIOS, which should read from the boot block of the SD card and start executing, and thats it.
13 lines
168 B
C
13 lines
168 B
C
#ifndef _UART_H
|
|
#define _UART_H
|
|
|
|
#include <stdint.h>
|
|
|
|
void uart_txb(uint8_t val);
|
|
void uart_txb_block(uint8_t val);
|
|
|
|
uint8_t uart_rxb();
|
|
|
|
uint8_t uart_status();
|
|
|
|
#endif |