Changeset 28a5ebd in mainline for kernel/arch/riscv64
- Timestamp:
- 2020-06-18T15:39:50Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ce52c333
- Parents:
- 4f663f3e
- Location:
- kernel/arch/riscv64
- Files:
-
- 3 edited
-
include/arch/drivers/ucb.h (modified) (1 diff)
-
src/asm.S (modified) (1 diff)
-
src/drivers/ucb.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/riscv64/include/arch/drivers/ucb.h
r4f663f3e r28a5ebd 42 42 extern void htif_init(volatile uint64_t *, volatile uint64_t *); 43 43 extern outdev_t *htifout_init(void); 44 extern void htif_put wchar(outdev_t *, const wchar_t);44 extern void htif_putuchar(outdev_t *, const char32_t); 45 45 46 46 #endif -
kernel/arch/riscv64/src/asm.S
r4f663f3e r28a5ebd 35 35 FUNCTION_END(asm_delay_loop) 36 36 37 FUNCTION_BEGIN(early_put wchar)37 FUNCTION_BEGIN(early_putuchar) 38 38 ret 39 FUNCTION_END(early_put wchar)39 FUNCTION_END(early_putuchar) 40 40 41 41 FUNCTION_BEGIN(cpu_halt) -
kernel/arch/riscv64/src/drivers/ucb.c
r4f663f3e r28a5ebd 42 42 43 43 static outdev_operations_t htifdev_ops = { 44 .write = htif_put wchar,44 .write = htif_putuchar, 45 45 .redraw = NULL, 46 46 .scroll_up = NULL, … … 85 85 } 86 86 87 void htif_put wchar(outdev_t *dev, const wchar_t ch)87 void htif_putuchar(outdev_t *dev, const char32_t ch) 88 88 { 89 89 if (ascii_check(ch))
Note:
See TracChangeset
for help on using the changeset viewer.
