From 99daf65959d5f1b5e389f354afad67c1f371fa6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 18 Nov 2004 14:43:28 +0000 Subject: [PATCH] Added definitions that describe the stack direction. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10007 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/arch/ppc/arch_config.h | 8 +++++--- headers/private/kernel/arch/x86/arch_config.h | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/headers/private/kernel/arch/ppc/arch_config.h b/headers/private/kernel/arch/ppc/arch_config.h index 4e0c4aca5d..1c57d08987 100644 --- a/headers/private/kernel/arch/ppc/arch_config.h +++ b/headers/private/kernel/arch/ppc/arch_config.h @@ -1,13 +1,15 @@ /* -** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. -** Distributed under the terms of the Haiku License. -*/ + * Copyright 2004, Axel Dörfler, axeld@pinc-software.de. + * Distributed under the terms of the MIT License. + */ #ifndef _KERNEL_ARCH_PPC_CONFIG_H #define _KERNEL_ARCH_PPC_CONFIG_H #define FUNCTION_CALL_PARAMETER_ALIGNMENT_TYPE unsigned int +#define STACK_GROWS_DOWNWARDS + //#define ATOMIC_FUNCS_ARE_SYSCALLS #define ATOMIC64_FUNCS_ARE_SYSCALLS diff --git a/headers/private/kernel/arch/x86/arch_config.h b/headers/private/kernel/arch/x86/arch_config.h index 9718fb117b..5380954ad8 100644 --- a/headers/private/kernel/arch/x86/arch_config.h +++ b/headers/private/kernel/arch/x86/arch_config.h @@ -1,12 +1,14 @@ /* -** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. -** Distributed under the terms of the Haiku License. -*/ + * Copyright 2004, Axel Dörfler, axeld@pinc-software.de. + * Distributed under the terms of the MIT License. + */ #ifndef _KERNEL_ARCH_x86_CONFIG_H #define _KERNEL_ARCH_x86_CONFIG_H #define FUNCTION_CALL_PARAMETER_ALIGNMENT_TYPE unsigned int +#define STACK_GROWS_DOWNWARDS + //#define ATOMIC_FUNCS_ARE_SYSCALLS //#define ATOMIC64_FUNCS_ARE_SYSCALLS