Added the arch_config.h file for PPC, moved some stuff out of arch_cpu.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8913 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
fc69f2f4f9
commit
e03f6fcfe2
15
headers/private/kernel/arch/ppc/arch_config.h
Normal file
15
headers/private/kernel/arch/ppc/arch_config.h
Normal file
@ -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 */
|
@ -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 <arch/ppc/thread_struct.h>
|
||||
#include <kernel.h>
|
||||
|
||||
|
||||
#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;
|
||||
|
Loading…
Reference in New Issue
Block a user