summaryrefslogtreecommitdiff
path: root/src/kernel/serial.h
blob: 2fb21a65216758cf59583039a50c1db06ddf08a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef SERIAL_H
#define SERIAL_H

#include <stdbool.h>
#include <stdint.h>

bool serr() __attribute__ ((pure));
void init_serial();
void sout(char b);
void soutsz(const char *s);
void soutsn(const char *s, uint8_t n);
char sin();
void sinsn(char *s, uint8_t n);

#endif