diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-01-17 14:41:44 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-01-17 14:41:44 +0000 |
commit | 22e39d084eaa3b058ec34964156511fe963ce4d4 (patch) | |
tree | 0566e56ab0131abd998692127a2deea8d845a17d /extras/mini-os/arch/x86/x86_64.S | |
parent | e2edfe6c73a287989911630a070c3e6c1137446f (diff) | |
download | xen-22e39d084eaa3b058ec34964156511fe963ce4d4.tar.gz xen-22e39d084eaa3b058ec34964156511fe963ce4d4.tar.bz2 xen-22e39d084eaa3b058ec34964156511fe963ce4d4.zip |
minios: make stack size configurable
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
Diffstat (limited to 'extras/mini-os/arch/x86/x86_64.S')
-rw-r--r-- | extras/mini-os/arch/x86/x86_64.S | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/extras/mini-os/arch/x86/x86_64.S b/extras/mini-os/arch/x86/x86_64.S index 815dca36ad..fae2ae4cf5 100644 --- a/extras/mini-os/arch/x86/x86_64.S +++ b/extras/mini-os/arch/x86/x86_64.S @@ -1,4 +1,5 @@ #include <os.h> +#include <arch_mm.h> #include <xen/features.h> .section __xen_guest @@ -18,12 +19,12 @@ _start: cld movq stack_start(%rip),%rsp - andq $(~(8192-1)), %rsp + andq $(~(STACK_SIZE-1)), %rsp movq %rsi,%rdi call start_kernel stack_start: - .quad stack+(2*8192) + .quad stack+(2*STACK_SIZE) /* Unpleasant -- the PTE that maps this page is actually overwritten */ /* to map the real shared-info page! :-) */ |