summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/arch/arch_amd64_state_autogen.go
blob: 73c523c9028944cd0f41be02bb9c14caf2820b55 (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("pkg/sentry/arch.context64", (*context64)(nil), state.Fns{Save: (*context64).save, Load: (*context64).load})
}