Squash commits for public release
This commit is contained in:
15
boot/x86_64/prekernel/drivers/uart.h
Normal file
15
boot/x86_64/prekernel/drivers/uart.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef _BOOT_DRIVERS_UART_H
|
||||
#define _BOOT_DRIVERS_UART_H
|
||||
|
||||
#include <libboot/types.h>
|
||||
|
||||
#define COM1 0x3F8
|
||||
#define COM2 0x2F8
|
||||
#define COM3 0x3E8
|
||||
#define COM4 0x2E8
|
||||
|
||||
void uart_init();
|
||||
int uart_write(uint8_t data);
|
||||
int uart_read(uint8_t* data);
|
||||
|
||||
#endif //_BOOT_DRIVERS_UART_H
|
||||
Reference in New Issue
Block a user