summaryrefslogtreecommitdiffhomepage
path: root/pkg/cpuid
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/cpuid')
-rw-r--r--pkg/cpuid/cpuid_arm64_state_autogen.go2
-rw-r--r--pkg/cpuid/cpuid_x86_state_autogen.go4
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)