summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/arch/fpu
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/arch/fpu')
-rw-r--r--pkg/sentry/arch/fpu/BUILD21
-rw-r--r--pkg/sentry/arch/fpu/fpu_amd64_state_autogen.go5
-rw-r--r--pkg/sentry/arch/fpu/fpu_arm64_state_autogen.go5
-rw-r--r--pkg/sentry/arch/fpu/fpu_state_autogen.go3
4 files changed, 13 insertions, 21 deletions
diff --git a/pkg/sentry/arch/fpu/BUILD b/pkg/sentry/arch/fpu/BUILD
deleted file mode 100644
index 4e4f20639..000000000
--- a/pkg/sentry/arch/fpu/BUILD
+++ /dev/null
@@ -1,21 +0,0 @@
-load("//tools:defs.bzl", "go_library")
-
-package(licenses = ["notice"])
-
-go_library(
- name = "fpu",
- srcs = [
- "fpu.go",
- "fpu_amd64.go",
- "fpu_amd64.s",
- "fpu_arm64.go",
- ],
- visibility = ["//:sandbox"],
- deps = [
- "//pkg/cpuid",
- "//pkg/hostarch",
- "//pkg/sync",
- "//pkg/syserror",
- "@org_golang_x_sys//unix:go_default_library",
- ],
-)
diff --git a/pkg/sentry/arch/fpu/fpu_amd64_state_autogen.go b/pkg/sentry/arch/fpu/fpu_amd64_state_autogen.go
new file mode 100644
index 000000000..38db6e6f4
--- /dev/null
+++ b/pkg/sentry/arch/fpu/fpu_amd64_state_autogen.go
@@ -0,0 +1,5 @@
+// automatically generated by stateify.
+
+// +build amd64 i386
+
+package fpu
diff --git a/pkg/sentry/arch/fpu/fpu_arm64_state_autogen.go b/pkg/sentry/arch/fpu/fpu_arm64_state_autogen.go
new file mode 100644
index 000000000..cb7d1ca8a
--- /dev/null
+++ b/pkg/sentry/arch/fpu/fpu_arm64_state_autogen.go
@@ -0,0 +1,5 @@
+// automatically generated by stateify.
+
+// +build arm64
+
+package fpu
diff --git a/pkg/sentry/arch/fpu/fpu_state_autogen.go b/pkg/sentry/arch/fpu/fpu_state_autogen.go
new file mode 100644
index 000000000..7cadc6b8f
--- /dev/null
+++ b/pkg/sentry/arch/fpu/fpu_state_autogen.go
@@ -0,0 +1,3 @@
+// automatically generated by stateify.
+
+package fpu