summaryrefslogtreecommitdiff
path: root/src/thread/microblaze/__unmapself.s
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-09-29 01:05:31 -0400
committerRich Felker <dalias@aerifal.cx>2012-09-29 01:05:31 -0400
commit8c0a3d9e5c169fc9d0f246ab59362b658b029ad7 (patch)
tree6ac54202768db511e8bb959d85060adb98cbf226 /src/thread/microblaze/__unmapself.s
parente0ea44cb764fcdbe8515f22096930bede2c7896f (diff)
downloadmusl-8c0a3d9e5c169fc9d0f246ab59362b658b029ad7.tar.gz
microblaze port
based on initial work by rdp, with heavy modifications. some features including threads are untested because qemu app-level emulation seems to be broken and I do not have a proper system image for testing.
Diffstat (limited to 'src/thread/microblaze/__unmapself.s')
-rw-r--r--src/thread/microblaze/__unmapself.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/thread/microblaze/__unmapself.s b/src/thread/microblaze/__unmapself.s
new file mode 100644
index 00000000..b180de60
--- /dev/null
+++ b/src/thread/microblaze/__unmapself.s
@@ -0,0 +1,8 @@
+.global __unmapself
+.type __unmapself,@function
+__unmapself:
+ ori r12, r0, 91
+ brki r14, 0x8
+ ori r12, r0, 1
+ brki r14, 0x8
+ nop