Bug 390

Summary: missing parameter in function "boot"
Product: Base System Reporter: DI. Christian Gusenbauer <cg>
Component: i386Assignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description DI. Christian Gusenbauer 1995-05-09 12:40:01 UTC
	The bootstrap loader starts the kernel and passes one argument
	"howto" to the kernel. This is also true when using kzip'ed kernels,
	but in "/sys/i386/boot/kzipboot/head.S" the function "_boot" is called
	which puts another int on the stack, so the parameter "howto" of the
	function "boot" refers to the wrong address.

Fix: 

Add a dummy-parameter to the function "boot", like:

		void boot (int dummy, int howto)
How-To-Repeat: 	Just boot a kzip'ed kernel.
Comment 1 Bruce Evans freebsd_committer freebsd_triage 1995-05-17 08:42:44 UTC
State Changed
From-To: open->closed

Fixed in revision 1.2 of kzipboot/head.S.