delete non included asm (os)

This commit is contained in:
Alto1772 2021-02-09 21:06:39 +08:00
parent c4102d350a
commit 7aeb287f63
7 changed files with 0 additions and 323 deletions

View File

@ -1,16 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel osCreateMesgQueue
/* 40980 80065580 3C028009 */ lui $v0, %hi(D_80094650)
/* 40984 80065584 24424650 */ addiu $v0, $v0, %lo(D_80094650)
/* 40988 80065588 AC820000 */ sw $v0, ($a0)
/* 4098C 8006558C AC820004 */ sw $v0, 4($a0)
/* 40990 80065590 AC800008 */ sw $zero, 8($a0)
/* 40994 80065594 AC80000C */ sw $zero, 0xc($a0)
/* 40998 80065598 AC860010 */ sw $a2, 0x10($a0)
/* 4099C 8006559C 03E00008 */ jr $ra
/* 409A0 800655A0 AC850014 */ sw $a1, 0x14($a0)
/* 409A4 800655A4 00000000 */ nop
/* 409A8 800655A8 00000000 */ nop
/* 409AC 800655AC 00000000 */ nop

View File

@ -1,53 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel osSiRawStartDma
/* 410C0 80065CC0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 410C4 80065CC4 3C02A480 */ lui $v0, 0xa480
/* 410C8 80065CC8 34420018 */ ori $v0, $v0, 0x18
/* 410CC 80065CCC AFBF0018 */ sw $ra, 0x18($sp)
/* 410D0 80065CD0 AFB10014 */ sw $s1, 0x14($sp)
/* 410D4 80065CD4 AFB00010 */ sw $s0, 0x10($sp)
/* 410D8 80065CD8 8C420000 */ lw $v0, ($v0)
/* 410DC 80065CDC 00808021 */ addu $s0, $a0, $zero
/* 410E0 80065CE0 30420003 */ andi $v0, $v0, 3
/* 410E4 80065CE4 10400003 */ beqz $v0, .L80065CF4
/* 410E8 80065CE8 00A08821 */ addu $s1, $a1, $zero
/* 410EC 80065CEC 08019754 */ j .L80065D50
/* 410F0 80065CF0 2402FFFF */ addiu $v0, $zero, -1
.L80065CF4:
/* 410F4 80065CF4 24020001 */ addiu $v0, $zero, 1
/* 410F8 80065CF8 16020003 */ bne $s0, $v0, .L80065D08
/* 410FC 80065CFC 02202021 */ addu $a0, $s1, $zero
/* 41100 80065D00 0C018614 */ jal osWritebackDCache
/* 41104 80065D04 24050040 */ addiu $a1, $zero, 0x40
.L80065D08:
/* 41108 80065D08 0C0187A4 */ jal osVirtualToPhysical
/* 4110C 80065D0C 02202021 */ addu $a0, $s1, $zero
/* 41110 80065D10 3C03A480 */ lui $v1, 0xa480
/* 41114 80065D14 AC620000 */ sw $v0, ($v1)
/* 41118 80065D18 56000003 */ bnel $s0, $zero, .L80065D28
/* 4111C 80065D1C 3C03A480 */ lui $v1, 0xa480
/* 41120 80065D20 0801974B */ j .L80065D2C
/* 41124 80065D24 34630004 */ ori $v1, $v1, 4
.L80065D28:
/* 41128 80065D28 34630010 */ ori $v1, $v1, 0x10
.L80065D2C:
/* 4112C 80065D2C 3C021FC0 */ lui $v0, 0x1fc0
/* 41130 80065D30 344207C0 */ ori $v0, $v0, 0x7c0
/* 41134 80065D34 AC620000 */ sw $v0, ($v1)
/* 41138 80065D38 16000005 */ bnez $s0, .L80065D50
/* 4113C 80065D3C 00001021 */ addu $v0, $zero, $zero
/* 41140 80065D40 02202021 */ addu $a0, $s1, $zero
/* 41144 80065D44 0C0185C8 */ jal osInvalDCache
/* 41148 80065D48 24050040 */ addiu $a1, $zero, 0x40
/* 4114C 80065D4C 00001021 */ addu $v0, $zero, $zero
.L80065D50:
/* 41150 80065D50 8FBF0018 */ lw $ra, 0x18($sp)
/* 41154 80065D54 8FB10014 */ lw $s1, 0x14($sp)
/* 41158 80065D58 8FB00010 */ lw $s0, 0x10($sp)
/* 4115C 80065D5C 03E00008 */ jr $ra
/* 41160 80065D60 27BD0020 */ addiu $sp, $sp, 0x20
/* 41164 80065D64 00000000 */ nop
/* 41168 80065D68 00000000 */ nop
/* 4116C 80065D6C 00000000 */ nop

