summaryrefslogtreecommitdiffhomepage
path: root/Private/DriverKit/KernelDispatchCall.S
blob: 4eec8ae08e56360e18f4e32ab4d882a122b68506 (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:
    mflr 3
    sc
    blr

#endif