github.com/MerlinKodo/gvisor@v0.0.0-20231110090155-957f62ecf90e/pkg/sentry/platform/systrap/usertrap/usertrap_arm64_state_autogen.go (about)

     1  // automatically generated by stateify.
     2  
     3  //go:build arm64
     4  // +build arm64
     5  
     6  package usertrap
     7  
     8  import (
     9  	"github.com/MerlinKodo/gvisor/pkg/state"
    10  )
    11  
    12  func (s *State) StateTypeName() string {
    13  	return "pkg/sentry/platform/systrap/usertrap.State"
    14  }
    15  
    16  func (s *State) StateFields() []string {
    17  	return []string{}
    18  }
    19  
    20  func (s *State) beforeSave() {}
    21  
    22  // +checklocksignore
    23  func (s *State) StateSave(stateSinkObject state.Sink) {
    24  	s.beforeSave()
    25  }
    26  
    27  func (s *State) afterLoad() {}
    28  
    29  // +checklocksignore
    30  func (s *State) StateLoad(stateSourceObject state.Source) {
    31  }
    32  
    33  func init() {
    34  	state.Register((*State)(nil))
    35  }