Changeset 1df1905 in mainline for uspace/lib/c/arch/sparc32/src/thread_entry.s
- Timestamp:
- 2013-12-28T17:30:44Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 41b735f3
- Parents:
- c1023bcb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/sparc32/src/thread_entry.s
rc1023bcb r1df1905 28 28 29 29 .text 30 30 31 31 .globl __thread_entry 32 32 … … 38 38 # Create the first stack frame. 39 39 # 40 40 41 save %sp, -176, %sp 41 # XXX flushw 42 mov 7, %g1 43 1: subcc %g1, 1, %g1 44 bg 1b 45 save %sp, -64, %sp 46 42 ## XXX flushw 47 43 mov 7, %g1 48 1: subcc %g1, 1, %g1 49 bg 1b 50 # XXX end flushw 44 1: 45 subcc %g1, 1, %g1 46 bg 1b 47 save %sp, -64, %sp 48 49 mov 7, %g1 50 1: 51 subcc %g1, 1, %g1 52 bg 1b 53 54 ## XXX end flushw 51 55 set 0x80000000, %fp 52 56 53 57 # 54 58 # Propagate the input arguments to the new window. 55 59 # 60 56 61 mov %i0, %o0 57 62 58 63 sethi %hi(_gp), %l7 59 call __thread_main 64 call __thread_main ! %o0 contains address of uarg 60 65 or %l7, %lo(_gp), %l7 61 66
Note:
See TracChangeset
for help on using the changeset viewer.