summaryrefslogtreecommitdiffhomepage
path: root/pkg/ring0/defs_impl_arm64.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-03-24 01:53:34 +0000
committergVisor bot <gvisor-bot@google.com>2021-03-24 01:53:34 +0000
commit6d6d1361a87d19477c9f035405065fc9b714ef73 (patch)
tree72689e458f56eeb2268d4c02f7a64fdad4443cc3 /pkg/ring0/defs_impl_arm64.go
parent8e2958434d9fb2d8dc75cd3942be4c90b5c9d7d3 (diff)
parent56a9a13976ad800a8a34b194d35f0169d0a0bb23 (diff)
Merge release-20210315.0-18-g56a9a1397 (automated)
Diffstat (limited to 'pkg/ring0/defs_impl_arm64.go')
-rw-r--r--pkg/ring0/defs_impl_arm64.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/ring0/defs_impl_arm64.go b/pkg/ring0/defs_impl_arm64.go
index 34d687611..578c6b822 100644
--- a/pkg/ring0/defs_impl_arm64.go
+++ b/pkg/ring0/defs_impl_arm64.go
@@ -8,6 +8,7 @@ import (
"fmt"
"gvisor.dev/gvisor/pkg/ring0/pagetables"
"gvisor.dev/gvisor/pkg/sentry/arch"
+ "gvisor.dev/gvisor/pkg/sentry/arch/fpu"
"gvisor.dev/gvisor/pkg/usermem"
"io"
"reflect"
@@ -195,7 +196,7 @@ type SwitchOpts struct {
// FloatingPointState is a byte pointer where floating point state is
// saved and restored.
- FloatingPointState *byte
+ FloatingPointState *fpu.State
// PageTables are the application page tables.
PageTables *pagetables.PageTables