11 lines
280 B
C
11 lines
280 B
C
|
|
#ifndef _KERNEL_DRIVERS_SERIAL_UART_API_H
|
||
|
|
#define _KERNEL_DRIVERS_SERIAL_UART_API_H
|
||
|
|
|
||
|
|
#include <libkern/types.h>
|
||
|
|
|
||
|
|
struct boot_args;
|
||
|
|
void uart_setup(struct boot_args* boot_args);
|
||
|
|
int uart_write(uint8_t data);
|
||
|
|
int uart_read(uint8_t* data);
|
||
|
|
|
||
|
|
#endif //_KERNEL_DRIVERS_SERIAL_UART_API_H
|