summaryrefslogtreecommitdiffstats
path: root/src/VBox/Devices/PC/ipxe/src/arch/x86/prefix/mbr.S
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/VBox/Devices/PC/ipxe/src/arch/x86/prefix/mbr.S16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/VBox/Devices/PC/ipxe/src/arch/x86/prefix/mbr.S b/src/VBox/Devices/PC/ipxe/src/arch/x86/prefix/mbr.S
new file mode 100644
index 00000000..032c0e77
--- /dev/null
+++ b/src/VBox/Devices/PC/ipxe/src/arch/x86/prefix/mbr.S
@@ -0,0 +1,16 @@
+FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )
+
+ .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"