diff --git a/headers/private/kernel/arch/ppc/arch_config.h b/headers/private/kernel/arch/ppc/arch_config.h new file mode 100644 index 0000000000..7ae6e97c43 --- /dev/null +++ b/headers/private/kernel/arch/ppc/arch_config.h @@ -0,0 +1,15 @@ +/* +** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. +** Distributed under the terms of the Haiku License. +*/ +#ifndef _KERNEL_ARCH_PPC_CONFIG_H +#define _KERNEL_ARCH_PPC_CONFIG_H + + +#define FUNCTION_CALL_PARAMETER_ALIGNMENT_TYPE uint32 + +//#define ATOMIC_FUNCS_ARE_SYSCALLS +#define ATOMIC64_FUNCS_ARE_SYSCALLS + + +#endif /* _KERNEL_ARCH_PPC_CONFIG_H */ diff --git a/headers/private/kernel/arch/ppc/arch_cpu.h b/headers/private/kernel/arch/ppc/arch_cpu.h index d8ec8f5ee5..e2c15ff345 100644 --- a/headers/private/kernel/arch/ppc/arch_cpu.h +++ b/headers/private/kernel/arch/ppc/arch_cpu.h @@ -1,6 +1,6 @@ /* -** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved. -** Distributed under the terms of the OpenBeOS License. +** Copyright 2003-2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. +** Distributed under the terms of the Haiku License. */ #ifndef _KERNEL_ARCH_PPC_CPU_H #define _KERNEL_ARCH_PPC_CPU_H @@ -9,15 +9,9 @@ #include #include + #define PAGE_SIZE 4096 -#define _BIG_ENDIAN 1 -#define _LITTLE_ENDIAN 0 - -#define FUNCTION_CALL_PARAMETER_ALIGNMENT_TYPE uint64 - -#define ATOMIC64_FUNCS_ARE_SYSCALLS 1 - struct iframe { uint32 srr0; uint32 srr1;