Go to the source code of this file.
Data Structures | |
| struct | cpuid_result |
Defines | |
| #define | X86_EFLAGS_CF 0x00000001 |
| #define | X86_EFLAGS_PF 0x00000004 |
| #define | X86_EFLAGS_AF 0x00000010 |
| #define | X86_EFLAGS_ZF 0x00000040 |
| #define | X86_EFLAGS_SF 0x00000080 |
| #define | X86_EFLAGS_TF 0x00000100 |
| #define | X86_EFLAGS_IF 0x00000200 |
| #define | X86_EFLAGS_DF 0x00000400 |
| #define | X86_EFLAGS_OF 0x00000800 |
| #define | X86_EFLAGS_IOPL 0x00003000 |
| #define | X86_EFLAGS_NT 0x00004000 |
| #define | X86_EFLAGS_RF 0x00010000 |
| #define | X86_EFLAGS_VM 0x00020000 |
| #define | X86_EFLAGS_AC 0x00040000 |
| #define | X86_EFLAGS_VIF 0x00080000 |
| #define | X86_EFLAGS_VIP 0x00100000 |
| #define | X86_EFLAGS_ID 0x00200000 |
| #define | X86_VENDOR_INVALID 0 |
| #define | X86_VENDOR_INTEL 1 |
| #define | X86_VENDOR_CYRIX 2 |
| #define | X86_VENDOR_AMD 3 |
| #define | X86_VENDOR_UMC 4 |
| #define | X86_VENDOR_NEXGEN 5 |
| #define | X86_VENDOR_CENTAUR 6 |
| #define | X86_VENDOR_RISE 7 |
| #define | X86_VENDOR_TRANSMETA 8 |
| #define | X86_VENDOR_NSC 9 |
| #define | X86_VENDOR_SIS 10 |
| #define | X86_VENDOR_UNKNOWN 0xff |
Functions | |
| static struct cpuid_result | cpuid (int op) |
| static unsigned int | cpuid_eax (unsigned int op) |
| static unsigned int | cpuid_ebx (unsigned int op) |
| static unsigned int | cpuid_ecx (unsigned int op) |
| static unsigned int | cpuid_edx (unsigned int op) |
| #define X86_EFLAGS_AC 0x00040000 |
| #define X86_EFLAGS_ID 0x00200000 |
| #define X86_VENDOR_INVALID 0 |
| #define X86_VENDOR_UNKNOWN 0xff |
| static struct cpuid_result cpuid | ( | int | op | ) | [static, read] |
Definition at line 34 of file cpu.h.
References cpuid_result::eax, cpuid_result::ebx, cpuid_result::ecx, and cpuid_result::edx.
Referenced by fill_processor_name(), identify_cpu(), intel_sibling_init(), main(), print_intel_core_msrs(), pstates_algorithm(), smp_write_processors(), and smp_write_processors_inorder().

| static unsigned int cpuid_eax | ( | unsigned int | op | ) | [inline, static] |
Definition at line 51 of file cpu.h.
References __asm__(), and eax.
Referenced by do_k8_init_and_stop_secondaries(), dual_core(), identify_cpu(), init_cpus(), init_processor_name(), intel_update_microcode(), is_cpu_b3(), is_cpu_c0(), is_cpu_d0(), is_cpu_e0(), is_cpu_pre_b3(), is_cpu_pre_c0(), is_cpu_pre_d0(), is_cpu_pre_e0(), is_cpu_rev_a0(), mctGetLogicalCPUID(), and spd_handle_unbuffered_dimms().


| static unsigned int cpuid_ebx | ( | unsigned int | op | ) | [inline, static] |
Definition at line 61 of file cpu.h.
References __asm__(), eax, and ebx.
Referenced by get_initial_apicid(), get_node_core_id(), and init_processor_name().


| static unsigned int cpuid_ecx | ( | unsigned int | op | ) | [inline, static] |
Definition at line 71 of file cpu.h.
References __asm__(), eax, and cpuid_result::ecx.
Referenced by cpu_bus_scan(), do_k8_init_and_stop_secondaries(), dual_core(), for_each_ap(), get_core_num(), get_node_core_id(), init_processor_name(), model_10xxx_init(), and model_fxx_init().


| static unsigned int cpuid_edx | ( | unsigned int | op | ) | [inline, static] |
1.5.5