summaryrefslogtreecommitdiffstats
path: root/src/arch/x86/prefix/mbr.S
blob: 5e0ed5ddb5c2ceca594f1f0bcbcb9ea683c42fcb (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 )

	.section ".note.GNU-stack", "", @progbits
	.code16
	.arch i386
	.section ".prefix", "awx", @progbits
	.org 0

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

#include "bootpart.S"