summaryrefslogtreecommitdiff
path: root/src/cpu/x86/16bit/reset16.ld
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/x86/16bit/reset16.ld')
-rw-r--r--src/cpu/x86/16bit/reset16.ld16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/cpu/x86/16bit/reset16.ld b/src/cpu/x86/16bit/reset16.ld
new file mode 100644
index 0000000000..a31a580d12
--- /dev/null
+++ b/src/cpu/x86/16bit/reset16.ld
@@ -0,0 +1,16 @@
+/*
+ * _ROMTOP : The top of the rom used where we
+ * need to put the reset vector.
+ */
+
+SECTIONS {
+ /* Trigger an error if I have an unuseable start address */
+ _bogus = ASSERT(_start >= 0xffff0000, "_start too low. Please report.");
+ _ROMTOP = 0xfffffff0;
+ . = _ROMTOP;
+ .reset . : {
+ *(.reset)
+ . = 15 ;
+ BYTE(0x00);
+ }
+}