git.ucc.asn.au
/
tpg
/
acess2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Usermode/libposix - Fixed bug in getpass (didn't trim \n)
[tpg/acess2.git]
/
Usermode
/
Libraries
/
libc.so_src
/
arch
/
armv7.S
1
@
2
@ Acess2 C Library
3
@ - By John Hodge (thePowersGang)
4
@
5
@ arch/armv7.S
6
@ - ARMv7 specific code
7
.globl setjmp
8
setjmp:
9
@ RO: Buffer
10
stm r0, {r0-r14}
11
eor r0, r0
12
mov pc, lr
13
14
.globl longjmp
15
longjmp:
16
@ R0: Buffer
17
@ R1: Value
18
add r0, #8
19
ldm r0, {r2-r14}
20
mov r0, r1
21
tst r0, r0
22
addeq r0, #1
23
mov pc, lr @ Will return to after setjmp
24
UCC
git Repository :: git.ucc.asn.au