diff options
Diffstat (limited to 'pkg/sentry/arch/arch_state_autogen.go')
-rw-r--r-- | pkg/sentry/arch/arch_state_autogen.go | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/pkg/sentry/arch/arch_state_autogen.go b/pkg/sentry/arch/arch_state_autogen.go index 803172784..8a151f95c 100644 --- a/pkg/sentry/arch/arch_state_autogen.go +++ b/pkg/sentry/arch/arch_state_autogen.go @@ -74,42 +74,7 @@ func (a *AuxEntry) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(1, &a.Value) } -func (s *SignalInfo) StateTypeName() string { - return "pkg/sentry/arch.SignalInfo" -} - -func (s *SignalInfo) StateFields() []string { - return []string{ - "Signo", - "Errno", - "Code", - "Fields", - } -} - -func (s *SignalInfo) beforeSave() {} - -// +checklocksignore -func (s *SignalInfo) StateSave(stateSinkObject state.Sink) { - s.beforeSave() - stateSinkObject.Save(0, &s.Signo) - stateSinkObject.Save(1, &s.Errno) - stateSinkObject.Save(2, &s.Code) - stateSinkObject.Save(3, &s.Fields) -} - -func (s *SignalInfo) afterLoad() {} - -// +checklocksignore -func (s *SignalInfo) StateLoad(stateSourceObject state.Source) { - stateSourceObject.Load(0, &s.Signo) - stateSourceObject.Load(1, &s.Errno) - stateSourceObject.Load(2, &s.Code) - stateSourceObject.Load(3, &s.Fields) -} - func init() { state.Register((*MmapLayout)(nil)) state.Register((*AuxEntry)(nil)) - state.Register((*SignalInfo)(nil)) } |