View File

@ -1,25 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel osSpTaskYielded
/* 41070 80065C70 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 41074 80065C74 AFB00010 */ sw $s0, 0x10($sp)
/* 41078 80065C78 AFBF0014 */ sw $ra, 0x14($sp)
/* 4107C 80065C7C 0C01B1B8 */ jal osSpGetStatus
/* 41080 80065C80 00808021 */ addu $s0, $a0, $zero
/* 41084 80065C84 00022202 */ srl $a0, $v0, 8
/* 41088 80065C88 30420080 */ andi $v0, $v0, 0x80
/* 4108C 80065C8C 10400006 */ beqz $v0, .L80065CA8
/* 41090 80065C90 30840001 */ andi $a0, $a0, 1
/* 41094 80065C94 8E020004 */ lw $v0, 4($s0)
/* 41098 80065C98 2403FFFD */ addiu $v1, $zero, -3
/* 4109C 80065C9C 00441025 */ or $v0, $v0, $a0
/* 410A0 80065CA0 00431024 */ and $v0, $v0, $v1
/* 410A4 80065CA4 AE020004 */ sw $v0, 4($s0)
.L80065CA8:
/* 410A8 80065CA8 00801021 */ addu $v0, $a0, $zero
/* 410AC 80065CAC 8FBF0014 */ lw $ra, 0x14($sp)
/* 410B0 80065CB0 8FB00010 */ lw $s0, 0x10($sp)
/* 410B4 80065CB4 03E00008 */ jr $ra
/* 410B8 80065CB8 27BD0018 */ addiu $sp, $sp, 0x18
/* 410BC 80065CBC 00000000 */ nop

View File

