Rev 2329 | Rev 2344 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2329 | Rev 2341 | ||
---|---|---|---|
Line 257... | Line 257... | ||
257 | * |
257 | * |
258 | * Dispatches the syscall. |
258 | * Dispatches the syscall. |
259 | */ |
259 | */ |
260 | static void swi_exception(int exc_no, istate_t *istate) |
260 | static void swi_exception(int exc_no, istate_t *istate) |
261 | { |
261 | { |
- | 262 | /* |
|
262 | dprintf("SYSCALL: r0-r4: %x, %x, %x, %x, %x; pc: %x\n", istate->r0, |
263 | dprintf("SYSCALL: r0-r4: %x, %x, %x, %x, %x; pc: %x\n", istate->r0, |
263 | istate->r1, istate->r2, istate->r3, istate->r4, istate->pc); |
264 | istate->r1, istate->r2, istate->r3, istate->r4, istate->pc); |
- | 265 | */ |
|
264 | 266 | ||
265 | istate->r0 = syscall_handler( |
267 | istate->r0 = syscall_handler( |
266 | istate->r0, |
268 | istate->r0, |
267 | istate->r1, |
269 | istate->r1, |
268 | istate->r2, |
270 | istate->r2, |