summaryrefslogtreecommitdiff
path: root/src/thread/ppc/__unmapself.S
blob: e14663e7fb46557073e358cae7830626175ea886 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <bits/asm.h>
#include <bits/syscall.h>
        .text
        .global __unmapself
        .type   __unmapself,%function
__unmapself:
        li      r0, __NR_munmap
        sc
        li      r0, __NR_exit
        sc
        blr