diff options
author | Michael Brown <mcb30@ipxe.org> | 2017-06-15 14:50:20 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2017-06-16 01:17:48 +0100 |
commit | a6a5825f8d658834610de31b7b9be2e7d0a8804e (patch) | |
tree | f51a8b343176bbf7c31483006060e93dc0161924 /src/include/ipxe/rsa.h | |
parent | c8cb867d655227d779ce8ce9e392e853997b01dd (diff) | |
download | ipxe-a6a5825f8d658834610de31b7b9be2e7d0a8804e.tar.gz |
[cpuid] Allow input %ecx value to be specified
For some CPUID leaves (e.g. %eax=0x00000004), the result depends on
the input value of %ecx. Allow this subfunction number to be
specified as a parameter to the cpuid() wrapper.
The subfunction number is exposed via the ${cpuid/...} settings
mechanism using the syntax
${cpuid/<subfunction>.0x40.<register>.<function>}
e.g.
${cpuid/0.0x40.0.0x0000000b}
${cpuid/1.0x40.0.0x0000000b}
to retrieve the CPU topology information.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/rsa.h')
0 files changed, 0 insertions, 0 deletions