Added active partition locator, and simple MBR built using it.
[people/xl0/gpxe-arm.git] / src / arch / i386 / prefix / mbr.S
1         .text
2         .arch i386
3         .section ".prefix", "awx", @progbits
4         .code16
5         .org 0
6
7 mbr:
8         movw    $exec_sector, %bp
9         jmp     find_active_partition
10 exec_sector:
11         ljmp    $0x0000, $0x7c00
12
13 #include "bootpart.S"