Compile GENERIC.MP.
This commit is contained in:
parent
b1f1e5e073
commit
5af3af05f4
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: cpu.h,v 1.37 2003/11/09 05:29:59 tsutsui Exp $ */
|
||||
/* $NetBSD: cpu.h,v 1.38 2003/11/15 05:24:51 petrov Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -101,6 +101,7 @@ struct cpu_info {
|
|||
struct lwp *ci_fplwp;
|
||||
int ci_number;
|
||||
int ci_upaid;
|
||||
int ci_cpuid;
|
||||
struct schedstate_percpu ci_schedstate;
|
||||
|
||||
/*
|
||||
|
@ -146,6 +147,11 @@ extern struct cpu_info cpu_info_store;
|
|||
/* This really should be somewhere else. */
|
||||
#define cpu_proc_fork(p1, p2) /* nothing */
|
||||
|
||||
#if defined(MULTIPROCESSOR)
|
||||
void cpu_boot_secondary_processors __P((void));
|
||||
#define CPU_IS_PRIMARY(ci) (1) /* XXX */
|
||||
#endif
|
||||
|
||||
/*
|
||||
* definitions for MI microtime().
|
||||
*/
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: psl.h,v 1.24 2003/11/09 21:52:31 petrov Exp $ */
|
||||
/* $NetBSD: psl.h,v 1.25 2003/11/15 05:24:51 petrov Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -412,6 +412,8 @@ SPLHOLD(splstatclock, 14)
|
|||
SPLHOLD(splsched, PIL_SCHED)
|
||||
SPLHOLD(spllock, PIL_LOCK)
|
||||
|
||||
SPLHOLD(splipi, PIL_HIGH)
|
||||
|
||||
SPLHOLD(splhigh, PIL_HIGH)
|
||||
|
||||
/* splx does not have a return value */
|
||||
|
@ -437,6 +439,7 @@ SPLHOLD(splhigh, PIL_HIGH)
|
|||
#define spllock() spllockX(__FILE__, __LINE__)
|
||||
#define splhigh() splhighX(__FILE__, __LINE__)
|
||||
#define splx(x) splxX((x),__FILE__, __LINE__)
|
||||
#define splipi() splhighX(__FILE__, __LINE__)
|
||||
|
||||
static __inline void splxX __P((int, const char*, int));
|
||||
static __inline void splxX(newpil, file, line)
|
||||
|
|
Loading…
Reference in New Issue