@ -1,76 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel osInsertTimer
/* 41A90 80066690 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 41A94 80066694 AFB20018 */ sw $s2, 0x18($sp)
/* 41A98 80066698 00809021 */ addu $s2, $a0, $zero
/* 41A9C 8006669C AFBF001C */ sw $ra, 0x1c($sp)
/* 41AA0 800666A0 AFB10014 */ sw $s1, 0x14($sp)
/* 41AA4 800666A4 0C01ACD8 */ jal __osDisableInt
/* 41AA8 800666A8 AFB00010 */ sw $s0, 0x10($sp)
/* 41AAC 800666AC 3C038009 */ lui $v1, %hi(D_80094670)
/* 41AB0 800666B0 8C634670 */ lw $v1, %lo(D_80094670)($v1)
/* 41AB4 800666B4 8C660000 */ lw $a2, ($v1)
/* 41AB8 800666B8 8E500010 */ lw $s0, 0x10($s2)
/* 41ABC 800666BC 8E510014 */ lw $s1, 0x14($s2)
/* 41AC0 800666C0 10C30017 */ beq $a2, $v1, .L80066720
/* 41AC4 800666C4 00403821 */ addu $a3, $v0, $zero
/* 41AC8 800666C8 080199BE */ j .L800666F8
/* 41ACC 800666CC 00000000 */ nop
.L800666D0:
/* 41AD0 800666D0 8CC20010 */ lw $v0, 0x10($a2)
/* 41AD4 800666D4 8CC30014 */ lw $v1, 0x14($a2)
/* 41AD8 800666D8 8CC60000 */ lw $a2, ($a2)
/* 41ADC 800666DC 3C048009 */ lui $a0, %hi(D_80094670)
/* 41AE0 800666E0 8C844670 */ lw $a0, %lo(D_80094670)($a0)
/* 41AE4 800666E4 0223282B */ sltu $a1, $s1, $v1
/* 41AE8 800666E8 02238823 */ subu $s1, $s1, $v1
/* 41AEC 800666EC 02028023 */ subu $s0, $s0, $v0
/* 41AF0 800666F0 10C4000B */ beq $a2, $a0, .L80066720
/* 41AF4 800666F4 02058023 */ subu $s0, $s0, $a1
.L800666F8:
/* 41AF8 800666F8 8CC30010 */ lw $v1, 0x10($a2)
/* 41AFC 800666FC 0070102B */ sltu $v0, $v1, $s0
/* 41B00 80066700 1440FFF3 */ bnez $v0, .L800666D0
/* 41B04 80066704 00000000 */ nop
/* 41B08 80066708 16030005 */ bne $s0, $v1, .L80066720
/* 41B0C 8006670C 00000000 */ nop
/* 41B10 80066710 8CC20014 */ lw $v0, 0x14($a2)
/* 41B14 80066714 0051102B */ sltu $v0, $v0, $s1
/* 41B18 80066718 1440FFED */ bnez $v0, .L800666D0
/* 41B1C 8006671C 00000000 */ nop
.L80066720:
/* 41B20 80066720 3C028009 */ lui $v0, %hi(D_80094670)
/* 41B24 80066724 8C424670 */ lw $v0, %lo(D_80094670)($v0)
/* 41B28 80066728 AE500010 */ sw $s0, 0x10($s2)
/* 41B2C 8006672C AE510014 */ sw $s1, 0x14($s2)
/* 41B30 80066730 50C2000A */ beql $a2, $v0, .L8006675C
/* 41B34 80066734 AE460000 */ sw $a2, ($s2)
/* 41B38 80066738 8CC20010 */ lw $v0, 0x10($a2)
/* 41B3C 8006673C 8CC30014 */ lw $v1, 0x14($a2)
/* 41B40 80066740 0071202B */ sltu $a0, $v1, $s1
/* 41B44 80066744 00711823 */ subu $v1, $v1, $s1
/* 41B48 80066748 00501023 */ subu $v0, $v0, $s0
/* 41B4C 8006674C 00441023 */ subu $v0, $v0, $a0
/* 41B50 80066750 ACC20010 */ sw $v0, 0x10($a2)
/* 41B54 80066754 ACC30014 */ sw $v1, 0x14($a2)
/* 41B58 80066758 AE460000 */ sw $a2, ($s2)
.L8006675C:
/* 41B5C 8006675C 8CC20004 */ lw $v0, 4($a2)
/* 41B60 80066760 AE420004 */ sw $v0, 4($s2)
/* 41B64 80066764 8CC20004 */ lw $v0, 4($a2)
/* 41B68 80066768 00E02021 */ addu $a0, $a3, $zero
/* 41B6C 8006676C AC520000 */ sw $s2, ($v0)
/* 41B70 80066770 0C01ACF4 */ jal __osRestoreInt
/* 41B74 80066774 ACD20004 */ sw $s2, 4($a2)
/* 41B78 80066778 02001021 */ addu $v0, $s0, $zero
/* 41B7C 8006677C 02201821 */ addu $v1, $s1, $zero
/* 41B80 80066780 8FBF001C */ lw $ra, 0x1c($sp)
/* 41B84 80066784 8FB20018 */ lw $s2, 0x18($sp)
/* 41B88 80066788 8FB10014 */ lw $s1, 0x14($sp)
/* 41B8C 8006678C 8FB00010 */ lw $s0, 0x10($sp)
/* 41B90 80066790 03E00008 */ jr $ra
/* 41B94 80066794 27BD0020 */ addiu $sp, $sp, 0x20
/* 41B98 80066798 00000000 */ nop
/* 41B9C 8006679C 00000000 */ nop

View File

