mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-23 11:18:54 +00:00
aab6f7ed9a
it into a bunch of different .c files. Remove declarations for the unused mptramp() function from everywhere except AramadaXP (and I think it's really not used there either, because the code that references it appears to be insanely does-nothing in nature).
41 lines
876 B
C
41 lines
876 B
C
/* $FreeBSD$ */
|
|
|
|
#ifndef _MACHINE_SMP_H_
|
|
#define _MACHINE_SMP_H_
|
|
|
|
#include <sys/_cpuset.h>
|
|
#include <machine/pcb.h>
|
|
|
|
#define IPI_AST 0
|
|
#define IPI_PREEMPT 2
|
|
#define IPI_RENDEZVOUS 3
|
|
#define IPI_STOP 4
|
|
#define IPI_STOP_HARD 5
|
|
#define IPI_HARDCLOCK 6
|
|
#define IPI_TLB 7
|
|
|
|
void init_secondary(int cpu);
|
|
void mpentry(void);
|
|
|
|
void ipi_all_but_self(u_int ipi);
|
|
void ipi_cpu(int cpu, u_int ipi);
|
|
void ipi_selected(cpuset_t cpus, u_int ipi);
|
|
|
|
/* PIC interface */
|
|
void pic_ipi_send(cpuset_t cpus, u_int ipi);
|
|
void pic_ipi_clear(int ipi);
|
|
int pic_ipi_get(int arg);
|
|
|
|
/* Platform interface */
|
|
void platform_mp_setmaxid(void);
|
|
int platform_mp_probe(void);
|
|
void platform_mp_start_ap(void);
|
|
void platform_mp_init_secondary(void);
|
|
|
|
void platform_ipi_send(cpuset_t cpus, u_int ipi);
|
|
|
|
/* global data in mp_machdep.c */
|
|
extern struct pcb stoppcbs[];
|
|
|
|
#endif /* !_MACHINE_SMP_H_ */
|