diff options
author | Adin Scannell <ascannell@google.com> | 2018-06-06 21:47:39 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-06-06 21:48:24 -0700 |
commit | 1b5062263b4a3ca3dc0271d9e06ad0113197344c (patch) | |
tree | 69d6536240ffa1db76aaef0d4f3a873d86a0dfaf /pkg/sentry/platform/ring0/pagetables/BUILD | |
parent | 206e90d057211f2ac53174907b2ff04801f9a481 (diff) |
Add allocator abstraction for page tables.
In order to prevent possible garbage collection and reuse of page table
pages prior to invalidation, introduce a former allocator abstraction
that can ensure entries are held during a single traversal. This also
cleans up the abstraction and splits it out of the machine itself.
PiperOrigin-RevId: 199581636
Change-Id: I2257d5d7ffd9c36f9b7ecd42f769261baeaf115c
Diffstat (limited to 'pkg/sentry/platform/ring0/pagetables/BUILD')
-rw-r--r-- | pkg/sentry/platform/ring0/pagetables/BUILD | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/sentry/platform/ring0/pagetables/BUILD b/pkg/sentry/platform/ring0/pagetables/BUILD index 1a8b7931e..768f96678 100644 --- a/pkg/sentry/platform/ring0/pagetables/BUILD +++ b/pkg/sentry/platform/ring0/pagetables/BUILD @@ -5,9 +5,10 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "pagetables", srcs = [ + "allocator.go", + "allocator_unsafe.go", "pagetables.go", "pagetables_amd64.go", - "pagetables_unsafe.go", "pagetables_x86.go", "pcids_x86.go", ], |