Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/drivers/niagara.c

    r7da160b r8e33e1d  
    104104static inline void do_putchar(const char c) {
    105105        /* repeat until the buffer is non-full */
    106         while (__hypercall_fast1(CONS_PUTCHAR, c) == HV_EWOULDBLOCK)
     106        while (__hypercall_fast1(CONS_PUTCHAR, c) == EWOULDBLOCK)
    107107                ;
    108108}
     
    111111static void niagara_putchar(outdev_t *dev, const wchar_t ch, bool silent)
    112112{
    113         if (silent)
    114             return;
    115 
    116113        do_putchar(ch);
    117114        if (ch == '\n')
     
    139136
    140137        /* 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) {
    142139                if (!silent) {
    143140                        /* kconsole active, send the character to kernel */
Note: See TracChangeset for help on using the changeset viewer.