about summary refs log tree commit diff
path: root/src/thread/arm/__set_thread_area.s
blob: 63d8884fae421746c9507a076feab27a936b2bd8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
.text
.global __set_thread_area
.type   __set_thread_area,%function
__set_thread_area:
	mov r1,r7
	mov r7,#0x0f0000
	add r7,r7,#5
	svc 0
	mov r7,r1
	tst lr,#1
	moveq pc,lr
	bx lr