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:
@@ -0,0 +1,15 @@
|
|||||||
|
/*
|
||||||
|
** Copyright 2004, Axel Dörfler, [email protected]. 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, [email protected]. All rights reserved.
|
** Copyright 2003-2004, Axel Dörfler, [email protected]. All rights reserved.
|
||||||
** Distributed under the terms of the OpenBeOS License.
|
** Distributed under the terms of the Haiku License.
|
||||||
*/
|
*/
|
||||||
#ifndef _KERNEL_ARCH_PPC_CPU_H
|
#ifndef _KERNEL_ARCH_PPC_CPU_H
|
||||||
#define _KERNEL_ARCH_PPC_CPU_H
|
#define _KERNEL_ARCH_PPC_CPU_H
|
||||||
@@ -9,15 +9,9 @@
|
|||||||
#include <arch/ppc/thread_struct.h>
|
#include <arch/ppc/thread_struct.h>
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
|
|
||||||
|
|
||||||
#define PAGE_SIZE 4096
|
#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 {
|
struct iframe {
|
||||||
uint32 srr0;
|
uint32 srr0;
|
||||||
uint32 srr1;
|
uint32 srr1;
|
||||||
|
|||||||
Reference in New Issue
Block a user