Date: Tue, 7 Jul 2015 12:17:41 GMT From: mihai@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r288061 - soc2015/mihai/bhyve-on-arm-head/sys/arm/arm Message-ID: <201507071217.t67CHfLM073816@socsvn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mihai Date: Tue Jul 7 12:17:40 2015 New Revision: 288061 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=288061 Log: soc2015: mihai: bhyve-on-arm: sys: arm: arm: hypervisor-stub: set variable if hyp avail Modified: soc2015/mihai/bhyve-on-arm-head/sys/arm/arm/hypervisor-stub.S Modified: soc2015/mihai/bhyve-on-arm-head/sys/arm/arm/hypervisor-stub.S ============================================================================== --- soc2015/mihai/bhyve-on-arm-head/sys/arm/arm/hypervisor-stub.S Tue Jul 7 09:25:51 2015 (r288060) +++ soc2015/mihai/bhyve-on-arm-head/sys/arm/arm/hypervisor-stub.S Tue Jul 7 12:17:40 2015 (r288061) @@ -12,6 +12,7 @@ mrs r0, cpsr and r0, r0, #(PSR_MODE) cmp r0, #(PSR_HYP32_MODE) + mov r0, #-1 movne pc, lr /* Install hypervisor stub vectors. */ @@ -30,6 +31,7 @@ and r0, #0x1f @ Preserve HPMN mcr p15, 4, r0, c1, c1, 1 @ HDCR + mov r0, #0 mov pc, lr END(hypervisor_stub_vect_install)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507071217.t67CHfLM073816>