Subject: CVS commit: src/sys/arch/hpc/stand/hpcboot
To: None <source-changes@NetBSD.org>
From: Valeriy E. Ushakov <uwe@netbsd.org>
List: source-changes
Date: 03/05/2006 04:04:13
Module Name:	src
Committed By:	uwe
Date:		Sun Mar  5 04:04:13 UTC 2006

Modified Files:
	src/sys/arch/hpc/stand/hpcboot: load_elf.cpp

Log Message:
Loader uses ElfLoader::memorySize to determine the number of tagged
pages to allocate, as some of those pages are only partially filled
(e.g. last page of loadable segment) we may allocate too few tagged
pages and boot will fail.  So lie by reporting extra size for each
partial tagged page.

XXX: This is an ugly hack, but I'm not going to shave this yak.


To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 src/sys/arch/hpc/stand/hpcboot/load_elf.cpp

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