Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: syssrc/sys/arch



------- Blind-Carbon-Copy

From: Simon Burge <simonb%wasabisystems.com@localhost>
Organization: Wasabi Systems, Inc.
To: uch%netbsd.org@localhost
Cc: port-sh3%netbsd.org@localhost
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@localhost> 
Date: Mon, 04 Mar 2002 11:58:16 +1100
Sender: simonb%thoreau.thistledown.com.au@localhost

[ 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@localhost>
NetBSD CDs, Support and Service:    http://www.wasabisystems.com/

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



Home | Main Index | Thread Index | Old Index