Home
last modified time | relevance | path

Searched refs:apicid (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/arch/x86_64/kernel/
Dsmpboot.c480 static inline void inquire_remote_apic(int apicid) in inquire_remote_apic() argument
486 printk("Inquiring remote APIC #%d...\n", apicid); in inquire_remote_apic()
489 printk("... APIC #%d %s: ", apicid, names[i]); in inquire_remote_apic()
496 apic_write_around(APIC_ICR2, SET_APIC_DEST_FIELD(apicid)); in inquire_remote_apic()
517 static int __init do_boot_cpu (int apicid) in do_boot_cpu() argument
542 x86_cpu_to_apicid[cpu] = apicid; in do_boot_cpu()
543 x86_apicid_to_cpu[apicid] = cpu; in do_boot_cpu()
557 printk("Booting processor %d/%d rip %lx page %p\n", cpu, apicid, start_eip, idle); in do_boot_cpu()
581 if (APIC_INTEGRATED(apic_version[apicid])) { in do_boot_cpu()
603 apic_write_around(APIC_ICR2, SET_APIC_DEST_FIELD(apicid)); in do_boot_cpu()
[all …]
/linux-2.4.37.9/include/asm-i386/
Dsmpboot.h90 static inline unsigned long apicid_to_phys_cpu_present(int apicid) in apicid_to_phys_cpu_present() argument
93 return 1UL << (((apicid >> 4) << 2) + (apicid & 0x3)); in apicid_to_phys_cpu_present()
94 return 1UL << apicid; in apicid_to_phys_cpu_present()
108 #define logical_apicid_to_cpu(apicid) logical_apicid_2_cpu[apicid] argument
110 #define physical_apicid_to_cpu(apicid) physical_apicid_2_cpu[apicid] argument
113 #define boot_apicid_to_cpu(apicid) logical_apicid_2_cpu[apicid] argument
116 #define boot_apicid_to_cpu(apicid) physical_apicid_2_cpu[apicid] argument
/linux-2.4.37.9/arch/i386/kernel/
Dsmpboot.c513 int apicid, cpu; in init_cpu_to_apicid() local
515 for (apicid = 0; apicid < MAX_APICID; apicid++) { in init_cpu_to_apicid()
516 physical_apicid_2_cpu[apicid] = BAD_APICID; in init_cpu_to_apicid()
517 logical_apicid_2_cpu[apicid] = BAD_APICID; in init_cpu_to_apicid()
525 static inline void map_cpu_to_boot_apicid(int cpu, int apicid) in map_cpu_to_boot_apicid() argument
532 logical_apicid_2_cpu[apicid] = cpu; in map_cpu_to_boot_apicid()
533 cpu_2_logical_apicid[cpu] = apicid; in map_cpu_to_boot_apicid()
535 physical_apicid_2_cpu[apicid] = cpu; in map_cpu_to_boot_apicid()
536 cpu_2_physical_apicid[cpu] = apicid; in map_cpu_to_boot_apicid()
540 static inline void unmap_cpu_to_boot_apicid(int cpu, int apicid) in unmap_cpu_to_boot_apicid() argument
[all …]