blob: 64b6663e3474faf79670c315afca4cf52d8bce4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
.globl __kernelDispatchCall
.section .text
/* Really simple function, takes our va-list,
and brings it to the trap handler in the kernel. */
#ifdef __x86_64__
__kernelDispatchCall:
int $0x33
ret
#elif defined(__powerpc64__)
__kernelDispatchCall:
/* There is no specific interrupt request id for a system call in POWER. */
sc
blr
#endif
|