1
0
Fork 0

arm64: export __hyp_stub_vectors

External hypervisors, like Jailhouse, need this address when they are
deactivated, in order to restore original state.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
5.4-rM2-2.2.x-imx-squashed
Peng Fan 2019-11-15 17:07:52 +08:00 committed by Dong Aisheng
parent 81632e4d97
commit 9603b91376
2 changed files with 3 additions and 0 deletions

View File

@ -62,6 +62,8 @@
*/
extern u32 __boot_cpu_mode[2];
extern char __hyp_stub_vectors[];
void __hyp_set_vectors(phys_addr_t phys_vector_base);
void __hyp_reset_vectors(void);

View File

@ -42,6 +42,7 @@ ENTRY(__hyp_stub_vectors)
ventry el1_fiq_invalid // FIQ 32-bit EL1
ventry el1_error_invalid // Error 32-bit EL1
ENDPROC(__hyp_stub_vectors)
EXPORT_SYMBOL(__hyp_stub_vectors);
.align 11