mirror of
https://github.com/ipxe/ipxe
synced 2026-01-01 09:09:32 +03:00
Added active partition locator, and simple MBR built using it.
This commit is contained in:
13
src/arch/i386/prefix/mbr.S
Normal file
13
src/arch/i386/prefix/mbr.S
Normal 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"
|
||||
Reference in New Issue
Block a user