@ -1,38 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel osSetTimerIntr
/* 41A10 80066610 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 41A14 80066614 AFB30020 */ sw $s3, 0x20($sp)
/* 41A18 80066618 AFB2001C */ sw $s2, 0x1c($sp)
/* 41A1C 8006661C 00809021 */ addu $s2, $a0, $zero
/* 41A20 80066620 00A09821 */ addu $s3, $a1, $zero
/* 41A24 80066624 AFBF0024 */ sw $ra, 0x24($sp)
/* 41A28 80066628 16400007 */ bnez $s2, .L80066648
/* 41A2C 8006662C AFB00018 */ sw $s0, 0x18($sp)
/* 41A30 80066630 16400003 */ bnez $s2, .L80066640
/* 41A34 80066634 2E6201D4 */ sltiu $v0, $s3, 0x1d4
/* 41A38 80066638 10400003 */ beqz $v0, .L80066648
/* 41A3C 8006663C 00000000 */ nop
.L80066640:
/* 41A40 80066640 24120000 */ addiu $s2, $zero, 0
/* 41A44 80066644 241301D4 */ addiu $s3, $zero, 0x1d4
.L80066648:
/* 41A48 80066648 0C01ACD8 */ jal __osDisableInt
/* 41A4C 8006664C 00000000 */ nop
/* 41A50 80066650 0C019680 */ jal osGetCount
/* 41A54 80066654 00408021 */ addu $s0, $v0, $zero
/* 41A58 80066658 3C01800A */ lui $at, %hi(D_8009A62C)
/* 41A5C 8006665C AC22A62C */ sw $v0, %lo(D_8009A62C)($at)
/* 41A60 80066660 00402821 */ addu $a1, $v0, $zero
/* 41A64 80066664 00002021 */ addu $a0, $zero, $zero
/* 41A68 80066668 0C01B1A0 */ jal osSetCompare
/* 41A6C 8006666C 02652021 */ addu $a0, $s3, $a1
/* 41A70 80066670 0C01ACF4 */ jal __osRestoreInt
/* 41A74 80066674 02002021 */ addu $a0, $s0, $zero
/* 41A78 80066678 8FBF0024 */ lw $ra, 0x24($sp)
/* 41A7C 8006667C 8FB30020 */ lw $s3, 0x20($sp)
/* 41A80 80066680 8FB2001C */ lw $s2, 0x1c($sp)
/* 41A84 80066684 8FB00018 */ lw $s0, 0x18($sp)
/* 41A88 80066688 03E00008 */ jr $ra
/* 41A8C 8006668C 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,90 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel osTimerInterrupt
/* 418D4 800664D4 3C038009 */ lui $v1, %hi(D_80094670)
/* 418D8 800664D8 8C634670 */ lw $v1, %lo(D_80094670)($v1)
/* 418DC 800664DC 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 418E0 800664E0 AFBF0014 */ sw $ra, 0x14($sp)
/* 418E4 800664E4 AFB00010 */ sw $s0, 0x10($sp)
/* 418E8 800664E8 8C620000 */ lw $v0, ($v1)
/* 418EC 800664EC 10430044 */ beq $v0, $v1, .L80066600
/* 418F0 800664F0 00000000 */ nop
.L800664F4:
/* 418F4 800664F4 3C028009 */ lui $v0, %hi(D_80094670)
/* 418F8 800664F8 8C424670 */ lw $v0, %lo(D_80094670)($v0)
/* 418FC 800664FC 8C500000 */ lw $s0, ($v0)
/* 41900 80066500 16020006 */ bne $s0, $v0, .L8006651C
/* 41904 80066504 00000000 */ nop
/* 41908 80066508 0C01B1A0 */ jal osSetCompare
/* 4190C 8006650C 00002021 */ addu $a0, $zero, $zero
/* 41910 80066510 3C01800A */ lui $at, %hi(D_8009A62C)
/* 41914 80066514 08019980 */ j .L80066600
/* 41918 80066518 AC20A62C */ sw $zero, %lo(D_8009A62C)($at)
.L8006651C:
/* 4191C 8006651C 0C019680 */ jal osGetCount
/* 41920 80066520 00000000 */ nop
/* 41924 80066524 3C03800A */ lui $v1, %hi(D_8009A62C)
/* 41928 80066528 8C63A62C */ lw $v1, %lo(D_8009A62C)($v1)
/* 4192C 8006652C 3C01800A */ lui $at, %hi(D_8009A62C)
/* 41930 80066530 AC22A62C */ sw $v0, %lo(D_8009A62C)($at)
/* 41934 80066534 00431023 */ subu $v0, $v0, $v1
/* 41938 80066538 8E030010 */ lw $v1, 0x10($s0)
/* 4193C 8006653C 00403821 */ addu $a3, $v0, $zero
/* 41940 80066540 00003021 */ addu $a2, $zero, $zero
/* 41944 80066544 00C3102B */ sltu $v0, $a2, $v1
/* 41948 80066548 14400007 */ bnez $v0, .L80066568
/* 4194C 8006654C 00000000 */ nop
/* 41950 80066550 14660010 */ bne $v1, $a2, .L80066594
/* 41954 80066554 00000000 */ nop
/* 41958 80066558 8E020014 */ lw $v0, 0x14($s0)
/* 4195C 8006655C 00E2102B */ sltu $v0, $a3, $v0
/* 41960 80066560 1040000C */ beqz $v0, .L80066594
/* 41964 80066564 00000000 */ nop
.L80066568:
/* 41968 80066568 8E040010 */ lw $a0, 0x10($s0)
/* 4196C 8006656C 8E050014 */ lw $a1, 0x14($s0)
/* 41970 80066570 00A7102B */ sltu $v0, $a1, $a3
/* 41974 80066574 00A72823 */ subu $a1, $a1, $a3
/* 41978 80066578 00862023 */ subu $a0, $a0, $a2
/* 4197C 8006657C 00822023 */ subu $a0, $a0, $v0
/* 41980 80066580 AE040010 */ sw $a0, 0x10($s0)
/* 41984 80066584 0C019984 */ jal osSetTimerIntr
/* 41988 80066588 AE050014 */ sw $a1, 0x14($s0)
/* 4198C 8006658C 08019980 */ j .L80066600
/* 41990 80066590 00000000 */ nop
.L80066594:
/* 41994 80066594 8E030004 */ lw $v1, 4($s0)
/* 41998 80066598 8E020000 */ lw $v0, ($s0)
/* 4199C 8006659C AC620000 */ sw $v0, ($v1)
/* 419A0 800665A0 8E030000 */ lw $v1, ($s0)
/* 419A4 800665A4 8E020004 */ lw $v0, 4($s0)
/* 419A8 800665A8 AC620004 */ sw $v0, 4($v1)
/* 419AC 800665AC 8E040018 */ lw $a0, 0x18($s0)
/* 419B0 800665B0 AE000000 */ sw $zero, ($s0)
/* 419B4 800665B4 10800004 */ beqz $a0, .L800665C8
/* 419B8 800665B8 AE000004 */ sw $zero, 4($s0)
/* 419BC 800665BC 8E05001C */ lw $a1, 0x1c($s0)
/* 419C0 800665C0 0C019608 */ jal osSendMesg
/* 419C4 800665C4 00003021 */ addu $a2, $zero, $zero
.L800665C8:
/* 419C8 800665C8 8E020008 */ lw $v0, 8($s0)
/* 419CC 800665CC 14400004 */ bnez $v0, .L800665E0
/* 419D0 800665D0 00000000 */ nop
/* 419D4 800665D4 8E02000C */ lw $v0, 0xc($s0)
/* 419D8 800665D8 1040FFC6 */ beqz $v0, .L800664F4
/* 419DC 800665DC 00000000 */ nop
.L800665E0:
/* 419E0 800665E0 8E020008 */ lw $v0, 8($s0)
/* 419E4 800665E4 8E03000C */ lw $v1, 0xc($s0)
/* 419E8 800665E8 02002021 */ addu $a0, $s0, $zero
/* 419EC 800665EC AC820010 */ sw $v0, 0x10($a0)
/* 419F0 800665F0 0C0199A4 */ jal osInsertTimer
/* 419F4 800665F4 AC830014 */ sw $v1, 0x14($a0)
/* 419F8 800665F8 0801993D */ j .L800664F4
/* 419FC 800665FC 00000000 */ nop
.L80066600:
/* 41A00 80066600 8FBF0014 */ lw $ra, 0x14($sp)
/* 41A04 80066604 8FB00010 */ lw $s0, 0x10($sp)
/* 41A08 80066608 03E00008 */ jr $ra
/* 41A0C 8006660C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,25 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel osTimerServicesInit
/* 41880 80066480 3C028009 */ lui $v0, %hi(D_80094670)
/* 41884 80066484 8C424670 */ lw $v0, %lo(D_80094670)($v0)
/* 41888 80066488 00002021 */ addu $a0, $zero, $zero
/* 4188C 8006648C 00002821 */ addu $a1, $zero, $zero
/* 41890 80066490 3C01800A */ lui $at, %hi(D_8009A608)
/* 41894 80066494 AC24A608 */ sw $a0, %lo(D_8009A608)($at)
/* 41898 80066498 3C01800A */ lui $at, %hi(D_8009A60C)
/* 4189C 8006649C AC25A60C */ sw $a1, %lo(D_8009A60C)($at)
/* 418A0 800664A0 3C01800A */ lui $at, %hi(D_8009A5C8)
/* 418A4 800664A4 AC20A5C8 */ sw $zero, %lo(D_8009A5C8)($at)
/* 418A8 800664A8 3C01800A */ lui $at, %hi(D_8009A5E4)
/* 418AC 800664AC AC20A5E4 */ sw $zero, %lo(D_8009A5E4)($at)
/* 418B0 800664B0 AC440010 */ sw $a0, 0x10($v0)
/* 418B4 800664B4 AC450014 */ sw $a1, 0x14($v0)
/* 418B8 800664B8 AC440008 */ sw $a0, 8($v0)
/* 418BC 800664BC AC45000C */ sw $a1, 0xc($v0)
/* 418C0 800664C0 AC420004 */ sw $v0, 4($v0)
/* 418C4 800664C4 AC420000 */ sw $v0, ($v0)
/* 418C8 800664C8 AC400018 */ sw $zero, 0x18($v0)
/* 418CC 800664CC 03E00008 */ jr $ra
/* 418D0 800664D0 AC40001C */ sw $zero, 0x1c($v0)