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