Subject: CVS commit: syssrc/sys/arch
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 02/12/2002 08:58:21
Module Name:	syssrc
Committed By:	thorpej
Date:		Tue Feb 12 06:58:20 UTC 2002

Modified Files:
	syssrc/sys/arch/acorn32/include: param.h
	syssrc/sys/arch/arm/include: param.h
	syssrc/sys/arch/arm26/include: param.h
	syssrc/sys/arch/cats/include: param.h
	syssrc/sys/arch/evbarm/include: param.h
	syssrc/sys/arch/hpcarm/include: param.h
	syssrc/sys/arch/netwinder/include: param.h
	syssrc/sys/arch/shark/include: param.h

Log Message:
* For platforms which are already ELF, remove the definition of
  MACHINE_ARCH since <arm/param.h> already sets it correctly to "arm".
* For platforms which are not yet ELF, defined MACHINE_ARCH to "arm32"
  if __ELF__ is not defined by the C preprocessor.
* In <arm/param.h>, clarify the rules about when MACHINE and
  MACHINE_ARCH are defined, and to what.  Also, for ELF platforms,
  int the non-_KERNEL case, force both MACHINE and MACHINE_ARCH to "arm",
  rather than allowing platform-specifc code to define either.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 syssrc/sys/arch/acorn32/include/param.h
cvs rdiff -r1.4 -r1.5 syssrc/sys/arch/arm/include/param.h
cvs rdiff -r1.13 -r1.14 syssrc/sys/arch/arm26/include/param.h
cvs rdiff -r1.3 -r1.4 syssrc/sys/arch/cats/include/param.h
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/evbarm/include/param.h
cvs rdiff -r1.4 -r1.5 syssrc/sys/arch/hpcarm/include/param.h
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/netwinder/include/param.h
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/shark/include/param.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.