smp.h (6f3544cd7084abbadd83637993a4f41fd30e6ccd) smp.h (c47dd3db8cf22114267360dddb4b0334b997db0c)
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#define IPI_HARDCLOCK 4
40
41#ifndef LOCORE
42
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#define IPI_HARDCLOCK 4
40
41#ifndef LOCORE
42
43#include <sys/_cpuset.h>
44
43void ipi_all_but_self(int ipi);
44void ipi_cpu(int cpu, u_int ipi);
45void ipi_all_but_self(int ipi);
46void ipi_cpu(int cpu, u_int ipi);
45void ipi_selected(cpumask_t cpus, int ipi);
47void ipi_selected(cpuset_t cpus, int ipi);
46
47struct cpuref {
48 uintptr_t cr_hwref;
49 u_int cr_cpuid;
50};
51
52void pmap_cpu_bootstrap(int);
53void cpudep_ap_early_bootstrap(void);
54uintptr_t cpudep_ap_bootstrap(void);
55void cpudep_ap_setup(void);
56void machdep_ap_bootstrap(void);
57
58#endif /* !LOCORE */
59#endif /* _KERNEL */
60#endif /* !_MACHINE_SMP_H */
48
49struct cpuref {
50 uintptr_t cr_hwref;
51 u_int cr_cpuid;
52};
53
54void pmap_cpu_bootstrap(int);
55void cpudep_ap_early_bootstrap(void);
56uintptr_t cpudep_ap_bootstrap(void);
57void cpudep_ap_setup(void);
58void machdep_ap_bootstrap(void);
59
60#endif /* !LOCORE */
61#endif /* _KERNEL */
62#endif /* !_MACHINE_SMP_H */