about summary refs log tree commit diff stats
path: root/subx/049memory_layout.subx
diff options
context:
space:
mode:
authorKartik Agaram <github@akkartik.com>2019-05-18 00:46:19 -0700
committerGitHub <noreply@github.com>2019-05-18 00:46:19 -0700
commit11e725f277d08031d6b18599612a7bbddac050cd (patch)
treecf52127783efc20bbe8d903d96e73bc51a1f752d /subx/049memory_layout.subx
parent72853d07bb3cfed09f57ee36b582f8f35fee74e4 (diff)
parent83c67014034bbf9072d7e4555b0e51e815a95756 (diff)
downloadmu-11e725f277d08031d6b18599612a7bbddac050cd.tar.gz
Merge pull request #33 from akkartik/new-segment-header
New syntax for segment headers
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