papermario/ver/ique/asm/os/unmaptlball.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

35 lines
1.4 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 osUnmapTLBAll
/* 40320 80064F20 40085000 */ mfc0 $t0, $10 # handwritten instruction
/* 40324 80064F24 2409001E */ addiu $t1, $zero, 0x1E
/* 40328 80064F28 3C0A8000 */ lui $t2, (0x80000000 >> 16)
/* 4032C 80064F2C 408A5000 */ mtc0 $t2, $10 # handwritten instruction
/* 40330 80064F30 40801000 */ mtc0 $zero, $2 # handwritten instruction
/* 40334 80064F34 40801800 */ mtc0 $zero, $3 # handwritten instruction
.LIQUE_80064F38:
/* 40338 80064F38 40890000 */ mtc0 $t1, $0 # handwritten instruction
/* 4033C 80064F3C 00000000 */ nop
/* 40340 80064F40 42000002 */ tlbwi # handwritten instruction
/* 40344 80064F44 00000000 */ nop
/* 40348 80064F48 00000000 */ nop
/* 4034C 80064F4C 2129FFFF */ addi $t1, $t1, -0x1 # handwritten instruction
/* 40350 80064F50 0521FFF9 */ bgez $t1, .LIQUE_80064F38
/* 40354 80064F54 00000000 */ nop
/* 40358 80064F58 40885000 */ mtc0 $t0, $10 # handwritten instruction
/* 4035C 80064F5C 03E00008 */ jr $ra
/* 40360 80064F60 00000000 */ nop
/* 40364 80064F64 00000000 */ nop
/* 40368 80064F68 00000000 */ nop
/* 4036C 80064F6C 00000000 */ nop