2021-03-10 06:06:53 +01:00
|
|
|
.include "macro.inc"
|
|
|
|
|
2021-03-11 09:08:22 +01:00
|
|
|
# assembler directives
|
2021-03-10 06:06:53 +01:00
|
|
|
.set noat # allow manual use of $at
|
|
|
|
.set noreorder # don't insert nops after branches
|
2021-03-11 09:08:22 +01:00
|
|
|
.set gp=64 # allow use of 64-bit general purpose registers
|
2021-03-10 06:06:53 +01:00
|
|
|
|
|
|
|
.section .text, "ax"
|
|
|
|
|
|
|
|
glabel osWritebackDCacheAll
|
2021-03-11 09:08:22 +01:00
|
|
|
/* 3CCD0 800618D0 3C088000 */ lui $t0, 0x8000
|
|
|
|
/* 3CCD4 800618D4 240A2000 */ addiu $t2, $zero, 0x2000
|
|
|
|
/* 3CCD8 800618D8 010A4821 */ addu $t1, $t0, $t2
|
|
|
|
/* 3CCDC 800618DC 2529FFF0 */ addiu $t1, $t1, -0x10
|
2021-03-10 06:06:53 +01:00
|
|
|
.L800618E0:
|
2021-03-11 09:08:22 +01:00
|
|
|
/* 3CCE0 800618E0 BD010000 */ cache 1, ($t0)
|
|
|
|
/* 3CCE4 800618E4 0109082B */ sltu $at, $t0, $t1
|
|
|
|
/* 3CCE8 800618E8 1420FFFD */ bnez $at, .L800618E0
|
|
|
|
/* 3CCEC 800618EC 25080010 */ addiu $t0, $t0, 0x10
|
|
|
|
/* 3CCF0 800618F0 03E00008 */ jr $ra
|
|
|
|
/* 3CCF4 800618F4 00000000 */ nop
|
|
|
|
/* 3CCF8 800618F8 00000000 */ nop
|
|
|
|
/* 3CCFC 800618FC 00000000 */ nop
|