2003-05-03 16:49:57 +04:00
|
|
|
/*
|
|
|
|
** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
|
|
|
** Distributed under the terms of the OpenBeOS License.
|
|
|
|
*/
|
|
|
|
#ifndef _KERNEL_ARCH_PPC_CPU_H
|
|
|
|
#define _KERNEL_ARCH_PPC_CPU_H
|
|
|
|
|
|
|
|
#include <arch/ppc/thread_struct.h>
|
|
|
|
|
|
|
|
#define PAGE_SIZE 4096
|
|
|
|
|
|
|
|
#define _BIG_ENDIAN 1
|
|
|
|
#define _LITTLE_ENDIAN 0
|
|
|
|
|
2003-08-22 03:02:00 +04:00
|
|
|
#define ATOMIC64_FUNCS_ARE_SYSCALLS 1
|
|
|
|
|
2003-05-03 16:49:57 +04:00
|
|
|
struct iframe {
|
|
|
|
};
|
|
|
|
|
2003-10-08 04:28:07 +04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern uint32 get_sdr1(void);
|
|
|
|
extern uint32 set_sdr1(uint32 value);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2003-05-03 16:49:57 +04:00
|
|
|
#endif /* _KERNEL_ARCH_PPC_CPU_H */
|