You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 19, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 19, 2024. It is now read-only.
AMD_SEV and other constants used in common code, but only defined for amd64 #21
#18 introduced some constants, e.g. AMD_SEV, in cpuid_amd64.go, and then used them in cpuid.go. They will be undefined when building on non-x86_64 architectures.
e.g. on s390x:
$ go get github.com/intel-go/cpuid
# github.com/intel-go/cpuid
go/pkg/mod/github.com/intel-go/cpuid@v0.0.0-20210602155658-5747e5cec0d9/cpuid.go:291:2: undefined: AMD_SME
go/pkg/mod/github.com/intel-go/cpuid@v0.0.0-20210602155658-5747e5cec0d9/cpuid.go:292:2: undefined: AMD_SEV
go/pkg/mod/github.com/intel-go/cpuid@v0.0.0-20210602155658-5747e5cec0d9/cpuid.go:293:2: undefined: AMD_PAGE_FLUSH_MSR
go/pkg/mod/github.com/intel-go/cpuid@v0.0.0-20210602155658-5747e5cec0d9/cpuid.go:294:2: undefined: AMD_SEV_ES
Activity