blob: c431519e7a81b7ed7d73cb306715e0220b229060 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// automatically generated by stateify.
// +build amd64
// +build amd64
// +build amd64
package arch
import (
"gvisor.dev/gvisor/pkg/state"
)
func (x *context64) beforeSave() {}
func (x *context64) save(m state.Map) {
x.beforeSave()
m.Save("State", &x.State)
m.Save("sigFPState", &x.sigFPState)
}
func (x *context64) afterLoad() {}
func (x *context64) load(m state.Map) {
m.Load("State", &x.State)
m.Load("sigFPState", &x.sigFPState)
}
func init() {
state.Register("arch.context64", (*context64)(nil), state.Fns{Save: (*context64).save, Load: (*context64).load})
}
|