diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2021-02-21 13:14:48 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2021-02-21 13:14:48 +0000 |
commit | 65234032c92181cb58c9cfd7c7dda13077a63836 (patch) | |
tree | 0d0ec1b70efddf6f6a09e3c5e369ce0c38e18a09 /sys/arch/arm64/include | |
parent | f85deff41e2f1b07e5edb89168814eb0f9a24a60 (diff) |
One CPUs that implement the VHE extension and have the E2H bit set, keep
running the kernel in EL2.
ok patrick@
Diffstat (limited to 'sys/arch/arm64/include')
-rw-r--r-- | sys/arch/arm64/include/hypervisor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/arm64/include/hypervisor.h b/sys/arch/arm64/include/hypervisor.h index 8a7ee6ce4e3..0b91a2afc84 100644 --- a/sys/arch/arm64/include/hypervisor.h +++ b/sys/arch/arm64/include/hypervisor.h @@ -1,4 +1,4 @@ -/* $OpenBSD: hypervisor.h,v 1.2 2016/12/18 14:40:25 patrick Exp $ */ +/* $OpenBSD: hypervisor.h,v 1.3 2021/02/21 13:14:47 kettenis Exp $ */ /*- * Copyright (c) 2013, 2014 Andrew Turner * All rights reserved. @@ -81,6 +81,7 @@ #define HCR_RW 0x0000000080000000 #define HCR_CD 0x0000000100000000 #define HCR_ID 0x0000000200000000 +#define HCR_E2H 0x0000000400000000 #endif |