aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/arch/x86/cpu/resetvec.S
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/arch/x86/cpu/resetvec.S')
-rw-r--r--roms/u-boot/arch/x86/cpu/resetvec.S22
1 files changed, 22 insertions, 0 deletions
diff --git a/roms/u-boot/arch/x86/cpu/resetvec.S b/roms/u-boot/arch/x86/cpu/resetvec.S
new file mode 100644
index 00000000..68a5b947
--- /dev/null
+++ b/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