summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/platform/ring0/defs.go
diff options
context:
space:
mode:
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
}