Changeset 6ef2c11 in mainline for uspace/lib/libc/arch/ppc32
- Timestamp:
- 2010-01-06T20:33:50Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 385a3d6
- Parents:
- 4da7d79 (diff), 23efd30 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- uspace/lib/libc/arch/ppc32
- Files:
-
- 1 added
- 3 edited
-
Makefile.inc (modified) (1 diff)
-
src/entry.s (modified) (1 diff)
-
src/stacktrace.S (added)
-
src/thread_entry.s (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/arch/ppc32/Makefile.inc
r4da7d79 r6ef2c11 35 35 ARCH_SOURCES += arch/$(UARCH)/src/syscall.c \ 36 36 arch/$(UARCH)/src/fibril.S \ 37 arch/$(UARCH)/src/tls.c 37 arch/$(UARCH)/src/tls.c \ 38 arch/$(UARCH)/src/stacktrace.S 38 39 39 40 GCC_CFLAGS += -mcpu=powerpc -msoft-float -m32 -
uspace/lib/libc/arch/ppc32/src/entry.s
r4da7d79 r6ef2c11 38 38 # 39 39 __entry: 40 # 41 # Create the first stack frame. 42 # 43 li %r3, 0 44 stw %r3, 0(%r1) 45 stwu %r1, -16(%r1) 46 40 47 # Pass the PCB pointer to __main() as the first argument. 41 48 # The first argument is passed in r3. -
uspace/lib/libc/arch/ppc32/src/thread_entry.s
r4da7d79 r6ef2c11 35 35 # 36 36 __thread_entry: 37 # 38 # Create the first stack frame. 39 # 40 li %r4, 0 41 stw %r4, 0(%r1) 42 stwu %r1, -16(%r1) 43 37 44 b __thread_main 38 45
Note:
See TracChangeset
for help on using the changeset viewer.
