aux/cpuid: xsaveopt
This commit is contained in:
parent
8580ec595b
commit
6862f4ee0e
|
@ -89,6 +89,18 @@ func1(ulong)
|
|||
printbits("features", r.cx, bitscx);
|
||||
}
|
||||
|
||||
void
|
||||
func13(ulong)
|
||||
{
|
||||
Res r;
|
||||
static char *bitsax[32] = {
|
||||
[0] "xsaveopt",
|
||||
};
|
||||
|
||||
r = cpuid(13, 1);
|
||||
printbits("features", r.ax, bitsax);
|
||||
}
|
||||
|
||||
void
|
||||
extfunc1(ulong ax)
|
||||
{
|
||||
|
@ -157,8 +169,9 @@ extfunc8(ulong ax)
|
|||
}
|
||||
|
||||
void (*funcs[])(ulong) = {
|
||||
[0] func0,
|
||||
[1] func1,
|
||||
[0] func0,
|
||||
[1] func1,
|
||||
[13] func13,
|
||||
};
|
||||
|
||||
void (*extfuncs[])(ulong) = {
|
||||
|
|
Loading…
Reference in a new issue