Changes in kernel/arch/sparc64/src/drivers/niagara.c [7da160b:8e33e1d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/drivers/niagara.c
r7da160b r8e33e1d 104 104 static inline void do_putchar(const char c) { 105 105 /* repeat until the buffer is non-full */ 106 while (__hypercall_fast1(CONS_PUTCHAR, c) == HV_EWOULDBLOCK)106 while (__hypercall_fast1(CONS_PUTCHAR, c) == EWOULDBLOCK) 107 107 ; 108 108 } … … 111 111 static void niagara_putchar(outdev_t *dev, const wchar_t ch, bool silent) 112 112 { 113 if (silent)114 return;115 116 113 do_putchar(ch); 117 114 if (ch == '\n') … … 139 136 140 137 /* read character from keyboard, send it to upper layers of HelenOS */ 141 if (__hypercall_fast_ret1(0, 0, 0, 0, 0, CONS_GETCHAR, &c) == HV_EOK) {138 if (__hypercall_fast_ret1(0, 0, 0, 0, 0, CONS_GETCHAR, &c) == EOK) { 142 139 if (!silent) { 143 140 /* kconsole active, send the character to kernel */
Note:
See TracChangeset
for help on using the changeset viewer.