smp.h (c3e289e1ce8c9af8d14e9f727632e22b3bf901f9) smp.h (d9d8d1449d72e02d1636cc03a9d27d4e37704dab)
1/*-
2 * Copyright (c) 2008 Marcel Moolenaar
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *

--- 26 unchanged lines hidden (view full) ---

35#define IPI_PREEMPT 1
36#define IPI_RENDEZVOUS 2
37#define IPI_STOP 3
38#define IPI_STOP_HARD 3
39
40#ifndef LOCORE
41
42void ipi_all_but_self(int ipi);
1/*-
2 * Copyright (c) 2008 Marcel Moolenaar
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *

--- 26 unchanged lines hidden (view full) ---

35#define IPI_PREEMPT 1
36#define IPI_RENDEZVOUS 2
37#define IPI_STOP 3
38#define IPI_STOP_HARD 3
39
40#ifndef LOCORE
41
42void ipi_all_but_self(int ipi);
43void ipi_cpu(int cpu, u_int ipi);
43void ipi_selected(cpumask_t cpus, int ipi);
44
45struct cpuref {
46 uintptr_t cr_hwref;
47 u_int cr_cpuid;
48};
49
50void pmap_cpu_bootstrap(int);
51void cpudep_ap_early_bootstrap(void);
52uintptr_t cpudep_ap_bootstrap(void);
53void cpudep_ap_setup(void);
54void machdep_ap_bootstrap(void);
55
56#endif /* !LOCORE */
57#endif /* _KERNEL */
58#endif /* !_MACHINE_SMP_H */
44void ipi_selected(cpumask_t cpus, int ipi);
45
46struct cpuref {
47 uintptr_t cr_hwref;
48 u_int cr_cpuid;
49};
50
51void pmap_cpu_bootstrap(int);
52void cpudep_ap_early_bootstrap(void);
53uintptr_t cpudep_ap_bootstrap(void);
54void cpudep_ap_setup(void);
55void machdep_ap_bootstrap(void);
56
57#endif /* !LOCORE */
58#endif /* _KERNEL */
59#endif /* !_MACHINE_SMP_H */