- Timestamp:
- 2006-05-21T20:56:14Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6862338
- Parents:
- 233fead
- Location:
- libc/arch
- Files:
-
- 16 added
- 4 edited
-
ppc32/Makefile.inc (modified) (1 diff)
-
ppc32/include/endian.h (modified) (1 diff)
-
ppc32/include/limits.h (modified) (1 diff)
-
ppc32/include/thread.h (modified) (1 diff)
-
ppc64/Makefile.inc (added)
-
ppc64/_link.ld.in (added)
-
ppc64/include/atomic.h (added)
-
ppc64/include/context_offset.h (added)
-
ppc64/include/endian.h (added)
-
ppc64/include/limits.h (added)
-
ppc64/include/psthread.h (added)
-
ppc64/include/regname.h (added)
-
ppc64/include/stackarg.h (added)
-
ppc64/include/thread.h (added)
-
ppc64/include/types.h (added)
-
ppc64/src/entry.s (added)
-
ppc64/src/psthread.S (added)
-
ppc64/src/syscall.c (added)
-
ppc64/src/thread.c (added)
-
ppc64/src/thread_entry.s (added)
Legend:
- Unmodified
- Added
- Removed
-
libc/arch/ppc32/Makefile.inc
r233fead r5b4f9e1 37 37 arch/$(ARCH)/src/thread.c 38 38 39 CFLAGS += -msoft-float 39 CFLAGS += -mcpu=powerpc -msoft-float -m32 40 AFLAGS += -a32 40 41 LFLAGS += -N -
libc/arch/ppc32/include/endian.h
r233fead r5b4f9e1 37 37 38 38 #endif 39 40 -
libc/arch/ppc32/include/limits.h
r233fead r5b4f9e1 30 30 #define __ppc32__LIMITS_H__ 31 31 32 # define LONG_MIN MIN_INT3233 # define LONG_MAX MAX_INT3234 # define ULONG_MIN MIN_UINT3235 # define ULONG_MAX MAX_UINT3232 #define LONG_MIN MIN_INT32 33 #define LONG_MAX MAX_INT32 34 #define ULONG_MIN MIN_UINT32 35 #define ULONG_MAX MAX_UINT32 36 36 37 37 #endif 38 39 -
libc/arch/ppc32/include/thread.h
r233fead r5b4f9e1 30 30 #define __LIBC__ppc32__THREAD_H__ 31 31 32 /* I did not find any specification (neither MIPS nor PowerPC), but33 * as I found it34 * - it uses Variant II35 * - TCB is at Address(First TLS Block)+0x7000.36 * - DTV is at Address(First TLS Block)+0x800037 * - What would happen if the TLS data was larger then 0x7000?38 * - The linker never accesses DTV directly, has the second definition any39 * sense?40 * We will make it this way:41 * - TCB is at TP-0x7000-sizeof(tcb)42 * - No assumption about DTV etc., but it will not have a fixed address43 */44 32 #define PPC_TP_OFFSET 0x7000 45 33
Note:
See TracChangeset
for help on using the changeset viewer.
