Rev 959 | Rev 1702 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 959 | Rev 1100 | ||
|---|---|---|---|
| Line 58... | Line 58... | ||
| 58 | * - disable interrupts, until we exchange the stack register |
58 | * - disable interrupts, until we exchange the stack register |
| 59 | * (mask the IE bit) |
59 | * (mask the IE bit) |
| 60 | */ |
60 | */ |
| 61 | write_msr(AMD_MSR_SFMASK, 0x200); |
61 | write_msr(AMD_MSR_SFMASK, 0x200); |
| 62 | } |
62 | } |
| 63 | - | ||
| 64 | /** Dispatch system call */ |
- | |
| 65 | __native syscall_handler(__native a1, __native a2, __native a3, |
- | |
| 66 | __native a4, __native id) |
- | |
| 67 | { |
- | |
| 68 | if (id < SYSCALL_END) |
- | |
| 69 | return syscall_table[id](a1,a2,a3,a4); |
- | |
| 70 | else |
- | |
| 71 | panic("Undefined syscall %d", id); |
- | |
| 72 | } |
- | |