diff options
Diffstat (limited to 'src/thread/or1k/__unmapself.s')
-rw-r--r-- | src/thread/or1k/__unmapself.s | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/thread/or1k/__unmapself.s b/src/thread/or1k/__unmapself.s new file mode 100644 index 00000000..6c0fa2ac --- /dev/null +++ b/src/thread/or1k/__unmapself.s @@ -0,0 +1,8 @@ +.global __unmapself +.type __unmapself,@function +__unmapself: + l.ori r11, r0, 215 /* __NR_munmap */ + l.sys 1 + l.ori r3, r0, 0 + l.ori r11, r0, 93 /* __NR_exit */ + l.sys 1 |