Added master boot record capable of locating active partition

(including logical partitions).
This commit is contained in:
Michael Brown
2007-07-05 00:05:26 +01:00
parent 5e3f2247e0
commit 844d088c51
2 changed files with 203 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
.text
.arch i386
.section ".prefix", "awx", @progbits
.code16
.org 0
mbr:
movw $exec_sector, %bp
jmp find_active_partition
exec_sector:
ljmp $0x0000, $0x7c00
#include "bootpart.S"