david/ipxe
david
/
ipxe
Archived
1
0
Fork 0
This repository has been archived on 2020-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
ipxe/src/arch/x86
Michael Brown a6a5825f8d [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>
2017-06-16 01:17:48 +01:00
..
core [cpuid] Allow input %ecx value to be specified 2017-06-16 01:17:48 +01:00
drivers [cpuid] Allow input %ecx value to be specified 2017-06-16 01:17:48 +01:00
hci/commands [bios] Add bin-x86_64-pcbios build platform 2016-02-16 19:32:32 +00:00
image [build] Avoid implicit-fallthrough warnings on GCC 7 2017-03-29 10:36:45 +03:00
include [cpuid] Allow input %ecx value to be specified 2017-06-16 01:17:48 +01:00
interface [acpi] Make acpi_find_rsdt() a per-platform method 2017-05-23 18:34:39 +01:00
prefix [hdprefix] Avoid attempts to read beyond the end of the disk 2017-06-14 12:14:54 +01:00
scripts [efi] Centralise architecture-independent EFI Makefile and linker script 2016-03-12 21:47:13 +00:00
tests/comboot [comboot] Support COMBOOT in 64-bit builds 2016-04-15 15:31:36 +01:00
transitions [librm] Fail gracefully if asked to ioremap() a zero length 2017-03-21 14:17:18 +02:00
Makefile [undi] Move PXE API caller back into UNDI driver 2017-03-19 15:57:24 +00:00
Makefile.efi [efi] Centralise architecture-independent EFI Makefile and linker script 2016-03-12 21:47:13 +00:00
Makefile.linux [build] Avoid errors when build directory is mounted via NFS 2014-05-13 16:45:57 +01:00
Makefile.pcbios [build] Add %.vhd target for building VM bootable disk images 2017-01-22 11:22:11 +00:00