mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +01:00
b171712e0e
* 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
28 lines
1.0 KiB
ArmAsm
28 lines
1.0 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.16.0 */
|
|
|
|
# Handwritten function
|
|
glabel osWritebackDCacheAll
|
|
/* 3BA80 80060680 3C088000 */ lui $t0, 0x8000
|
|
/* 3BA84 80060684 240A2000 */ addiu $t2, $zero, 0x2000
|
|
/* 3BA88 80060688 010A4821 */ addu $t1, $t0, $t2
|
|
/* 3BA8C 8006068C 2529FFF0 */ addiu $t1, $t1, -0x10
|
|
.LIQUE_80060690:
|
|
/* 3BA90 80060690 BD010000 */ cache 0x01, 0x0($t0) # handwritten instruction
|
|
/* 3BA94 80060694 0109082B */ sltu $at, $t0, $t1
|
|
/* 3BA98 80060698 1420FFFD */ bnez $at, .LIQUE_80060690
|
|
/* 3BA9C 8006069C 25080010 */ addiu $t0, $t0, (0x80000010 & 0xFFFF)
|
|
/* 3BAA0 800606A0 03E00008 */ jr $ra
|
|
/* 3BAA4 800606A4 00000000 */ nop
|
|
/* 3BAA8 800606A8 00000000 */ nop
|
|
/* 3BAAC 800606AC 00000000 */ nop
|
|
.size osWritebackDCacheAll, . - osWritebackDCacheAll
|