diff options
Diffstat (limited to 'src/thread/powerpc/__set_thread_area.s')
-rw-r--r-- | src/thread/powerpc/__set_thread_area.s | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/thread/powerpc/__set_thread_area.s b/src/thread/powerpc/__set_thread_area.s new file mode 100644 index 00000000..c1a34c1f --- /dev/null +++ b/src/thread/powerpc/__set_thread_area.s @@ -0,0 +1,11 @@ +.text +.global __set_thread_area +.type __set_thread_area, %function +__set_thread_area: + # mov pointer in reg3 into r2 + mr 2, 3 + # put 0 into return reg + li 3, 0 + # return + blr + |