summaryrefslogtreecommitdiff
path: root/src/cpu/i386/reset16.lds
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/i386/reset16.lds')
-rw-r--r--src/cpu/i386/reset16.lds14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/cpu/i386/reset16.lds b/src/cpu/i386/reset16.lds
new file mode 100644
index 0000000000..80f2fc0c6f
--- /dev/null
+++ b/src/cpu/i386/reset16.lds
@@ -0,0 +1,14 @@
+/*
+ * _ROMTOP : The top of the rom used where we
+ * need to put the reset vector.
+ */
+
+SECTIONS {
+ _ROMTOP = (_ROMBASE >= 0xffff0000)? 0xfffffff0 : 0xffff0;
+ . = _ROMTOP;
+ .reset . : {
+ *(.reset)
+ . = 15 ;
+ BYTE(0x00);
+ }
+}