summaryrefslogtreecommitdiffstats
path: root/bsps/riscv/riscv/include/dev/serial/htif.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-07-06 13:52:22 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-07-06 14:27:29 +0200
commit31f90a2ff4cb40b830c2cbcc184315e424fc8e12 (patch)
treec48f042b0c4a1cf288338ccf93f9c3ea2fede8a1 /bsps/riscv/riscv/include/dev/serial/htif.h
parentriscv: Add LADDR assembler define (diff)
downloadrtems-31f90a2ff4cb40b830c2cbcc184315e424fc8e12.tar.bz2
bsp/riscv: Simplify printk() support
This is a prepartion to add NS16550 driver support to the console driver. Update #3433.
Diffstat (limited to 'bsps/riscv/riscv/include/dev/serial/htif.h')
-rw-r--r--bsps/riscv/riscv/include/dev/serial/htif.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/bsps/riscv/riscv/include/dev/serial/htif.h b/bsps/riscv/riscv/include/dev/serial/htif.h
index c200a6f388..b0d83652b7 100644
--- a/bsps/riscv/riscv/include/dev/serial/htif.h
+++ b/bsps/riscv/riscv/include/dev/serial/htif.h
@@ -41,13 +41,9 @@ void htif_console_context_init(
int device_tree_node
);
-void htif_console_write_polled(
- rtems_termios_device_context *base,
- const char *buf,
- size_t len
-);
+void htif_console_putchar(rtems_termios_device_context *base, char c);
-int htif_console_poll_char(rtems_termios_device_context *base);
+int htif_console_getchar(rtems_termios_device_context *base);
const rtems_termios_device_handler htif_console_handler;