Changeset 9d3e185 in mainline


Ignore:
Timestamp:
2006-03-20T13:51:27Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
53f9821
Parents:
1b109cb
Message:

Still better syscall calling convention for mips.

File:
1 edited

Legend:

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

    r1b109cb r9d3e185  
    236236#define SS_STATUS 24
    237237#define SS_EPC    28
    238 #define SS_RA     32
    239238uspace_shortcut:
    240239        # We have a lot of space on the stack, with free use
    241240        sw $sp, SS_SP($k0)
    242241        move $sp, $k0
    243         sw $ra, SS_RA($k0)
    244242
    245243        mfc0 $t1, $epc
     
    258256        sw $v0, SS_ARG4($sp)        # save v0 - arg4 to stack
    259257
    260         # Restore RA
    261         lw $ra, SS_RA($sp)
    262        
    263258        # restore epc+4
    264259        lw $t0,SS_EPC($sp)
Note: See TracChangeset for help on using the changeset viewer.