artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e83d27
)
Add support for sfuart(4) as a console.
author
kettenis
<kettenis@openbsd.org>
Sun, 13 Jun 2021 16:27:15 +0000
(16:27 +0000)
committer
kettenis
<kettenis@openbsd.org>
Sun, 13 Jun 2021 16:27:15 +0000
(16:27 +0000)
ok drahn@
sys/arch/riscv64/riscv64/machdep.c
patch
|
blob
|
history
diff --git
a/sys/arch/riscv64/riscv64/machdep.c
b/sys/arch/riscv64/riscv64/machdep.c
index
0e24c9a
..
43cdba3
100644
(file)
--- a/
sys/arch/riscv64/riscv64/machdep.c
+++ b/
sys/arch/riscv64/riscv64/machdep.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: machdep.c,v 1.
19 2021/05/20 04:22:33 drahn Exp $
*/
+/* $OpenBSD: machdep.c,v 1.
20 2021/06/13 16:27:15 kettenis Exp $
*/
/*
* Copyright (c) 2014 Patrick Wildt <patrick@blueri.se>
@@
-177,6
+177,7
@@
fdt_find_cons(const char *name)
}
void com_fdt_init_cons(void);
+void sfuart_init_cons(void);
void
consinit(void)
@@
-187,7
+188,9
@@
consinit(void)
return;
consinit_called = 1;
+
com_fdt_init_cons();
+ sfuart_init_cons();
}
void