papermario/ver/ique/asm/os/unmaptlb.s
AltoXorg b171712e0e
Match libultra iQue ver (#1111)
* match libultra ique pt 1

* add sgidefs.h to include/gcc

* recvmesg match + _getcount

* add elfpatch.py for those compiled with -mips3

* pt 2

* os/setthreadpri(.data) -> os/thread

* os thread matches

* os timer matches

* pt 4 (erm... 3?)

* vitbl

* os pi matches

* pt. uhmmmm, i've lost track...

* os pfs matches

* replace elfpatch.py

* pt. just forget it...

* outsource from ultralib ique branch

* .

* . 2

* final blow

* add egcs compiler to Jenkinsfile

* fix errors from CI

* minor changes as requested
2023-08-17 02:29:21 +09:00

30 lines
1.2 KiB
ArmAsm

.include "macro.inc"
/* assembler directives */
.set noat /* allow manual use of $at */
.set noreorder /* don't insert nops after branches */
.set gp=64 /* allow use of 64-bit general purpose registers */
.section .text, "ax"
/* Generated by spimdisasm 1.11.1 */
# Handwritten function
glabel osUnmapTLB
/* 402E0 80064EE0 40085000 */ mfc0 $t0, $10 # handwritten instruction
/* 402E4 80064EE4 40840000 */ mtc0 $a0, $0 # handwritten instruction
/* 402E8 80064EE8 3C098000 */ lui $t1, (0x80000000 >> 16)
/* 402EC 80064EEC 40895000 */ mtc0 $t1, $10 # handwritten instruction
/* 402F0 80064EF0 40801000 */ mtc0 $zero, $2 # handwritten instruction
/* 402F4 80064EF4 40801800 */ mtc0 $zero, $3 # handwritten instruction
/* 402F8 80064EF8 00000000 */ nop
/* 402FC 80064EFC 42000002 */ tlbwi # handwritten instruction
/* 40300 80064F00 00000000 */ nop
/* 40304 80064F04 00000000 */ nop
/* 40308 80064F08 00000000 */ nop
/* 4030C 80064F0C 00000000 */ nop
/* 40310 80064F10 40885000 */ mtc0 $t0, $10 # handwritten instruction
/* 40314 80064F14 03E00008 */ jr $ra
/* 40318 80064F18 00000000 */ nop
/* 4031C 80064F1C 00000000 */ nop