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

	.section ".note.GNU-stack", "", @progbits
	.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"