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/core
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
..
linux [af_packet] Add new AF_PACKET driver for Linux 2017-01-22 14:02:54 +00:00
basemem_packet.c [bios] Add bin-x86_64-pcbios build platform 2016-02-16 19:32:32 +00:00
cachedhcp.c [bios] Add bin-x86_64-pcbios build platform 2016-02-16 19:32:32 +00:00
cpuid.c [cpuid] Allow input %ecx value to be specified 2017-06-16 01:17:48 +01:00
cpuid_settings.c [cpuid] Allow input %ecx value to be specified 2017-06-16 01:17:48 +01:00
debugcon.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
dumpregs.c [librm] Provide an abstraction wrapper for prot_call 2016-02-18 23:23:38 +00:00
gdbmach.c [gdb] Add support for x86_64 2016-03-22 08:44:32 +00:00
patch_cf.S [bios] Add bin-x86_64-pcbios build platform 2016-02-16 19:32:32 +00:00
pci_autoboot.c [bios] Add bin-x86_64-pcbios build platform 2016-02-16 19:32:32 +00:00
pcidirect.c [pci] Support systems with multiple PCI root bridges 2016-06-09 09:36:28 +01:00
pic8259.c [hyperv] Add support for Hyper-V hypervisor 2014-12-18 16:27:27 +00:00
pit8254.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
rdtsc_timer.c [cpuid] Allow input %ecx value to be specified 2017-06-16 01:17:48 +01:00
relocate.c [relocate] Preserve page alignment during relocation 2016-02-19 02:39:56 +00:00
runtime.c [bios] Add bin-x86_64-pcbios build platform 2016-02-16 19:32:32 +00:00
stack.S [bios] Use an 8kB stack for x86_64 2016-02-18 15:56:41 +00:00
stack16.S [bios] Add bin-x86_64-pcbios build platform 2016-02-16 19:32:32 +00:00
video_subr.c [video_subr] Use memmove() for overlapping memory copy 2017-03-22 15:13:06 +02:00
vram_settings.c [vram] Add "vram" built-in setting to dump video RAM 2015-04-24 16:27:47 +01:00
x86_bigint.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
x86_io.c [ioapi] Split ioremap() out to a separate IOMAP API 2016-02-26 15:33:40 +00:00
x86_string.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
x86_tcpip.c [tcpip] Do not fall back to using unoptimised TCP/IP checksumming 2016-05-04 13:38:25 +01:00
x86_uart.c [serial] Check for UART existence in uart_select() 2015-07-31 11:19:19 +01:00