diff options
Diffstat (limited to 'src/thread/sh/__unmapself_mmu.s')
-rw-r--r-- | src/thread/sh/__unmapself_mmu.s | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/thread/sh/__unmapself_mmu.s b/src/thread/sh/__unmapself_mmu.s new file mode 100644 index 00000000..0161d53d --- /dev/null +++ b/src/thread/sh/__unmapself_mmu.s @@ -0,0 +1,22 @@ +.text +.global __unmapself_sh_mmu +.type __unmapself_sh_mmu, @function +__unmapself_sh_mmu: + mov #91, r3 ! SYS_munmap + trapa #31 + + or r0, r0 + or r0, r0 + or r0, r0 + or r0, r0 + or r0, r0 + + mov #1, r3 ! SYS_exit + mov #0, r4 + trapa #31 + + or r0, r0 + or r0, r0 + or r0, r0 + or r0, r0 + or r0, r0 |