Subject: Re: Merge - part 2
To: Simon Burge <simonb@wasabisystems.com>
From: Matt Thomas <matt@3am-software.com>
List: port-arm32
Date: 02/24/2001 21:25:56
At 04:13 PM 2/25/2001 +1100, Simon Burge wrote:
>Matt Thomas wrote:
>
> > shark_sysctl in arm32/machdep.c will be moved into dnard.  Indeed there
> > should be no ifdefs for RISCPC, SHARK, OFW*, or FOOTBRIDGE/CATS in the
> > shared arm32 code.
>
>What is shark_sysctl()?  I can see a function declaration in
>arm32/machdep.c but I can't find the function itself nor anywhere
>it's called.  To get rid of the MD ifdefs, I'd be leaning towards
>having cpu_sysctl() handling unknown cases with:
>
>         default:
>           return (machdep_sysctl(name, namelen, oldp, oldlenp, newp, 
> newlen, p));
>
>Or is this what you meant?

Not really.  I'd rather have a arm_sysctl that each port cpu_sysctl can call
and if none is needed, they can #define cpu_sysctl arm_sysctl
--
Matt Thomas               Internet:   matt@3am-software.com
3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt/
Cupertino, CA             Disclaimer: I avow all knowledge of this message