Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333738
b: refs/heads/master
c: 2a552d5
h: refs/heads/master
v: v3
  • Loading branch information
Marc Zyngier authored and Russell King committed Oct 9, 2012
1 parent ca61a84 commit 540a4c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 648f3b69986b4d0ade57e59504a431b973ce2875
refs/heads/master: 2a552d5e63d7fa602c9a9a0717008737f55625a6
9 changes: 5 additions & 4 deletions trunk/arch/arm/include/asm/assembler.h
Original file line number Diff line number Diff line change
Expand Up @@ -254,16 +254,17 @@
mov lr , \reg
and lr , lr , #MODE_MASK
cmp lr , #HYP_MODE
orr \reg , \reg , #PSR_A_BIT | PSR_I_BIT | PSR_F_BIT
orr \reg , \reg , #PSR_I_BIT | PSR_F_BIT
bic \reg , \reg , #MODE_MASK
orr \reg , \reg , #SVC_MODE
THUMB( orr \reg , \reg , #PSR_T_BIT )
msr spsr_cxsf, \reg
adr lr, BSYM(2f)
bne 1f
orr \reg, \reg, #PSR_A_BIT
adr lr, BSYM(2f)
msr spsr_cxsf, \reg
__MSR_ELR_HYP(14)
__ERET
1: movs pc, lr
1: msr cpsr_c, \reg
2:
.endm

Expand Down

0 comments on commit 540a4c2

Please sign in to comment.