diff options
Diffstat (limited to 'src/thread/ppc')
-rw-r--r-- | src/thread/ppc/__unmapself.S | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/thread/ppc/__unmapself.S b/src/thread/ppc/__unmapself.S new file mode 100644 index 00000000..e14663e7 --- /dev/null +++ b/src/thread/ppc/__unmapself.S @@ -0,0 +1,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 |