package
0.0.0-20240720002214-37b2b8227b91
Repository: https://github.com/progrium/go-netstack.git
Documentation: pkg.go.dev

# Functions

AllFeatures returns the full set of all possible features.
FeatureFromString returns the Feature associated with the given feature string plus a bool to indicate if it could find the feature.
FromContext returns the FeatureSet from the context, if available.
HostFeatureSet returns a host CPUID.
Initialize initializes the global data structures used by this package.

# Constants

CacheData is a data cache.
CacheInstruction is an instruction cache.
CacheUnified is a unified instruction and data cache.
CtxFeatureSet is the FeatureSet for the context.
Block 6 constants are the extended feature bits in CPUID.(EAX=0x80000001):EDX.
Block 6 constants are the extended feature bits in CPUID.(EAX=0x80000001):EDX.
Block 1 constants are all of the "basic" feature bits returned by a cpuid in edx with eax=1.
Block 5 constants are the extended feature bits in CPUID.(EAX=0x80000001):ECX.
Block 2 bits are the "structured extended" features returned in ebx for eax=7, ecx=0.
Block 0 constants are all of the "basic" feature bits returned by a cpuid in ecx with eax=1.
Block 1 constants are all of the "basic" feature bits returned by a cpuid in edx with eax=1.
Block 0 constants are all of the "basic" feature bits returned by a cpuid in ecx with eax=1.
Block 2 bits are the "structured extended" features returned in ebx for eax=7, ecx=0.
Block 3 bits are the "extended" features returned in ecx for eax=7, ecx=0.
Block 3 bits are the "extended" features returned in ecx for eax=7, ecx=0.
Block 3 bits are the "extended" features returned in ecx for eax=7, ecx=0.
Block 3 bits are the "extended" features returned in ecx for eax=7, ecx=0.
Block 2 bits are the "structured extended" features returned in ebx for eax=7, ecx=0.
Block 2 bits are the "structured extended" features returned in ebx for eax=7, ecx=0.
Block 2 bits are the "structured extended" features returned in ebx for eax=7, ecx=0.
Block 2 bits are the "structured extended" features returned in ebx for eax=7, ecx=0.
Block 2 bits are the "structured extended" features returned in ebx for eax=7, ecx=0.
Block 2 bits are the "structured extended" features returned in ebx for eax=7, ecx=0.
Block 2 bits are the "structured extended" features returned in ebx for eax=7, ecx=0.
Block 3 bits are the "extended" features returned in ecx for eax=7, ecx=0.
Block 2 bits are the "structured extended" features returned in ebx for eax=7, ecx=0.
Block 2 bits are the "structured extended" features returned in ebx for eax=7, ecx=0.
Block 2 bits are the "structured extended" features returned in ebx for eax=7, ecx=0.
Block 5 constants are the extended feature bits in CPUID.(EAX=0x80000001):ECX.
Block 3 bits are the "extended" features returned in ecx for eax=7, ecx=0.
Block 3 bits are the "extended" features returned in ecx for eax=7, ecx=0.
Block 2 bits are the "structured extended" features returned in ebx for eax=7, ecx=0.
Block 1 constants are all of the "basic" feature bits returned by a cpuid in edx with eax=1.
Block 2 bits are the "structured extended" features returned in ebx for eax=7, ecx=0.
Block 1 constants are all of the "basic" feature bits returned by a cpuid in edx with eax=1.
Block 5 constants are the extended feature bits in CPUID.(EAX=0x80000001):ECX.
Block 0 constants are all of the "basic" feature bits returned by a cpuid in ecx with eax=1.
Block 2 bits are the "structured extended" features returned in ebx for eax=7, ecx=0.
Block 5 constants are the extended feature bits in CPUID.(EAX=0x80000001):ECX.
Block 0 constants are all of the "basic" feature bits returned by a cpuid in ecx with eax=1.
Block 1 constants are all of the "basic" feature bits returned by a cpuid in edx with eax=1.
Block 0 constants are all of the "basic" feature bits returned by a cpuid in ecx with eax=1.
Block 1 constants are all of the "basic" feature bits returned by a cpuid in edx with eax=1.
Block 1 constants are all of the "basic" feature bits returned by a cpuid in edx with eax=1.
Block 0 constants are all of the "basic" feature bits returned by a cpuid in ecx with eax=1.
Block 0 constants are all of the "basic" feature bits returned by a cpuid in ecx with eax=1.
Block 2 bits are the "structured extended" features returned in ebx for eax=7, ecx=0.
Block 0 constants are all of the "basic" feature bits returned by a cpuid in ecx with eax=1.
Block 5 constants are the extended feature bits in CPUID.(EAX=0x80000001):ECX.
Block 0 constants are all of the "basic" feature bits returned by a cpuid in ecx with eax=1.
Block 2 bits are the "structured extended" features returned in ebx for eax=7, ecx=0.
Block 0 constants are all of the "basic" feature bits returned by a cpuid in ecx with eax=1.
Block 5 constants are the extended feature bits in CPUID.(EAX=0x80000001):ECX.
Block 2 bits are the "structured extended" features returned in ebx for eax=7, ecx=0.
Block 1 constants are all of the "basic" feature bits returned by a cpuid in edx with eax=1.
Block 2 bits are the "structured extended" features returned in ebx for eax=7, ecx=0.
Block 1 constants are all of the "basic" feature bits returned by a cpuid in edx with eax=1.
Block 6 constants are the extended feature bits in CPUID.(EAX=0x80000001):EDX.
Block 6 constants are the extended feature bits in CPUID.(EAX=0x80000001):EDX.
Block 3 bits are the "extended" features returned in ecx for eax=7, ecx=0.
Block 2 bits are the "structured extended" features returned in ebx for eax=7, ecx=0.
Block 1 constants are all of the "basic" feature bits returned by a cpuid in edx with eax=1.
Block 0 constants are all of the "basic" feature bits returned by a cpuid in ecx with eax=1.
Block 1 constants are all of the "basic" feature bits returned by a cpuid in edx with eax=1.
Block 5 constants are the extended feature bits in CPUID.(EAX=0x80000001):ECX.
Block 2 bits are the "structured extended" features returned in ebx for eax=7, ecx=0.
Intel processor trace.
Block 3 bits are the "extended" features returned in ecx for eax=7, ecx=0.
Block 5 constants are the extended feature bits in CPUID.(EAX=0x80000001):ECX.
Block 6 constants are the extended feature bits in CPUID.(EAX=0x80000001):EDX.
Block 5 constants are the extended feature bits in CPUID.(EAX=0x80000001):ECX.
Block 5 constants are the extended feature bits in CPUID.(EAX=0x80000001):ECX.
Block 1 constants are all of the "basic" feature bits returned by a cpuid in edx with eax=1.
Block 1 constants are all of the "basic" feature bits returned by a cpuid in edx with eax=1.
Block 5 constants are the extended feature bits in CPUID.(EAX=0x80000001):ECX.
Block 1 constants are all of the "basic" feature bits returned by a cpuid in edx with eax=1.
Block 6 constants are the extended feature bits in CPUID.(EAX=0x80000001):EDX.
Block 0 constants are all of the "basic" feature bits returned by a cpuid in ecx with eax=1.
Block 0 constants are all of the "basic" feature bits returned by a cpuid in ecx with eax=1.
Block 3 bits are the "extended" features returned in ecx for eax=7, ecx=0.
Block 3 bits are the "extended" features returned in ecx for eax=7, ecx=0.
Block 2 bits are the "structured extended" features returned in ebx for eax=7, ecx=0.
Block 1 constants are all of the "basic" feature bits returned by a cpuid in edx with eax=1.
Block 1 constants are all of the "basic" feature bits returned by a cpuid in edx with eax=1.
Block 5 constants are the extended feature bits in CPUID.(EAX=0x80000001):ECX.
Block 6 constants are the extended feature bits in CPUID.(EAX=0x80000001):EDX.
Block 3 bits are the "extended" features returned in ecx for eax=7, ecx=0.
Block 5 constants are the extended feature bits in CPUID.(EAX=0x80000001):ECX.
Block 0 constants are all of the "basic" feature bits returned by a cpuid in ecx with eax=1.
Block 1 constants are all of the "basic" feature bits returned by a cpuid in edx with eax=1.
Block 1 constants are all of the "basic" feature bits returned by a cpuid in edx with eax=1.
Block 1 constants are all of the "basic" feature bits returned by a cpuid in edx with eax=1.
Block 0 constants are all of the "basic" feature bits returned by a cpuid in ecx with eax=1.
Block 0 constants are all of the "basic" feature bits returned by a cpuid in ecx with eax=1.
Block 2 bits are the "structured extended" features returned in ebx for eax=7, ecx=0.
Block 0 constants are all of the "basic" feature bits returned by a cpuid in ecx with eax=1.
Block 5 constants are the extended feature bits in CPUID.(EAX=0x80000001):ECX.
Block 5 constants are the extended feature bits in CPUID.(EAX=0x80000001):ECX.
Block 5 constants are the extended feature bits in CPUID.(EAX=0x80000001):ECX.
Block 5 constants are the extended feature bits in CPUID.(EAX=0x80000001):ECX.
Block 1 constants are all of the "basic" feature bits returned by a cpuid in edx with eax=1.
Block 3 bits are the "extended" features returned in ecx for eax=7, ecx=0.
Block 0 constants are all of the "basic" feature bits returned by a cpuid in ecx with eax=1.
Block 5 constants are the extended feature bits in CPUID.(EAX=0x80000001):ECX.
Block 3 bits are the "extended" features returned in ecx for eax=7, ecx=0.
Block 1 constants are all of the "basic" feature bits returned by a cpuid in edx with eax=1.
Block 1 constants are all of the "basic" feature bits returned by a cpuid in edx with eax=1.
Block 1 constants are all of the "basic" feature bits returned by a cpuid in edx with eax=1.
Block 3 bits are the "extended" features returned in ecx for eax=7, ecx=0.
Block 0 constants are all of the "basic" feature bits returned by a cpuid in ecx with eax=1.
Block 2 bits are the "structured extended" features returned in ebx for eax=7, ecx=0.
Block 2 bits are the "structured extended" features returned in ebx for eax=7, ecx=0.
Block 6 constants are the extended feature bits in CPUID.(EAX=0x80000001):EDX.
Block 2 bits are the "structured extended" features returned in ebx for eax=7, ecx=0.
Block 0 constants are all of the "basic" feature bits returned by a cpuid in ecx with eax=1.
Block 1 constants are all of the "basic" feature bits returned by a cpuid in edx with eax=1.
Block 2 bits are the "structured extended" features returned in ebx for eax=7, ecx=0.
Block 5 constants are the extended feature bits in CPUID.(EAX=0x80000001):ECX.
Block 2 bits are the "structured extended" features returned in ebx for eax=7, ecx=0.
Block 2 bits are the "structured extended" features returned in ebx for eax=7, ecx=0.
Block 0 constants are all of the "basic" feature bits returned by a cpuid in ecx with eax=1.
Block 1 constants are all of the "basic" feature bits returned by a cpuid in edx with eax=1.
Block 1 constants are all of the "basic" feature bits returned by a cpuid in edx with eax=1.
Block 1 constants are all of the "basic" feature bits returned by a cpuid in edx with eax=1.
Block 0 constants are all of the "basic" feature bits returned by a cpuid in ecx with eax=1.
Block 0 constants are all of the "basic" feature bits returned by a cpuid in ecx with eax=1.
Block 0 constants are all of the "basic" feature bits returned by a cpuid in ecx with eax=1.
Block 5 constants are the extended feature bits in CPUID.(EAX=0x80000001):ECX.
Not a typo, "supplemental" SSE3.
Block 5 constants are the extended feature bits in CPUID.(EAX=0x80000001):ECX.
Block 6 constants are the extended feature bits in CPUID.(EAX=0x80000001):EDX.
Block 5 constants are the extended feature bits in CPUID.(EAX=0x80000001):ECX.
Block 5 constants are the extended feature bits in CPUID.(EAX=0x80000001):ECX.
Block 1 constants are all of the "basic" feature bits returned by a cpuid in edx with eax=1.
Block 0 constants are all of the "basic" feature bits returned by a cpuid in ecx with eax=1.
Block 3 bits are the "extended" features returned in ecx for eax=7, ecx=0.
Block 5 constants are the extended feature bits in CPUID.(EAX=0x80000001):ECX.
Block 1 constants are all of the "basic" feature bits returned by a cpuid in edx with eax=1.
Block 2 bits are the "structured extended" features returned in ebx for eax=7, ecx=0.
Block 0 constants are all of the "basic" feature bits returned by a cpuid in ecx with eax=1.
Block 3 bits are the "extended" features returned in ecx for eax=7, ecx=0.
Block 3 bits are the "extended" features returned in ecx for eax=7, ecx=0.
Block 1 constants are all of the "basic" feature bits returned by a cpuid in edx with eax=1.
Block 0 constants are all of the "basic" feature bits returned by a cpuid in ecx with eax=1.
Block 3 bits are the "extended" features returned in ecx for eax=7, ecx=0.
Block 3 bits are the "extended" features returned in ecx for eax=7, ecx=0.
Block 5 constants are the extended feature bits in CPUID.(EAX=0x80000001):ECX.
Block 0 constants are all of the "basic" feature bits returned by a cpuid in ecx with eax=1.
Block 4 constants are for xsave capabilities in CPUID.(EAX=0DH,ECX=01H):EAX.
Block 5 constants are the extended feature bits in CPUID.(EAX=0x80000001):ECX.
Block 0 constants are all of the "basic" feature bits returned by a cpuid in ecx with eax=1.
Block 4 constants are for xsave capabilities in CPUID.(EAX=0DH,ECX=01H):EAX.
Block 4 constants are for xsave capabilities in CPUID.(EAX=0DH,ECX=01H):EAX.
Block 4 constants are for xsave capabilities in CPUID.(EAX=0DH,ECX=01H):EAX.
Block 0 constants are all of the "basic" feature bits returned by a cpuid in ecx with eax=1.
These are the extended floating point state features.
These are the extended floating point state features.
These are the extended floating point state features.
These are the extended floating point state features.
These are the extended floating point state features.
These are the extended floating point state features.
These are the extended floating point state features.
These are the extended floating point state features.
These are the extended floating point state features.

# Structs

Cache describes the parameters of a single cache on the system.
ErrIncompatible is returned for incompatible feature sets.
FeatureSet defines features in terms of CPUID leaves and bits.
In is input to the Query function.
Native is a native Function.
Out is output from the Query function.

# Interfaces

ChangeableSet is a feature set that can allows changes.
Function executes a CPUID function.

# Type aliases

CacheType describes the type of a cache, as returned in eax[4:0] for eax=4.
Feature is a unique identifier for a particular cpu feature.
Static is a static CPUID function.