|
@@ -202,12 +202,7 @@ ARM_BE8(orr r7, r7, #(1 << 25)) @ HSCTLR.EE
|
|
|
ENDPROC(__hyp_stub_install_secondary)
|
|
|
|
|
|
__hyp_stub_do_trap:
|
|
|
- teq r0, #HVC_GET_VECTORS
|
|
|
- bne 1f
|
|
|
- mrc p15, 4, r0, c12, c0, 0 @ get HVBAR
|
|
|
- b __hyp_stub_exit
|
|
|
-
|
|
|
-1: teq r0, #HVC_SET_VECTORS
|
|
|
+ teq r0, #HVC_SET_VECTORS
|
|
|
bne 1f
|
|
|
mcr p15, 4, r1, c12, c0, 0 @ set HVBAR
|
|
|
b __hyp_stub_exit
|
|
@@ -247,12 +242,6 @@ ENDPROC(__hyp_stub_do_trap)
|
|
|
* so you will need to set that to something sensible at the new hypervisor's
|
|
|
* initialisation entry point.
|
|
|
*/
|
|
|
-ENTRY(__hyp_get_vectors)
|
|
|
- mov r0, #HVC_GET_VECTORS
|
|
|
- __HVC(0)
|
|
|
- ret lr
|
|
|
-ENDPROC(__hyp_get_vectors)
|
|
|
-
|
|
|
ENTRY(__hyp_set_vectors)
|
|
|
mov r1, r0
|
|
|
mov r0, #HVC_SET_VECTORS
|