diff options
author | Bin Lu <bin.lu@arm.com> | 2019-12-24 10:50:05 +0800 |
---|---|---|
committer | Bin Lu <bin.lu@arm.com> | 2019-12-24 10:50:11 +0800 |
commit | 7b83d21856e569742397ab8b0146910eeff1462f (patch) | |
tree | 207424cd0491476ee819ca78c662fa2535e65f0d /pkg/sentry/platform/ring0/pagetables | |
parent | 574e988f2bc6060078a17f37a377441703c52a22 (diff) |
slight changes to ring0&pagetables for Arm64
There are 2 jobs have been finished in this patch:
1, a comment was added to explain the purpose of the extra NOPs in Vectors().
2, some merge errors were fixed.
Signed-off-by: Bin Lu <bin.lu@arm.com>
Diffstat (limited to 'pkg/sentry/platform/ring0/pagetables')
-rw-r--r-- | pkg/sentry/platform/ring0/pagetables/BUILD | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/sentry/platform/ring0/pagetables/BUILD b/pkg/sentry/platform/ring0/pagetables/BUILD index e2e15ba5c..09ecc3b09 100644 --- a/pkg/sentry/platform/ring0/pagetables/BUILD +++ b/pkg/sentry/platform/ring0/pagetables/BUILD @@ -11,7 +11,10 @@ config_setting( go_template( name = "generic_walker", - srcs = ["walker_amd64.go"], + srcs = select({ + ":aarch64": ["walker_arm64.go",], + "//conditions:default": ["walker_amd64.go",], + }), opt_types = [ "Visitor", ], |