diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-03-23 19:03:20 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-03-23 19:03:20 +0000 |
commit | e48ad2ada0357cb8ee9185074aaff7ab44d84631 (patch) | |
tree | f8848b871cd5e3a0d07853083e024a231438085c /pkg/cpuid | |
parent | 0fea1c57d9bc63416cc366720b2f53139468352f (diff) | |
parent | acb4c62885629d6d3ee977b93c27282abed0b33f (diff) |
Merge release-20210315.0-15-gacb4c6288 (automated)
Diffstat (limited to 'pkg/cpuid')
-rw-r--r-- | pkg/cpuid/cpuid_arm64_state_autogen.go | 2 | ||||
-rw-r--r-- | pkg/cpuid/cpuid_x86_state_autogen.go | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/pkg/cpuid/cpuid_arm64_state_autogen.go b/pkg/cpuid/cpuid_arm64_state_autogen.go index d5911799d..50e317963 100644 --- a/pkg/cpuid/cpuid_arm64_state_autogen.go +++ b/pkg/cpuid/cpuid_arm64_state_autogen.go @@ -25,6 +25,7 @@ func (fs *FeatureSet) StateFields() []string { func (fs *FeatureSet) beforeSave() {} +// +checklocksignore func (fs *FeatureSet) StateSave(stateSinkObject state.Sink) { fs.beforeSave() stateSinkObject.Save(0, &fs.Set) @@ -37,6 +38,7 @@ func (fs *FeatureSet) StateSave(stateSinkObject state.Sink) { func (fs *FeatureSet) afterLoad() {} +// +checklocksignore func (fs *FeatureSet) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(0, &fs.Set) stateSourceObject.Load(1, &fs.CPUImplementer) diff --git a/pkg/cpuid/cpuid_x86_state_autogen.go b/pkg/cpuid/cpuid_x86_state_autogen.go index 023f8d742..9962a29ae 100644 --- a/pkg/cpuid/cpuid_x86_state_autogen.go +++ b/pkg/cpuid/cpuid_x86_state_autogen.go @@ -28,6 +28,7 @@ func (c *Cache) StateFields() []string { func (c *Cache) beforeSave() {} +// +checklocksignore func (c *Cache) StateSave(stateSinkObject state.Sink) { c.beforeSave() stateSinkObject.Save(0, &c.Level) @@ -43,6 +44,7 @@ func (c *Cache) StateSave(stateSinkObject state.Sink) { func (c *Cache) afterLoad() {} +// +checklocksignore func (c *Cache) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(0, &c.Level) stateSourceObject.Load(1, &c.Type) @@ -76,6 +78,7 @@ func (fs *FeatureSet) StateFields() []string { func (fs *FeatureSet) beforeSave() {} +// +checklocksignore func (fs *FeatureSet) StateSave(stateSinkObject state.Sink) { fs.beforeSave() stateSinkObject.Save(0, &fs.Set) @@ -92,6 +95,7 @@ func (fs *FeatureSet) StateSave(stateSinkObject state.Sink) { func (fs *FeatureSet) afterLoad() {} +// +checklocksignore func (fs *FeatureSet) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(0, &fs.Set) stateSourceObject.Load(1, &fs.VendorID) |