repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove building with NOCRYPTO option
[minix.git]
/
minix
/
kernel
/
arch
/
earm
/
direct_tty_utils.c
blob
46ee67498316081cef02261622c4c9b66dca9680
1
2
#include
"kernel/kernel.h"
3
#include
"direct_utils.h"
4
#include
"bsp_serial.h"
5
#include
"glo.h"
6
7
void
direct_cls
(
void
)
8
{
9
/* Do nothing */
10
}
11
12
void
direct_print_char
(
char
c
)
13
{
14
if
(
c
==
'
\n
'
)
15
bsp_ser_putc
(
'
\r
'
);
16
ser_putc
(
c
);
17
}
18
19
void
direct_print
(
const char
*
str
)
20
{
21
while
(*
str
) {
22
direct_print_char
(*
str
);
23
str
++;
24
}
25
}
26
27
int
direct_read_char
(
unsigned char
*
ch
)
28
{
29
return
0
;
30
}