summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/platform/kvm/testutil/BUILD
diff options
context:
space:
mode:
authorBin Lu <bin.lu@arm.com>2019-09-05 06:52:29 +0000
committerBin Lu <bin.lu@arm.com>2019-09-18 09:57:59 +0000
commit8e73e2cec5f9f766387d980314d1f7a851fc7eef (patch)
tree6bbab3654a82235d9dbd2f95e9b3651053c0bbd7 /pkg/sentry/platform/kvm/testutil/BUILD
parentf225fdbbe77c2017225517adcf67df70fcf8e36e (diff)
enable kvm/testutil to support arm64
enable kvm/testutil to support arm64 The Arm64 user-mode execution stat consists of: 1, X0- X30 2, PC, SP, PSTATE 3, TPIDR_EL0, used for TLS 4, V0-V31: 32 128-bit registers for floating point and simd 5, FPSR Currently, we first try to achieve goals 1 and 2. This patch provids basic test utils for goals 1 & 2 Signed-off-by: Bin Lu <bin.lu@arm.com>
Diffstat (limited to 'pkg/sentry/platform/kvm/testutil/BUILD')
-rw-r--r--pkg/sentry/platform/kvm/testutil/BUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/sentry/platform/kvm/testutil/BUILD b/pkg/sentry/platform/kvm/testutil/BUILD
index 77a449a8b..b0e45f159 100644
--- a/pkg/sentry/platform/kvm/testutil/BUILD
+++ b/pkg/sentry/platform/kvm/testutil/BUILD
@@ -9,6 +9,8 @@ go_library(
"testutil.go",
"testutil_amd64.go",
"testutil_amd64.s",
+ "testutil_arm64.go",
+ "testutil_arm64.s",
],
importpath = "gvisor.dev/gvisor/pkg/sentry/platform/kvm/testutil",
visibility = ["//pkg/sentry/platform/kvm:__pkg__"],