diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-02-04 22:49:52 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-02-04 22:49:52 +0000 |
commit | 02dbbe7666661b2d78fd7f13f8131f5fb65c8b8c (patch) | |
tree | 9698edaaed21f4815815f9b98430ecd191c17119 /pkg/sentry/arch/arch_amd64_state_autogen.go | |
parent | c6739ff2459aacf18caeead7c521a072ddce146b (diff) | |
parent | 95ce8bb4c7ecb23e47e68c60b1de0b99ad8a856d (diff) |
Merge release-20200127.0-65-g95ce8bb (automated)
Diffstat (limited to 'pkg/sentry/arch/arch_amd64_state_autogen.go')
-rwxr-xr-x | pkg/sentry/arch/arch_amd64_state_autogen.go | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkg/sentry/arch/arch_amd64_state_autogen.go b/pkg/sentry/arch/arch_amd64_state_autogen.go new file mode 100755 index 000000000..c431519e7 --- /dev/null +++ b/pkg/sentry/arch/arch_amd64_state_autogen.go @@ -0,0 +1,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}) +} |