summaryrefslogtreecommitdiffstats
path: root/sys/pc98/boot/kzipboot/tail.S
blob: 5dcee9c5a89f0ce6b81e6e674efb683c811cde47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*
 * Boot unpacker startup routine.
 * Copyright (C) Serge Vakulenko
 */
	.text
	.globl	tail
tail:
	cli				# disable interrupts
	pushl	4(%esp)			# pass howto arg
	call	_boot			# unpack the kernel image
	popl	%eax			# discard howto arg
	ljmp	$CSEG, $KADDR		# jump to unpacked kernel
OpenPOWER on IntegriCloud