summaryrefslogtreecommitdiffstats
path: root/qemu/roms/u-boot/arch/x86/cpu/resetvec.S
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/roms/u-boot/arch/x86/cpu/resetvec.S')
-rw-r--r--qemu/roms/u-boot/arch/x86/cpu/resetvec.S22
1 files changed, 22 insertions, 0 deletions
diff --git a/qemu/roms/u-boot/arch/x86/cpu/resetvec.S b/qemu/roms/u-boot/arch/x86/cpu/resetvec.S
new file mode 100644
index 000000000..68a5b947d
--- /dev/null
+++ b/qemu/roms/u-boot/arch/x86/cpu/resetvec.S
@@ -0,0 +1,22 @@
+/*
+ * U-boot - x86 Startup Code
+ *
+ * (C) Copyright 2002
+ * Daniel Engström, Omicron Ceti AB, <daniel@omicron.se>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+/* Reset vector, jumps to start16.S */
+
+.extern start16
+
+.section .resetvec, "ax"
+.code16
+reset_vector:
+ cli
+ cld
+ jmp start16
+
+ .org 0xf
+ nop