summaryrefslogtreecommitdiff
path: root/asm/os/__osRestoreInt.s
blob: 3369d116aa4bb28b6ee538bedd7cf049ab688298 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.set noreorder # don't insert nops after branches
.set gp=64

.include "macros.inc"


.section .text, "ax"

glabel __osRestoreInt
    mfc0  $t0, C0_SR
    or    $t0, $t0, $a0
    mtc0  $t0, C0_SR
    nop
    nop
    jr    $ra
     nop

    nop