summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/platform/ring0/defs.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-11-03 11:19:04 -0800
committergVisor bot <gvisor-bot@google.com>2020-11-03 11:19:04 -0800
commit861c11bfa7c7c27df0f0daa9dc5ee526ba155ea8 (patch)
tree090b69de05628d5e2118bc8e4a446bb98f592aa9 /pkg/sentry/platform/ring0/defs.go
parent66d24bb69228ef264de51c8306785780874ebdc3 (diff)
parent3425485b7c47861422c8bf285635d11911035383 (diff)
Merge pull request #3617 from laijs:upperhalf
PiperOrigin-RevId: 340484823
Diffstat (limited to 'pkg/sentry/platform/ring0/defs.go')
-rw-r--r--pkg/sentry/platform/ring0/defs.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/sentry/platform/ring0/defs.go b/pkg/sentry/platform/ring0/defs.go
index e6daf24df..f9765771e 100644
--- a/pkg/sentry/platform/ring0/defs.go
+++ b/pkg/sentry/platform/ring0/defs.go
@@ -23,6 +23,9 @@ import (
//
// This contains global state, shared by multiple CPUs.
type Kernel struct {
+ // PageTables are the kernel pagetables; this must be provided.
+ PageTables *pagetables.PageTables
+
KernelArchState
}