From 5a6253eeffd3576091ec0e89722bdf5cc53aa47a Mon Sep 17 00:00:00 2001 From: Martin Stein Date: Thu, 6 Feb 2014 01:32:52 +0100 Subject: [PATCH] base: downsize initial main-thread stack As the initial main-thread stack is not used for the whole main-thread life anymore but only for the initialization of the Genode environment it can be downsized to 32Kb for all architectures. ref #989 --- base/src/platform/arm/crt0.s | 2 +- base/src/platform/x86_32/crt0.s | 2 +- base/src/platform/x86_64/crt0.s | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/base/src/platform/arm/crt0.s b/base/src/platform/arm/crt0.s index 33e52e1808..e41114de09 100644 --- a/base/src/platform/arm/crt0.s +++ b/base/src/platform/arm/crt0.s @@ -54,7 +54,7 @@ .p2align 4 .global _stack_low _stack_low: - .space 128 * 1024 + .space 32 * 1024 .global _stack_high _stack_high: diff --git a/base/src/platform/x86_32/crt0.s b/base/src/platform/x86_32/crt0.s index 55888d48f1..3b1d4ae7b9 100644 --- a/base/src/platform/x86_32/crt0.s +++ b/base/src/platform/x86_32/crt0.s @@ -57,7 +57,7 @@ .p2align 4 .global _stack_low _stack_low: - .space 64 * 1024 + .space 32 * 1024 .global _stack_high _stack_high: diff --git a/base/src/platform/x86_64/crt0.s b/base/src/platform/x86_64/crt0.s index e7f6987fcd..c60240a6dc 100644 --- a/base/src/platform/x86_64/crt0.s +++ b/base/src/platform/x86_64/crt0.s @@ -68,7 +68,7 @@ .p2align 8 .global _stack_low _stack_low: - .space 64 * 1024 + .space 32 * 1024 .global _stack_high _stack_high: