Changeset b755225 in mainline


Ignore:
Timestamp:
2008-12-27T00:24:42Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ac48fef
Parents:
d3e6935
Message:

Support for preemptible syscalls on sparc64.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/trap/trap_table.S

    rd3e6935 rb755225  
    607607.else
    608608        /*
    609          * Call the higher-level syscall handler.
     609         * Call the higher-level syscall handler and enable interrupts.
    610610         */
    611611        call syscall_handler
    612         nop
     612        wrpr %g0, PSTATE_PRIV_BIT | PSTATE_PEF_BIT | PSTATE_IE_BIT, %pstate
    613613        mov %o0, %i0                            ! copy the value returned by the syscall
    614614.endif
Note: See TracChangeset for help on using the changeset viewer.