summaryrefslogtreecommitdiff
path: root/src/kernel/arch/i386/driver/serial.h
blob: c2b93ce6eae960c03f037c0bbf342f5a07d26805 (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once
#include <stdbool.h>
#include <stddef.h>

void	serial_init(void);

bool	serial_ready(void);
void	serial_irq(void);
size_t	serial_read(char *buf, size_t len);

void	serial_write(const char *buf, size_t len);