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

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

bool	serial_poll_read(char *c);