From 75df143732f533d02f9b3b3043de1308bca3e934 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 1 Sep 2004 20:15:19 +0000 Subject: [PATCH] Introduced a macro specifying the type function parameters are aligned to. Not nice, but seems to help with the automatic generation of syscall code (at least on x86). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8783 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/arch/ppc/arch_cpu.h | 2 ++ headers/private/kernel/arch/x86/arch_cpu.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/headers/private/kernel/arch/ppc/arch_cpu.h b/headers/private/kernel/arch/ppc/arch_cpu.h index b49dca7d98..d8ec8f5ee5 100644 --- a/headers/private/kernel/arch/ppc/arch_cpu.h +++ b/headers/private/kernel/arch/ppc/arch_cpu.h @@ -14,6 +14,8 @@ #define _BIG_ENDIAN 1 #define _LITTLE_ENDIAN 0 +#define FUNCTION_CALL_PARAMETER_ALIGNMENT_TYPE uint64 + #define ATOMIC64_FUNCS_ARE_SYSCALLS 1 struct iframe { diff --git a/headers/private/kernel/arch/x86/arch_cpu.h b/headers/private/kernel/arch/x86/arch_cpu.h index c80e856b5d..c313f662c6 100644 --- a/headers/private/kernel/arch/x86/arch_cpu.h +++ b/headers/private/kernel/arch/x86/arch_cpu.h @@ -14,6 +14,8 @@ #define _BIG_ENDIAN 0 #define _LITTLE_ENDIAN 1 +#define FUNCTION_CALL_PARAMETER_ALIGNMENT_TYPE uint32 + struct tss { uint16 prev_task; uint16 unused0;