about summary refs log tree commit diff stats
path: root/subx/049memory_layout.subx
diff options
context:
space:
mode:
Diffstat (limited to 'subx/049memory_layout.subx')
-rw-r--r--subx/049memory_layout.subx8
1 files changed, 8 insertions, 0 deletions
diff --git a/subx/049memory_layout.subx b/subx/049memory_layout.subx
new file mode 100644
index 00000000..36837ade
--- /dev/null
+++ b/subx/049memory_layout.subx
@@ -0,0 +1,8 @@
+# Segment addresses aren't really the concern of any other layer, so we'll
+# define them separately. They're approximate due to fidgety ELF alignment
+# requirements, so don't get clever assuming variables are at specific
+# addresses.
+
+== code 0x09000000
+
+== data 0x0a000000