Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / ipxe / src / arch / i386 / prefix / mbr.S
diff --git a/qemu/roms/ipxe/src/arch/i386/prefix/mbr.S b/qemu/roms/ipxe/src/arch/i386/prefix/mbr.S
new file mode 100644 (file)
index 0000000..adfe204
--- /dev/null
@@ -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"