From dcc47639144f50a72b7597cc1e129bafaa021822 Mon Sep 17 00:00:00 2001 From: whitequark Date: Thu, 7 Jan 2016 18:27:38 +0000 Subject: [PATCH] Remove kernel-related constants from runtime.ld. It's not used anywhere and it's one more place to adjust, which will someday lead to obscure copy-paste bugs. --- artiq/runtime/runtime.ld | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/artiq/runtime/runtime.ld b/artiq/runtime/runtime.ld index 0d5f590d7..ad575a097 100644 --- a/artiq/runtime/runtime.ld +++ b/artiq/runtime/runtime.ld @@ -10,13 +10,6 @@ MEMORY { runtime : ORIGIN = 0x40000000, LENGTH = 0x800000 /* 8M */ } -/* First 4M of main memory are reserved for runtime code/data - * then comes kernel memory. First 32K of kernel memory are for support code. - */ -MEMORY { - kernel : ORIGIN = 0x40800000, LENGTH = 0x8000 -} - /* Kernel memory space start right after the runtime, * and ends before the runtime stack. * Runtime stack is always at the end of main_ram. @@ -24,11 +17,6 @@ MEMORY { */ PROVIDE(_fstack = 0x40000000 + LENGTH(main_ram) - 4); -/* On AMP systems, kernel stack is at the end of main RAM, - * before the runtime stack. Leave 1M for runtime stack. - */ -PROVIDE(_kernel_fstack = 0x40000000 + LENGTH(main_ram) - 1024*1024 - 4); - SECTIONS { .text :