summaryrefslogtreecommitdiff
path: root/sys/arch/arm64/include
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2018-01-04 14:30:09 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2018-01-04 14:30:09 +0000
commite320df4527999e14b6082e03c1be697051a48df8 (patch)
tree7ade71e9d0a8053588fa1fb576e69a9bbe4bd4d4 /sys/arch/arm64/include
parentc958d05fc1cde30074d5123466f1bedf54e5f926 (diff)
Implement support for calling EFI runtime services and use it to implement
a time-of-day clock device based on the GetTime() and SetTime() services. The virtual memory mappings for the runtime services calls are implemented through a separate pmap that is only activated when we make a runtime services call. ok tom@, visa@ tested by naddy@
Diffstat (limited to 'sys/arch/arm64/include')
-rw-r--r--sys/arch/arm64/include/pmap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/arm64/include/pmap.h b/sys/arch/arm64/include/pmap.h
index e4024d2ef0a..0c16ae9eaaf 100644
--- a/sys/arch/arm64/include/pmap.h
+++ b/sys/arch/arm64/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.7 2017/12/31 08:42:04 kettenis Exp $ */
+/* $OpenBSD: pmap.h,v 1.8 2018/01/04 14:30:08 kettenis Exp $ */
/*
* Copyright (c) 2008,2009,2014 Dale Rahn <drahn@dalerahn.com>
*
@@ -71,6 +71,7 @@ struct pmap {
} pm_vp;
uint64_t pm_pt0pa;
int have_4_level_pt;
+ int pm_privileged;
int pm_asid;
int pm_refs; /* ref count */
struct pmap_statistics pm_stats; /* pmap statistics */