Subject: CVS commit: src/sys/arch
To: None <source-changes@NetBSD.org>
From: Julio M. Merino Vidal <jmmv@netbsd.org>
List: source-changes
Date: 12/30/2005 13:37:57
Module Name:	src
Committed By:	jmmv
Date:		Fri Dec 30 13:37:57 UTC 2005

Modified Files:
	src/sys/arch/amd64/amd64: machdep.c
	src/sys/arch/i386/i386: machdep.c
	src/sys/arch/x86/conf: files.x86
	src/sys/arch/x86/include: bootinfo.h
	src/sys/arch/xen/conf: files.xen
	src/sys/arch/xen/i386: machdep.c
Added Files:
	src/sys/arch/x86/x86: x86_machdep.c

Log Message:
Add a 'struct bootinfo' to represent the bootinfo structure used in the
kernel by x86 platforms (instead of a simple char *).  This way, the code
in, e.g., lookup_bootinfo, is a bit easier to understand.

While here, move the lookup_bootinfo function used in x86 platforms (amd64,
i386 and xen) to a common file (x86/x86_machdep.c), as it was exactly the
same in all of them.


To generate a diff of this commit:
cvs rdiff -r1.36 -r1.37 src/sys/arch/amd64/amd64/machdep.c
cvs rdiff -r1.568 -r1.569 src/sys/arch/i386/i386/machdep.c
cvs rdiff -r1.14 -r1.15 src/sys/arch/x86/conf/files.x86
cvs rdiff -r1.9 -r1.10 src/sys/arch/x86/include/bootinfo.h
cvs rdiff -r0 -r1.1 src/sys/arch/x86/x86/x86_machdep.c
cvs rdiff -r1.31 -r1.32 src/sys/arch/xen/conf/files.xen
cvs rdiff -r1.22 -r1.23 src/sys/arch/xen/i386/machdep.c

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