diff options
author | Michael Brown | 2017-06-15 15:50:20 +0200 |
---|---|---|
committer | Michael Brown | 2017-06-16 02:17:48 +0200 |
commit | a6a5825f8d658834610de31b7b9be2e7d0a8804e (patch) | |
tree | f51a8b343176bbf7c31483006060e93dc0161924 /src/crypto | |
parent | [ecm] Display invalid MAC address strings in debug messages (diff) | |
download | ipxe-a6a5825f8d658834610de31b7b9be2e7d0a8804e.tar.gz ipxe-a6a5825f8d658834610de31b7b9be2e7d0a8804e.tar.xz ipxe-a6a5825f8d658834610de31b7b9be2e7d0a8804e.zip |
[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/crypto')
0 files changed, 0 insertions, 0 deletions