Changeset 13c94f7 in mainline for kernel/arch/sparc32/src/exception.c


Ignore:
Timestamp:
2013-10-15T17:54:23Z (11 years ago)
Author:
Jakub Klama <jakub.klama@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d783145
Parents:
e76fed9
Message:
  • Further work on preemptible trap handlers
  • Implemented page fault handling
  • Initial syscall and userspace support
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc32/src/exception.c

    re76fed9 r13c94f7  
    3939#include <arch/istate.h>
    4040#include <arch/exception.h>
     41#include <syscall/syscall.h>
    4142#include <interrupt.h>
    4243#include <arch/asm.h>
     
    139140}
    140141
     142void syscall(sysarg_t a1, sysarg_t a2, sysarg_t a3, sysarg_t a4, sysarg_t a5, sysarg_t a6, sysarg_t id)
     143{
     144        printf("syscall %d\n", id);
     145        syscall_handler(a1, a2, a3, a4, a5, a6, id);
     146}
     147
    141148/** @}
    142149 */
Note: See TracChangeset for help on using the changeset viewer.