Provide cpu_boot_secondary_cpus().
This commit is contained in:
parent
a07b7d60e2
commit
18ab712015
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: cpu.h,v 1.34 1999/10/04 19:11:43 pk Exp $ */
|
||||
/* $NetBSD: cpu.h,v 1.35 1999/12/16 20:24:59 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -63,6 +63,10 @@
|
|||
* Exported definitions unique to SPARC cpu support.
|
||||
*/
|
||||
|
||||
#if !defined(_LKM)
|
||||
#include "opt_multiprocessor.h"
|
||||
#endif
|
||||
|
||||
#include <machine/psl.h>
|
||||
#include <sparc/sparc/intreg.h>
|
||||
|
||||
|
@ -75,6 +79,10 @@
|
|||
#define cpu_wait(p) /* nothing */
|
||||
#define cpu_number() 0 /* XXX */
|
||||
|
||||
#if defined(MULTIPROCESSOR)
|
||||
void cpu_boot_secondary_processors __P((void));
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Arguments to hardclock, softclock and gatherstats encapsulate the
|
||||
* previous machine state in an opaque clockframe. The ipl is here
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: cpu.c,v 1.96 1999/11/27 14:54:53 mrg Exp $ */
|
||||
/* $NetBSD: cpu.c,v 1.97 1999/12/16 20:24:58 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996
|
||||
|
@ -334,6 +334,22 @@ static int cpu_number;
|
|||
#endif /* MULTIPROCESSOR */
|
||||
}
|
||||
|
||||
#if defined(MULTIPROCESSOR)
|
||||
/*
|
||||
* Start secondary processors in motion.
|
||||
*/
|
||||
void
|
||||
cpu_boot_secondary_processors()
|
||||
{
|
||||
|
||||
/*
|
||||
* XXX This is currently a noop; the CPUs are already running, but
|
||||
* XXX aren't doing anything. Eventually, this will release a
|
||||
* XXX semaphore that all those secondary processors are anxiously
|
||||
* XXX waiting on.
|
||||
*/
|
||||
}
|
||||
#endif /* MULTIPROCESSOR */
|
||||
|
||||
/* */
|
||||
void *cpu_hatchstack = 0;
|
||||
|
|
Loading…
Reference in New Issue