Bug 390 - missing parameter in function "boot"
Summary: missing parameter in function "boot"
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: i386 (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1995-05-09 12:40 UTC by DI. Christian Gusenbauer
Modified: 1995-05-09 12:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.