Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1400 → Rev 1399

/uspace/trunk/libc/arch/ppc64/Makefile.inc
File deleted
/uspace/trunk/libc/arch/ppc64/src/entry.s
File deleted
/uspace/trunk/libc/arch/ppc64/src/thread.c
File deleted
/uspace/trunk/libc/arch/ppc64/src/thread_entry.s
File deleted
/uspace/trunk/libc/arch/ppc64/src/syscall.c
File deleted
/uspace/trunk/libc/arch/ppc64/src/psthread.S
File deleted
/uspace/trunk/libc/arch/ppc64/_link.ld.in
File deleted
/uspace/trunk/libc/arch/ppc64/include/stackarg.h
File deleted
/uspace/trunk/libc/arch/ppc64/include/limits.h
File deleted
/uspace/trunk/libc/arch/ppc64/include/types.h
File deleted
/uspace/trunk/libc/arch/ppc64/include/thread.h
File deleted
/uspace/trunk/libc/arch/ppc64/include/psthread.h
File deleted
/uspace/trunk/libc/arch/ppc64/include/context_offset.h
File deleted
/uspace/trunk/libc/arch/ppc64/include/atomic.h
File deleted
/uspace/trunk/libc/arch/ppc64/include/regname.h
File deleted
/uspace/trunk/libc/arch/ppc64/include/endian.h
File deleted
/uspace/trunk/libc/arch/ppc32/Makefile.inc
36,6 → 36,5
arch/$(ARCH)/src/psthread.S \
arch/$(ARCH)/src/thread.c
 
CFLAGS += -mcpu=powerpc -msoft-float -m32
AFLAGS += -a32
CFLAGS += -msoft-float
LFLAGS += -N
/uspace/trunk/libc/arch/ppc32/include/limits.h
29,9 → 29,11
#ifndef __ppc32__LIMITS_H__
#define __ppc32__LIMITS_H__
 
#define LONG_MIN MIN_INT32
#define LONG_MAX MAX_INT32
#define ULONG_MIN MIN_UINT32
#define ULONG_MAX MAX_UINT32
# define LONG_MIN MIN_INT32
# define LONG_MAX MAX_INT32
# define ULONG_MIN MIN_UINT32
# define ULONG_MAX MAX_UINT32
 
#endif
 
 
/uspace/trunk/libc/arch/ppc32/include/thread.h
29,6 → 29,18
#ifndef __LIBC__ppc32__THREAD_H__
#define __LIBC__ppc32__THREAD_H__
 
/* I did not find any specification (neither MIPS nor PowerPC), but
* as I found it
* - it uses Variant II
* - TCB is at Address(First TLS Block)+0x7000.
* - DTV is at Address(First TLS Block)+0x8000
* - What would happen if the TLS data was larger then 0x7000?
* - The linker never accesses DTV directly, has the second definition any
* sense?
* We will make it this way:
* - TCB is at TP-0x7000-sizeof(tcb)
* - No assumption about DTV etc., but it will not have a fixed address
*/
#define PPC_TP_OFFSET 0x7000
 
typedef struct {
/uspace/trunk/libc/arch/ppc32/include/endian.h
36,3 → 36,5
#define __BYTE_ORDER __BIG_ENDIAN
 
#endif