Clean up the style of the LEAVE_HYP macro.
This commit is contained in:
parent
98d3afa551
commit
f05a5be590
@ -73,7 +73,7 @@ __FBSDID("$FreeBSD$");
|
|||||||
and r0, r0, #(PSR_MODE) /* Mode is in the low 5 bits of CPSR */ ;\
|
and r0, r0, #(PSR_MODE) /* Mode is in the low 5 bits of CPSR */ ;\
|
||||||
teq r0, #(PSR_HYP32_MODE) /* Hyp Mode? */ ;\
|
teq r0, #(PSR_HYP32_MODE) /* Hyp Mode? */ ;\
|
||||||
bne 1f ;\
|
bne 1f ;\
|
||||||
/* Ensure that IRQ, FIQ and Aborts will be disabled after eret */;\
|
/* Ensure that IRQ, FIQ and Aborts will be disabled after eret */ ;\
|
||||||
mrs r0, spsr ;\
|
mrs r0, spsr ;\
|
||||||
orr r0, r0, #(PSR_I | PSR_F | PSR_A) ;\
|
orr r0, r0, #(PSR_I | PSR_F | PSR_A) ;\
|
||||||
msr spsr, r0 ;\
|
msr spsr, r0 ;\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user