smp.h (34990) | smp.h (36135) |
---|---|
1/* 2 * ---------------------------------------------------------------------------- 3 * "THE BEER-WARE LICENSE" (Revision 42): 4 * <phk@FreeBSD.org> wrote this file. As long as you retain this notice you 5 * can do whatever you want with this stuff. If we meet some day, and you think 6 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp 7 * ---------------------------------------------------------------------------- 8 * | 1/* 2 * ---------------------------------------------------------------------------- 3 * "THE BEER-WARE LICENSE" (Revision 42): 4 * <phk@FreeBSD.org> wrote this file. As long as you retain this notice you 5 * can do whatever you want with this stuff. If we meet some day, and you think 6 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp 7 * ---------------------------------------------------------------------------- 8 * |
9 * $Id: smp.h,v 1.41 1998/04/01 20:38:28 tegge Exp $ | 9 * $Id: smp.h,v 1.42 1998/04/01 21:07:36 tegge Exp $ |
10 * 11 */ 12 13#ifndef _MACHINE_SMP_H_ 14#define _MACHINE_SMP_H_ 15 16#ifdef KERNEL 17 --- 57 unchanged lines hidden (view full) --- 75#endif /* RECURSIVE_MPINTRLOCK */ 76 77/* global data in apic_vector.s */ 78extern volatile u_int stopped_cpus; 79extern volatile u_int started_cpus; 80 81extern volatile u_int checkstate_probed_cpus; 82extern volatile u_int checkstate_need_ast; | 10 * 11 */ 12 13#ifndef _MACHINE_SMP_H_ 14#define _MACHINE_SMP_H_ 15 16#ifdef KERNEL 17 --- 57 unchanged lines hidden (view full) --- 75#endif /* RECURSIVE_MPINTRLOCK */ 76 77/* global data in apic_vector.s */ 78extern volatile u_int stopped_cpus; 79extern volatile u_int started_cpus; 80 81extern volatile u_int checkstate_probed_cpus; 82extern volatile u_int checkstate_need_ast; |
83extern volatile u_int resched_cpus; 84extern void (*cpustop_restartfunc) __P((void)); |
|
83 84/* functions in apic_ipl.s */ 85void apic_eoi __P((void)); 86u_int io_apic_read __P((int, int)); 87void io_apic_write __P((int, int, u_int)); 88 89/* global data in mp_machdep.c */ 90extern int bsp_apic_ready; --- 7 unchanged lines hidden (view full) --- 98extern vm_offset_t io_apic_address[]; 99extern u_int32_t cpu_apic_versions[]; 100extern u_int32_t io_apic_versions[]; 101extern int cpu_num_to_apic_id[]; 102extern int io_num_to_apic_id[]; 103extern int apic_id_to_logical[]; 104extern u_int all_cpus; 105extern u_char SMP_ioapic[]; | 85 86/* functions in apic_ipl.s */ 87void apic_eoi __P((void)); 88u_int io_apic_read __P((int, int)); 89void io_apic_write __P((int, int, u_int)); 90 91/* global data in mp_machdep.c */ 92extern int bsp_apic_ready; --- 7 unchanged lines hidden (view full) --- 100extern vm_offset_t io_apic_address[]; 101extern u_int32_t cpu_apic_versions[]; 102extern u_int32_t io_apic_versions[]; 103extern int cpu_num_to_apic_id[]; 104extern int io_num_to_apic_id[]; 105extern int apic_id_to_logical[]; 106extern u_int all_cpus; 107extern u_char SMP_ioapic[]; |
108extern struct pcb stoppcbs[]; |
|
106 107/* functions in mp_machdep.c */ 108u_int mp_bootaddress __P((u_int)); 109int mp_probe __P((void)); 110void mp_start __P((void)); 111void mp_announce __P((void)); 112u_int isa_apic_mask __P((u_int)); 113int isa_apic_pin __P((int)); --- 12 unchanged lines hidden (view full) --- 126void smp_invltlb __P((void)); 127int stop_cpus __P((u_int)); 128int restart_cpus __P((u_int)); 129#ifdef BETTER_CLOCK 130void forward_statclock __P((int pscnt)); 131void forward_hardclock __P((int pscnt)); 132#endif /* BETTER_CLOCK */ 133void forward_signal __P((struct proc *)); | 109 110/* functions in mp_machdep.c */ 111u_int mp_bootaddress __P((u_int)); 112int mp_probe __P((void)); 113void mp_start __P((void)); 114void mp_announce __P((void)); 115u_int isa_apic_mask __P((u_int)); 116int isa_apic_pin __P((int)); --- 12 unchanged lines hidden (view full) --- 129void smp_invltlb __P((void)); 130int stop_cpus __P((u_int)); 131int restart_cpus __P((u_int)); 132#ifdef BETTER_CLOCK 133void forward_statclock __P((int pscnt)); 134void forward_hardclock __P((int pscnt)); 135#endif /* BETTER_CLOCK */ 136void forward_signal __P((struct proc *)); |
137void forward_roundrobin __P((void)); |
|
134#ifdef APIC_INTR_REORDER 135void set_lapic_isrloc __P((int, int)); 136#endif /* APIC_INTR_REORDER */ 137 138/* global data in mpapic.c */ 139extern volatile lapic_t lapic; 140 141#if defined(MULTIPLE_IOAPICS) --- 38 unchanged lines hidden --- | 138#ifdef APIC_INTR_REORDER 139void set_lapic_isrloc __P((int, int)); 140#endif /* APIC_INTR_REORDER */ 141 142/* global data in mpapic.c */ 143extern volatile lapic_t lapic; 144 145#if defined(MULTIPLE_IOAPICS) --- 38 unchanged lines hidden --- |