17 lines
289 B
C
17 lines
289 B
C
/*
|
|
* @author xamidev <xamidev@riseup.net>
|
|
* @brief Debug serial driver
|
|
* @license GPL-3.0-only
|
|
*/
|
|
|
|
#ifndef SERIAL_H
|
|
#define SERIAL_H
|
|
|
|
void outb(int port, unsigned char data);
|
|
unsigned char inb(int port);
|
|
|
|
int serial_init();
|
|
void skputs(const char* str);
|
|
void skputc(char c);
|
|
|
|
#endif |