Ignore:
Timestamp:
2006-09-14T17:09:21Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f1d1f5d3
Parents:
e5ecc02
Message:

C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/trap/syscall.c

    re5ecc02 r06e1e95  
    4343unative_t syscall(int n, istate_t *istate, unative_t a1, unative_t a2, unative_t a3, unative_t a4)
    4444{
    45         if (n >= TT_TRAP_INSTRUCTION(0) && n <= TT_TRAP_INSTRUCTION_LAST)
    46                 return syscall_table[n - TT_TRAP_INSTRUCTION(0)](a1, a2, a3, a4);
    47         else
    48                 panic("Undefined syscall %d\n", n - TT_TRAP_INSTRUCTION(0));
     45        return syscall_handler(a1, a2, a3, a4, n - TT_TRAP_INSTRUCTION(0));
    4946}
    5047
Note: See TracChangeset for help on using the changeset viewer.