Subject: Just curious: is anybody using "options MULTIPROCESSOR" on macppc?
To: None <port-macppc@netbsd.org>
From: Monroe Williams <monroe@criticalpath.com>
List: port-macppc
Date: 10/20/2001 01:39:20
I just got a -current kernel booting on my dual G4, and just for grins I
thought I'd try building another kernel with "options MULTIPROCESSOR" to see
what happened.

As a first pass, I enabled the option, configured a kernel, and tried to
build it.  A few simple problems that look like cruft cropped up (missing
"void" in inline function declarations, missing prototypes, etc.), and then
I ran into this one in sys/arch/powerpc/powerpc/vm_machdep.c:

    #if !defined(MULTIPROCESSOR) && defined(PPC_HAVE_FPU)
    #define save_fpu_proc(p) save_fpu(p)            /* XXX */
    #endif

which causes "implicit declaration of function `save_fpu_proc'" later in the
file.

Does anyone know off-hand the current state of MP support for macppc?  If I
can get this kernel to build, will it come close to working or just burst
into flames?

Thanks,
-- monroe
------------------------------------------------------------------------
Monroe Williams                                  monroe@criticalpath.com