From cedff8d3aef3bc2055b1a7c3ad47a4c8297367ea Mon Sep 17 00:00:00 2001 From: Haibo Xu Date: Wed, 30 Jan 2019 11:48:02 -0800 Subject: Add muldiv/rd_tsc support for arm64 platform. Signed-off-by: Haibo Xu Change-Id: If35459be78e023346a140184401172f8e023c7f9 PiperOrigin-RevId: 231638020 --- pkg/sentry/time/BUILD | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'pkg/sentry/time/BUILD') diff --git a/pkg/sentry/time/BUILD b/pkg/sentry/time/BUILD index 5dadb8a2d..1191010e6 100644 --- a/pkg/sentry/time/BUILD +++ b/pkg/sentry/time/BUILD @@ -1,6 +1,6 @@ load("//tools/go_stateify:defs.bzl", "go_library", "go_test") -package(licenses = ["notice"]) # Apache 2.0 +package(licenses = ["notice"]) # Apache 2.0, portions BSD load("//tools/go_generics:defs.bzl", "go_template_instance") @@ -18,15 +18,18 @@ go_template_instance( go_library( name = "time", srcs = [ + "arith_arm64.go", "calibrated_clock.go", "clock_id.go", "clocks.go", "muldiv_amd64.s", + "muldiv_arm64.s", "parameters.go", "sampler.go", "sampler_unsafe.go", "seqatomic_parameters.go", "tsc_amd64.s", + "tsc_arm64.s", ], importpath = "gvisor.googlesource.com/gvisor/pkg/sentry/time", visibility = ["//pkg/sentry:internal"], -- cgit v1.2.3