Subject: Re: CVS commit: syssrc/sys/arch
To: None <undisclosed-recipients>
From: Simon Burge <simonb@thistledown.com.au>
List: source-changes
Date: 03/04/2002 11:58:16
------- Blind-Carbon-Copy

From: Simon Burge <simonb@wasabisystems.com>
Organization: Wasabi Systems, Inc.
To: uch@netbsd.org
Cc: port-sh3@netbsd.org
Subject: Re: CVS commit: syssrc/sys/arch 
In-Reply-To: Your message of "Sun, 3 Mar 2002 16:28:52 +0200 (EET) "
	<20020303142852.48991B004@cvs.netbsd.org> 
Date: Mon, 04 Mar 2002 11:58:16 +1100
Sender: simonb@thoreau.thistledown.com.au

[ Bcc'd to source-changes, followups to port-sh3 please ]

UCHIYAMA Yasushi wrote:

> Module Name:	syssrc
> Committed By:	uch
> Date:		Sun Mar  3 14:28:51 UTC 2002
> 
> Modified Files:
> 
> 	syssrc/sys/arch/dreamcast/dreamcast: machdep.c
> 	syssrc/sys/arch/dreamcast/include: cpu.h
> 	syssrc/sys/arch/evbsh3/evbsh3: machdep.c
> 	syssrc/sys/arch/evbsh3/include: cpu.h
> 	syssrc/sys/arch/hpcsh/hpcsh: machdep.c
> 	syssrc/sys/arch/hpcsh/include: cpu.h
> 	syssrc/sys/arch/mmeye/include: cpu.h
> 	syssrc/sys/arch/mmeye/mmeye: machdep.c
> 	syssrc/sys/arch/sh3/include: cpu.h
> 
> Log Message:
> 
> machine dependent sysctl are moved to machine/cpu.h
> 	dreamcast, hpcsh ... CPU_CONSDEV
> 	mmeye, evbsh3	 ... CPU_CONSDEV, CPU_LOADANDRESET

The reason for having all the machdep sysctl info in the cpu-wide
cpu.h is so that you can share the sysctl(8) binary (and possibly
others) across all ports that use the same processor.  Now, for
example, you can't query CPU_LOADANDRESET on mmeye and evbsh3
with a sysctl(8) binary built on dreamcast or hpcsh.

Simon.
- --
Simon Burge                            <simonb@wasabisystems.com>
NetBSD CDs, Support and Service:    http://www.wasabisystems.com/

------- End of Blind-Carbon-Copy