Changeset c7c0b89b in mainline for arch/mips32/src/start.S


Ignore:
Timestamp:
2006-04-22T18:05:16Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
613bc54
Parents:
68091bd
Message:

Added uspace call to enable/disable interrupts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/mips32/src/start.S

    r68091bd rc7c0b89b  
    252252        mtc0 $t0, $status
    253253
     254        li $t4, 2                   # SYS_INT_CONTROL
     255        beq $t4, $v0, sysc_int_control
     256        nop
     257       
    254258        # CALL Syscall handler
    255259        jal syscall_handler
    256260        sw $v0, SS_ARG4($sp)        # save v0 - arg4 to stack
    257261
     262sysc_exit:     
    258263        # restore status
    259264        mfc0 $t0, $status
     
    276281        eret
    277282       
     283sysc_int_control:
     284        jal ddi_int_control
     285        addi $a1, $sp, SS_STATUS
     286       
     287        j sysc_exit
     288        nop
     289       
    278290tlb_refill_handler:
    279291        KERNEL_STACK_TO_K0
Note: See TracChangeset for help on using the changeset viewer.