mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
@@ -62,9 +62,10 @@ func LoadFloatingPoint(*byte)
|
||||
// SaveFloatingPoint saves floating point state.
|
||||
func SaveFloatingPoint(*byte)
|
||||
|
||||
// FPSIMDDisableTrap disables fpsimd.
|
||||
func FPSIMDDisableTrap()
|
||||
|
||||
// DisableVFP disables fpsimd.
|
||||
// FPSIMDEnableTrap enables fpsimd.
|
||||
func FPSIMDEnableTrap()
|
||||
|
||||
// Init sets function pointers based on architectural features.
|
||||
|
||||
@@ -58,6 +58,8 @@ func (s *State) Fork() State {
|
||||
}
|
||||
|
||||
// BytePointer returns a pointer to the first byte of the state.
|
||||
//
|
||||
//go:nosplit
|
||||
func (s *State) BytePointer() *byte {
|
||||
return &(*s)[0]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user