Changeset 679dc0c in mainline for kernel/arch/sparc32/src/exception.c


Ignore:
Timestamp:
2013-11-11T12:28:25Z (10 years ago)
Author:
Jakub Klama <jakub.klama@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bf677f6
Parents:
3d1956b
Message:
  • Save %g1-%g4 to the stack in trap handlers.
  • Fix CWP calculation issues (overflows)
  • Implement 'present' bit in userspace window mark
File:
1 edited

Legend:

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

    r3d1956b r679dc0c  
    140140}
    141141
    142 void syscall(sysarg_t a1, sysarg_t a2, sysarg_t a3, sysarg_t a4, sysarg_t a5, sysarg_t a6, sysarg_t id)
     142sysarg_t syscall(sysarg_t a1, sysarg_t a2, sysarg_t a3, sysarg_t a4, sysarg_t a5, sysarg_t a6, sysarg_t id)
    143143{
    144144        printf("syscall %d\n", id);
    145         syscall_handler(a1, a2, a3, a4, a5, a6, id);
     145        printf("args: 0x%08x 0x%08x 0x%08x 0x%08x 0x%08x 0x%08x\n", a1, a2, a3, a4, a5, a6);
     146        return syscall_handler(a1, a2, a3, a4, a5, a6, id);
    146147}
    147148
Note: See TracChangeset for help on using the changeset viewer.