Ignore:
Timestamp:
2010-02-23T21:42:05Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b905002
Parents:
68acf21
Message:

Differentiate between the hypervisor error codes and HelenOS error codes by
using the HV_ prefix for the former.

File:
1 edited

Legend:

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

    r68acf21 r7da160b  
    104104static inline void do_putchar(const char c) {
    105105        /* repeat until the buffer is non-full */
    106         while (__hypercall_fast1(CONS_PUTCHAR, c) == EWOULDBLOCK)
     106        while (__hypercall_fast1(CONS_PUTCHAR, c) == HV_EWOULDBLOCK)
    107107                ;
    108108}
     
    139139
    140140        /* read character from keyboard, send it to upper layers of HelenOS */
    141         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) {
    142142                if (!silent) {
    143143                        /* kconsole active, send the character to kernel */
Note: See TracChangeset for help on using the changeset viewer.