Changeset aa85487 in mainline for kernel/arch/sparc64/src/drivers/niagara.c
- Timestamp:
- 2010-03-07T15:11:56Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
- Children:
- aadf01e
- Parents:
- 2e99277 (diff), 137691a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/drivers/niagara.c
r2e99277 raa85487 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.