Changeset 29a9f62 in mainline for libc/arch/mips32/src/thread_entry.s


Ignore:
Timestamp:
2006-03-23T10:33:55Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
77bd004
Parents:
1cef26f
Message:

Added symbolic links 'libarch','libadt','libipc' into libc/include,
so that it can be easily used from anywhere.
Renamed thread_main to thread_main.
Allowed MIPS to compile with -O0.
Added non-preemptible threads support (not yet secured by futexes).
Added simple way to hold Thread Local Storage. Support for compiler
will be added later.
This update breaks IA64 uspace.

There is some forgotten spinlock_lock() in futexes, amd64 gets locked
in the secod uspace thread probably with preemption disabled.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libc/arch/mips32/src/thread_entry.s

    r1cef26f r29a9f62  
    3838#
    3939#
     40.ent __thread_entry
    4041__thread_entry:
    4142        lui $28, _gp
     
    4546        #
    4647        add $4, $2, 0
    47         jal thread_main
     48        # Mips o32 may store its arguments on stack, make space
     49        addiu $sp, -16
     50       
     51        j __thread_main
    4852        nop
    49        
     53               
    5054        #
    5155        # Not reached.
    5256        #
     57.end __thread_entry
Note: See TracChangeset for help on using the changeset viewer.