Changeset 86018c1 in mainline for uspace/lib
- Timestamp:
- 2010-01-24T19:48:56Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8e33e1d
- Parents:
- eeb643d
- Location:
- uspace/lib/libc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/arch/sparc64/src/thread_entry.s
reeb643d r86018c1 38 38 # Create the first stack frame. 39 39 # 40 save %sp, -176, %sp 41 flushw 42 add %g0, -0x7ff, %fp 40 41 # MH 42 #save %sp, -176, %sp 43 #flushw 44 #add %g0, -0x7ff, %fp 43 45 44 46 sethi %hi(_gp), %l7 -
uspace/lib/libc/generic/thread.c
reeb643d r86018c1 41 41 #include <string.h> 42 42 #include <async.h> 43 #include <stdio.h> 43 44 44 45 #ifndef THREAD_INITIAL_STACK_PAGES_NO … … 62 63 __tcb_set(f->tcb); 63 64 65 // MH 66 printf("uarg: %lx\n", uarg); 64 67 uarg->uspace_thread_function(uarg->uspace_thread_arg); 65 68 /* XXX: we cannot free the userspace stack while running on it */
Note:
See TracChangeset
for help on using the changeset viewer.