Subject: CVS commit: src/sys/arch/sparc
To: None <source-changes@netbsd.org>
From: Paul Kranenburg <pk@netbsd.org>
List: source-changes
Date: 02/26/2003 16:25:21
Module Name:	src
Committed By:	pk
Date:		Wed Feb 26 14:25:21 UTC 2003

Modified Files:
	src/sys/arch/sparc/include: promlib.h
	src/sys/arch/sparc/sparc: promlib.c

Log Message:
Re-define `struct memarr' to have the same layout as the V2 ROM memory
property to avoid gratuitous copying in prom_makememarr().

Have prom_makememarr() accept a NULL pointer, in which case it will return
the size of the array needed to store the memory descriptors.


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 src/sys/arch/sparc/include/promlib.h
cvs rdiff -r1.14 -r1.15 src/sys/arch/sparc/sparc/promlib.c

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