diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-12-18 23:05:19 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-12-18 23:05:19 +0000 |
commit | b34273a1aad17a048fe09d090288640ee8cb89fd (patch) | |
tree | 823e0368683d60dacbd48a0f9842db9d994c4c61 /pkg/sentry/platform/ring0/lib_arm64.go | |
parent | e7ffad9cfecc6bf0f3e674af1137598d281211c8 (diff) | |
parent | ac3b3bb40e596e507a09d850e35a26e0871109c4 (diff) |
Merge release-20191210.0-54-gac3b3bb (automated)
Diffstat (limited to 'pkg/sentry/platform/ring0/lib_arm64.go')
-rwxr-xr-x | pkg/sentry/platform/ring0/lib_arm64.go | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/pkg/sentry/platform/ring0/lib_arm64.go b/pkg/sentry/platform/ring0/lib_arm64.go index 900ee6380..8bcfe1032 100755 --- a/pkg/sentry/platform/ring0/lib_arm64.go +++ b/pkg/sentry/platform/ring0/lib_arm64.go @@ -16,10 +16,24 @@ package ring0 -// LoadFloatingPoint loads floating point state by the most efficient mechanism -// available (set by Init). -var LoadFloatingPoint func(*byte) +// CPACREL1 returns the value of the CPACR_EL1 register. +func CPACREL1() (value uintptr) -// SaveFloatingPoint saves floating point state by the most efficient mechanism -// available (set by Init). -var SaveFloatingPoint func(*byte) +// FPCR returns the value of FPCR register. +func FPCR() (value uintptr) + +// SetFPCR writes the FPCR value. +func SetFPCR(value uintptr) + +// FPSR returns the value of FPSR register. +func FPSR() (value uintptr) + +// SetFPSR writes the FPSR value. +func SetFPSR(value uintptr) + +// SaveVRegs saves V0-V31 registers. +// V0-V31: 32 128-bit registers for floating point and simd. +func SaveVRegs(*byte) + +// LoadVRegs loads V0-V31 registers. +func LoadVRegs(*byte) |