summaryrefslogtreecommitdiffstats
path: root/src/arch/x86/prefix/mbr.S
blob: 032c0e775f12021ad6772c2198084e6fa0cb53f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

	.text
	.arch i386
	.section ".prefix", "awx", @progbits
	.code16
	.org 0

	.globl mbr
mbr:
	movw	$exec_sector, %bp
	jmp	find_active_partition
exec_sector:
	ljmp	$0x0000, $0x7c00

#include "bootpart.S"