summaryrefslogblamecommitdiff
path: root/src/thread/sh/__unmapself.s
blob: b34c3c804de0432184a7133ebedf3110ad329c79 (plain) (tree)





















                                   
.text
.global __unmapself
.type   __unmapself, @function
__unmapself:
	mov   #91, r3  ! SYS_munmap
	trapa #18

	or    r0, r0
	or    r0, r0
	or    r0, r0
	or    r0, r0
	or    r0, r0

	mov   #1, r3   ! SYS_exit
	mov   #0, r4
	trapa #17

	or    r0, r0
	or    r0, r0
	or    r0, r0
	or    r0, r0
	or    r0, r0