Changes in kernel/arch/sparc64/src/drivers/niagara.c [8e33e1d:7da160b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/drivers/niagara.c
r8e33e1d r7da160b 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) == EWOULDBLOCK)106 while (__hypercall_fast1(CONS_PUTCHAR, c) == HV_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 113 116 do_putchar(ch); 114 117 if (ch == '\n') … … 136 139 137 140 /* read character from keyboard, send it to upper layers of HelenOS */ 138 if (__hypercall_fast_ret1(0, 0, 0, 0, 0, CONS_GETCHAR, &c) == EOK) {141 if (__hypercall_fast_ret1(0, 0, 0, 0, 0, CONS_GETCHAR, &c) == HV_EOK) { 139 142 if (!silent) { 140 143 /* kconsole active, send the character to kernel */
Note:
See TracChangeset
for help on using the changeset viewer.