339 lines
15 KiB
ArmAsm
339 lines
15 KiB
ArmAsm
.include "macros.inc"
|
|
|
|
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
|
|
.global IPCiProfInit
|
|
IPCiProfInit:
|
|
/* 800507B0 0004C5F0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 800507B4 0004C5F4 7C 08 02 A6 */ mflr r0
|
|
/* 800507B8 0004C5F8 38 60 00 00 */ li r3, 0x0
|
|
/* 800507BC 0004C5FC 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 800507C0 0004C600 38 00 00 06 */ li r0, 0x6
|
|
/* 800507C4 0004C604 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 800507C8 0004C608 3F E0 80 4C */ lis r31, IpcReqArray@ha
|
|
/* 800507CC 0004C60C 3B FF DE E0 */ addi r31, r31, IpcReqArray@l
|
|
/* 800507D0 0004C610 90 6D E9 20 */ stw r3, IpcNumPendingReqs@sda21(r13)
|
|
/* 800507D4 0004C614 38 9F 0C 00 */ addi r4, r31, 0xc00
|
|
/* 800507D8 0004C618 38 BF 0D 80 */ addi r5, r31, 0xd80
|
|
/* 800507DC 0004C61C 90 6D E9 24 */ stw r3, IpcNumUnIssuedReqs@sda21(r13)
|
|
/* 800507E0 0004C620 7C 09 03 A6 */ mtctr r0
|
|
.global lbl_800507E4
|
|
lbl_800507E4:
|
|
/* 800507E4 0004C624 90 65 00 04 */ stw r3, 0x4(r5)
|
|
/* 800507E8 0004C628 90 65 00 00 */ stw r3, 0x0(r5)
|
|
/* 800507EC 0004C62C 90 65 00 0C */ stw r3, 0xc(r5)
|
|
/* 800507F0 0004C630 90 65 00 08 */ stw r3, 0x8(r5)
|
|
/* 800507F4 0004C634 90 65 00 14 */ stw r3, 0x14(r5)
|
|
/* 800507F8 0004C638 90 65 00 10 */ stw r3, 0x10(r5)
|
|
/* 800507FC 0004C63C 90 65 00 1C */ stw r3, 0x1c(r5)
|
|
/* 80050800 0004C640 90 65 00 18 */ stw r3, 0x18(r5)
|
|
/* 80050804 0004C644 90 65 00 24 */ stw r3, 0x24(r5)
|
|
/* 80050808 0004C648 90 65 00 20 */ stw r3, 0x20(r5)
|
|
/* 8005080C 0004C64C 90 65 00 2C */ stw r3, 0x2c(r5)
|
|
/* 80050810 0004C650 90 65 00 28 */ stw r3, 0x28(r5)
|
|
/* 80050814 0004C654 90 65 00 34 */ stw r3, 0x34(r5)
|
|
/* 80050818 0004C658 90 65 00 30 */ stw r3, 0x30(r5)
|
|
/* 8005081C 0004C65C 90 65 00 3C */ stw r3, 0x3c(r5)
|
|
/* 80050820 0004C660 90 65 00 38 */ stw r3, 0x38(r5)
|
|
/* 80050824 0004C664 90 64 00 00 */ stw r3, 0x0(r4)
|
|
/* 80050828 0004C668 90 65 00 44 */ stw r3, 0x44(r5)
|
|
/* 8005082C 0004C66C 90 64 00 04 */ stw r3, 0x4(r4)
|
|
/* 80050830 0004C670 90 65 00 40 */ stw r3, 0x40(r5)
|
|
/* 80050834 0004C674 90 64 00 08 */ stw r3, 0x8(r4)
|
|
/* 80050838 0004C678 90 65 00 4C */ stw r3, 0x4c(r5)
|
|
/* 8005083C 0004C67C 90 64 00 0C */ stw r3, 0xc(r4)
|
|
/* 80050840 0004C680 90 65 00 48 */ stw r3, 0x48(r5)
|
|
/* 80050844 0004C684 90 64 00 10 */ stw r3, 0x10(r4)
|
|
/* 80050848 0004C688 90 65 00 54 */ stw r3, 0x54(r5)
|
|
/* 8005084C 0004C68C 90 64 00 14 */ stw r3, 0x14(r4)
|
|
/* 80050850 0004C690 90 65 00 50 */ stw r3, 0x50(r5)
|
|
/* 80050854 0004C694 90 64 00 18 */ stw r3, 0x18(r4)
|
|
/* 80050858 0004C698 90 65 00 5C */ stw r3, 0x5c(r5)
|
|
/* 8005085C 0004C69C 90 64 00 1C */ stw r3, 0x1c(r4)
|
|
/* 80050860 0004C6A0 90 65 00 58 */ stw r3, 0x58(r5)
|
|
/* 80050864 0004C6A4 90 64 00 20 */ stw r3, 0x20(r4)
|
|
/* 80050868 0004C6A8 90 65 00 64 */ stw r3, 0x64(r5)
|
|
/* 8005086C 0004C6AC 90 64 00 24 */ stw r3, 0x24(r4)
|
|
/* 80050870 0004C6B0 90 65 00 60 */ stw r3, 0x60(r5)
|
|
/* 80050874 0004C6B4 90 64 00 28 */ stw r3, 0x28(r4)
|
|
/* 80050878 0004C6B8 90 65 00 6C */ stw r3, 0x6c(r5)
|
|
/* 8005087C 0004C6BC 90 64 00 2C */ stw r3, 0x2c(r4)
|
|
/* 80050880 0004C6C0 90 65 00 68 */ stw r3, 0x68(r5)
|
|
/* 80050884 0004C6C4 90 64 00 30 */ stw r3, 0x30(r4)
|
|
/* 80050888 0004C6C8 90 65 00 74 */ stw r3, 0x74(r5)
|
|
/* 8005088C 0004C6CC 90 64 00 34 */ stw r3, 0x34(r4)
|
|
/* 80050890 0004C6D0 90 65 00 70 */ stw r3, 0x70(r5)
|
|
/* 80050894 0004C6D4 90 64 00 38 */ stw r3, 0x38(r4)
|
|
/* 80050898 0004C6D8 90 65 00 7C */ stw r3, 0x7c(r5)
|
|
/* 8005089C 0004C6DC 90 64 00 3C */ stw r3, 0x3c(r4)
|
|
/* 800508A0 0004C6E0 38 84 00 40 */ addi r4, r4, 0x40
|
|
/* 800508A4 0004C6E4 90 65 00 78 */ stw r3, 0x78(r5)
|
|
/* 800508A8 0004C6E8 38 A5 00 80 */ addi r5, r5, 0x80
|
|
/* 800508AC 0004C6EC 42 00 FF 38 */ bdnz lbl_800507E4
|
|
/* 800508B0 0004C6F0 38 7F 10 80 */ addi r3, r31, 0x1080
|
|
/* 800508B4 0004C6F4 38 80 00 00 */ li r4, 0x0
|
|
/* 800508B8 0004C6F8 38 A0 18 00 */ li r5, 0x1800
|
|
/* 800508BC 0004C6FC 4B FB 3A 95 */ bl memset
|
|
/* 800508C0 0004C700 38 7F 28 80 */ addi r3, r31, 0x2880
|
|
/* 800508C4 0004C704 38 80 00 00 */ li r4, 0x0
|
|
/* 800508C8 0004C708 38 A0 12 00 */ li r5, 0x1200
|
|
/* 800508CC 0004C70C 4B FB 3A 85 */ bl memset
|
|
/* 800508D0 0004C710 38 7F 00 00 */ addi r3, r31, 0x0
|
|
/* 800508D4 0004C714 38 80 00 00 */ li r4, 0x0
|
|
/* 800508D8 0004C718 38 A0 0C 00 */ li r5, 0xc00
|
|
/* 800508DC 0004C71C 4B FB 3A 75 */ bl memset
|
|
/* 800508E0 0004C720 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 800508E4 0004C724 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 800508E8 0004C728 7C 08 03 A6 */ mtlr r0
|
|
/* 800508EC 0004C72C 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 800508F0 0004C730 4E 80 00 20 */ blr
|
|
/* 800508F4 0004C734 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800508F8 0004C738 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800508FC 0004C73C 00 00 00 00 */ .4byte 0x00000000
|
|
.global IPCiProfQueueReq
|
|
IPCiProfQueueReq:
|
|
/* 80050900 0004C740 80 AD E9 20 */ lwz r5, IpcNumPendingReqs@sda21(r13)
|
|
/* 80050904 0004C744 80 8D E9 24 */ lwz r4, IpcNumUnIssuedReqs@sda21(r13)
|
|
/* 80050908 0004C748 38 05 00 01 */ addi r0, r5, 0x1
|
|
/* 8005090C 0004C74C 90 0D E9 20 */ stw r0, IpcNumPendingReqs@sda21(r13)
|
|
/* 80050910 0004C750 38 04 00 01 */ addi r0, r4, 0x1
|
|
/* 80050914 0004C754 90 0D E9 24 */ stw r0, IpcNumUnIssuedReqs@sda21(r13)
|
|
/* 80050918 0004C758 48 00 00 28 */ b AddReqInfo
|
|
/* 8005091C 0004C75C 00 00 00 00 */ .4byte 0x00000000
|
|
.global IPCiProfAck
|
|
IPCiProfAck:
|
|
/* 80050920 0004C760 80 6D E9 24 */ lwz r3, IpcNumUnIssuedReqs@sda21(r13)
|
|
/* 80050924 0004C764 38 03 FF FF */ addi r0, r3, -0x1
|
|
/* 80050928 0004C768 90 0D E9 24 */ stw r0, IpcNumUnIssuedReqs@sda21(r13)
|
|
/* 8005092C 0004C76C 4E 80 00 20 */ blr
|
|
.global IPCiProfReply
|
|
IPCiProfReply:
|
|
/* 80050930 0004C770 80 8D E9 20 */ lwz r4, IpcNumPendingReqs@sda21(r13)
|
|
/* 80050934 0004C774 38 04 FF FF */ addi r0, r4, -0x1
|
|
/* 80050938 0004C778 90 0D E9 20 */ stw r0, IpcNumPendingReqs@sda21(r13)
|
|
/* 8005093C 0004C77C 48 00 01 24 */ b DelReqInfo
|
|
.global AddReqInfo
|
|
AddReqInfo:
|
|
/* 80050940 0004C780 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 80050944 0004C784 7C 08 02 A6 */ mflr r0
|
|
/* 80050948 0004C788 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 8005094C 0004C78C 39 61 00 30 */ addi r11, r1, 0x30
|
|
/* 80050950 0004C790 4B FB 69 E5 */ bl lbl_80007334
|
|
/* 80050954 0004C794 3F C0 80 4C */ lis r30, IpcReqArray@ha
|
|
/* 80050958 0004C798 38 00 00 60 */ li r0, 0x60
|
|
/* 8005095C 0004C79C 3B DE DE E0 */ addi r30, r30, IpcReqArray@l
|
|
/* 80050960 0004C7A0 7C 79 1B 78 */ mr r25, r3
|
|
/* 80050964 0004C7A4 38 7E 0C 00 */ addi r3, r30, 0xc00
|
|
/* 80050968 0004C7A8 3B 60 00 00 */ li r27, 0x0
|
|
/* 8005096C 0004C7AC 7C 09 03 A6 */ mtctr r0
|
|
.global lbl_80050970
|
|
lbl_80050970:
|
|
/* 80050970 0004C7B0 80 03 00 00 */ lwz r0, 0x0(r3)
|
|
/* 80050974 0004C7B4 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80050978 0004C7B8 40 82 00 C4 */ bne lbl_80050A3C
|
|
/* 8005097C 0004C7BC 4B FD 0E A5 */ bl OSDisableInterrupts
|
|
/* 80050980 0004C7C0 57 60 10 3A */ slwi r0, r27, 2
|
|
/* 80050984 0004C7C4 38 9E 0C 00 */ addi r4, r30, 0xc00
|
|
/* 80050988 0004C7C8 7F 24 01 2E */ stwx r25, r4, r0
|
|
/* 8005098C 0004C7CC 7C 7A 1B 78 */ mr r26, r3
|
|
/* 80050990 0004C7D0 57 7C 28 34 */ slwi r28, r27, 5
|
|
/* 80050994 0004C7D4 3B FE 00 00 */ addi r31, r30, 0x0
|
|
/* 80050998 0004C7D8 80 19 00 04 */ lwz r0, 0x4(r25)
|
|
/* 8005099C 0004C7DC 7F BF E2 14 */ add r29, r31, r28
|
|
/* 800509A0 0004C7E0 80 79 00 00 */ lwz r3, 0x0(r25)
|
|
/* 800509A4 0004C7E4 7C 7F E1 2E */ stwx r3, r31, r28
|
|
/* 800509A8 0004C7E8 90 1D 00 04 */ stw r0, 0x4(r29)
|
|
/* 800509AC 0004C7EC 80 19 00 0C */ lwz r0, 0xc(r25)
|
|
/* 800509B0 0004C7F0 80 79 00 08 */ lwz r3, 0x8(r25)
|
|
/* 800509B4 0004C7F4 90 7D 00 08 */ stw r3, 0x8(r29)
|
|
/* 800509B8 0004C7F8 90 1D 00 0C */ stw r0, 0xc(r29)
|
|
/* 800509BC 0004C7FC 80 19 00 14 */ lwz r0, 0x14(r25)
|
|
/* 800509C0 0004C800 80 79 00 10 */ lwz r3, 0x10(r25)
|
|
/* 800509C4 0004C804 90 7D 00 10 */ stw r3, 0x10(r29)
|
|
/* 800509C8 0004C808 90 1D 00 14 */ stw r0, 0x14(r29)
|
|
/* 800509CC 0004C80C 80 19 00 1C */ lwz r0, 0x1c(r25)
|
|
/* 800509D0 0004C810 80 79 00 18 */ lwz r3, 0x18(r25)
|
|
/* 800509D4 0004C814 90 7D 00 18 */ stw r3, 0x18(r29)
|
|
/* 800509D8 0004C818 90 1D 00 1C */ stw r0, 0x1c(r29)
|
|
/* 800509DC 0004C81C 4B FD 51 65 */ bl OSGetTime
|
|
/* 800509E0 0004C820 57 65 18 38 */ slwi r5, r27, 3
|
|
/* 800509E4 0004C824 38 1E 0D 80 */ addi r0, r30, 0xd80
|
|
/* 800509E8 0004C828 7C A0 2A 14 */ add r5, r0, r5
|
|
/* 800509EC 0004C82C 80 1D 00 00 */ lwz r0, 0x0(r29)
|
|
/* 800509F0 0004C830 90 85 00 04 */ stw r4, 0x4(r5)
|
|
/* 800509F4 0004C834 28 00 00 01 */ cmplwi r0, 0x1
|
|
/* 800509F8 0004C838 90 65 00 00 */ stw r3, 0x0(r5)
|
|
/* 800509FC 0004C83C 40 82 00 34 */ bne lbl_80050A30
|
|
/* 80050A00 0004C840 1F BB 00 30 */ mulli r29, r27, 0x30
|
|
/* 80050A04 0004C844 7F 7F E2 14 */ add r27, r31, r28
|
|
/* 80050A08 0004C848 3B 3E 28 80 */ addi r25, r30, 0x2880
|
|
/* 80050A0C 0004C84C 80 9B 00 0C */ lwz r4, 0xc(r27)
|
|
/* 80050A10 0004C850 38 A0 00 2F */ li r5, 0x2f
|
|
/* 80050A14 0004C854 7F 99 EA 14 */ add r28, r25, r29
|
|
/* 80050A18 0004C858 7F 83 E3 78 */ mr r3, r28
|
|
/* 80050A1C 0004C85C 3C 84 80 00 */ addis r4, r4, 0x8000
|
|
/* 80050A20 0004C860 4B FB D0 61 */ bl strncpy
|
|
/* 80050A24 0004C864 38 00 00 00 */ li r0, 0x0
|
|
/* 80050A28 0004C868 98 1C 00 2F */ stb r0, 0x2f(r28)
|
|
/* 80050A2C 0004C86C 93 9B 00 0C */ stw r28, 0xc(r27)
|
|
.global lbl_80050A30
|
|
lbl_80050A30:
|
|
/* 80050A30 0004C870 7F 43 D3 78 */ mr r3, r26
|
|
/* 80050A34 0004C874 4B FD 0E 2D */ bl OSRestoreInterrupts
|
|
/* 80050A38 0004C878 48 00 00 10 */ b lbl_80050A48
|
|
.global lbl_80050A3C
|
|
lbl_80050A3C:
|
|
/* 80050A3C 0004C87C 38 63 00 04 */ addi r3, r3, 0x4
|
|
/* 80050A40 0004C880 3B 7B 00 01 */ addi r27, r27, 0x1
|
|
/* 80050A44 0004C884 42 00 FF 2C */ bdnz lbl_80050970
|
|
.global lbl_80050A48
|
|
lbl_80050A48:
|
|
/* 80050A48 0004C888 39 61 00 30 */ addi r11, r1, 0x30
|
|
/* 80050A4C 0004C88C 4B FB 69 35 */ bl lbl_80007380
|
|
/* 80050A50 0004C890 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 80050A54 0004C894 7C 08 03 A6 */ mtlr r0
|
|
/* 80050A58 0004C898 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 80050A5C 0004C89C 4E 80 00 20 */ blr
|
|
.global DelReqInfo
|
|
DelReqInfo:
|
|
/* 80050A60 0004C8A0 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 80050A64 0004C8A4 7C 08 02 A6 */ mflr r0
|
|
/* 80050A68 0004C8A8 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 80050A6C 0004C8AC 39 61 00 30 */ addi r11, r1, 0x30
|
|
/* 80050A70 0004C8B0 4B FB 68 C5 */ bl lbl_80007334
|
|
/* 80050A74 0004C8B4 3F E0 80 4C */ lis r31, IpcReqArray@ha
|
|
/* 80050A78 0004C8B8 38 00 00 60 */ li r0, 0x60
|
|
/* 80050A7C 0004C8BC 3B FF DE E0 */ addi r31, r31, IpcReqArray@l
|
|
/* 80050A80 0004C8C0 7C 79 1B 78 */ mr r25, r3
|
|
/* 80050A84 0004C8C4 38 BF 0C 00 */ addi r5, r31, 0xc00
|
|
/* 80050A88 0004C8C8 3B 80 00 00 */ li r28, 0x0
|
|
/* 80050A8C 0004C8CC 38 DF 00 00 */ addi r6, r31, 0x0
|
|
/* 80050A90 0004C8D0 7C 09 03 A6 */ mtctr r0
|
|
/* 80050A94 0004C8D4 60 00 00 00 */ nop
|
|
.global lbl_80050A98
|
|
lbl_80050A98:
|
|
/* 80050A98 0004C8D8 80 05 00 00 */ lwz r0, 0x0(r5)
|
|
/* 80050A9C 0004C8DC 7C 03 00 40 */ cmplw r3, r0
|
|
/* 80050AA0 0004C8E0 40 82 00 F4 */ bne lbl_80050B94
|
|
/* 80050AA4 0004C8E4 80 83 00 08 */ lwz r4, 0x8(r3)
|
|
/* 80050AA8 0004C8E8 80 06 00 00 */ lwz r0, 0x0(r6)
|
|
/* 80050AAC 0004C8EC 7C 04 00 40 */ cmplw r4, r0
|
|
/* 80050AB0 0004C8F0 40 82 00 E4 */ bne lbl_80050B94
|
|
/* 80050AB4 0004C8F4 4B FD 0D 6D */ bl OSDisableInterrupts
|
|
/* 80050AB8 0004C8F8 57 9E 28 34 */ slwi r30, r28, 5
|
|
/* 80050ABC 0004C8FC 38 1F 00 00 */ addi r0, r31, 0x0
|
|
/* 80050AC0 0004C900 7F A0 F2 14 */ add r29, r0, r30
|
|
/* 80050AC4 0004C904 7C 1E 00 2E */ lwzx r0, r30, r0
|
|
/* 80050AC8 0004C908 7C 7B 1B 78 */ mr r27, r3
|
|
/* 80050ACC 0004C90C 28 00 00 01 */ cmplwi r0, 0x1
|
|
/* 80050AD0 0004C910 40 82 00 54 */ bne lbl_80050B24
|
|
/* 80050AD4 0004C914 80 19 00 04 */ lwz r0, 0x4(r25)
|
|
/* 80050AD8 0004C918 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80050ADC 0004C91C 41 80 00 48 */ blt lbl_80050B24
|
|
/* 80050AE0 0004C920 1C 00 00 30 */ mulli r0, r0, 0x30
|
|
/* 80050AE4 0004C924 3B 5F 10 80 */ addi r26, r31, 0x1080
|
|
/* 80050AE8 0004C928 80 9D 00 0C */ lwz r4, 0xc(r29)
|
|
/* 80050AEC 0004C92C 38 A0 00 2F */ li r5, 0x2f
|
|
/* 80050AF0 0004C930 7C 7A 02 14 */ add r3, r26, r0
|
|
/* 80050AF4 0004C934 4B FB CF 8D */ bl strncpy
|
|
/* 80050AF8 0004C938 80 99 00 04 */ lwz r4, 0x4(r25)
|
|
/* 80050AFC 0004C93C 1C 7C 00 30 */ mulli r3, r28, 0x30
|
|
/* 80050B00 0004C940 38 1F 28 80 */ addi r0, r31, 0x2880
|
|
/* 80050B04 0004C944 38 E0 00 00 */ li r7, 0x0
|
|
/* 80050B08 0004C948 1C C4 00 30 */ mulli r6, r4, 0x30
|
|
/* 80050B0C 0004C94C 38 80 00 00 */ li r4, 0x0
|
|
/* 80050B10 0004C950 7C 60 1A 14 */ add r3, r0, r3
|
|
/* 80050B14 0004C954 38 A0 00 30 */ li r5, 0x30
|
|
/* 80050B18 0004C958 7C DA 32 14 */ add r6, r26, r6
|
|
/* 80050B1C 0004C95C 98 E6 00 2F */ stb r7, 0x2f(r6)
|
|
/* 80050B20 0004C960 4B FB 38 31 */ bl memset
|
|
.global lbl_80050B24
|
|
lbl_80050B24:
|
|
/* 80050B24 0004C964 80 1D 00 00 */ lwz r0, 0x0(r29)
|
|
/* 80050B28 0004C968 28 00 00 02 */ cmplwi r0, 0x2
|
|
/* 80050B2C 0004C96C 40 82 00 28 */ bne lbl_80050B54
|
|
/* 80050B30 0004C970 38 7F 00 00 */ addi r3, r31, 0x0
|
|
/* 80050B34 0004C974 38 1F 10 80 */ addi r0, r31, 0x1080
|
|
/* 80050B38 0004C978 7C 63 F2 14 */ add r3, r3, r30
|
|
/* 80050B3C 0004C97C 38 80 00 00 */ li r4, 0x0
|
|
/* 80050B40 0004C980 80 63 00 08 */ lwz r3, 0x8(r3)
|
|
/* 80050B44 0004C984 38 A0 00 30 */ li r5, 0x30
|
|
/* 80050B48 0004C988 1C 63 00 30 */ mulli r3, r3, 0x30
|
|
/* 80050B4C 0004C98C 7C 60 1A 14 */ add r3, r0, r3
|
|
/* 80050B50 0004C990 4B FB 38 01 */ bl memset
|
|
.global lbl_80050B54
|
|
lbl_80050B54:
|
|
/* 80050B54 0004C994 57 80 10 3A */ slwi r0, r28, 2
|
|
/* 80050B58 0004C998 38 7F 0C 00 */ addi r3, r31, 0xc00
|
|
/* 80050B5C 0004C99C 3B C0 00 00 */ li r30, 0x0
|
|
/* 80050B60 0004C9A0 7F C3 01 2E */ stwx r30, r3, r0
|
|
/* 80050B64 0004C9A4 7F A3 EB 78 */ mr r3, r29
|
|
/* 80050B68 0004C9A8 38 80 00 00 */ li r4, 0x0
|
|
/* 80050B6C 0004C9AC 38 A0 00 20 */ li r5, 0x20
|
|
/* 80050B70 0004C9B0 4B FB 37 E1 */ bl memset
|
|
/* 80050B74 0004C9B4 57 83 18 38 */ slwi r3, r28, 3
|
|
/* 80050B78 0004C9B8 38 1F 0D 80 */ addi r0, r31, 0xd80
|
|
/* 80050B7C 0004C9BC 7C 80 1A 14 */ add r4, r0, r3
|
|
/* 80050B80 0004C9C0 93 C4 00 04 */ stw r30, 0x4(r4)
|
|
/* 80050B84 0004C9C4 7F 63 DB 78 */ mr r3, r27
|
|
/* 80050B88 0004C9C8 93 C4 00 00 */ stw r30, 0x0(r4)
|
|
/* 80050B8C 0004C9CC 4B FD 0C D5 */ bl OSRestoreInterrupts
|
|
/* 80050B90 0004C9D0 48 00 00 14 */ b lbl_80050BA4
|
|
.global lbl_80050B94
|
|
lbl_80050B94:
|
|
/* 80050B94 0004C9D4 38 A5 00 04 */ addi r5, r5, 0x4
|
|
/* 80050B98 0004C9D8 38 C6 00 20 */ addi r6, r6, 0x20
|
|
/* 80050B9C 0004C9DC 3B 9C 00 01 */ addi r28, r28, 0x1
|
|
/* 80050BA0 0004C9E0 42 00 FE F8 */ bdnz lbl_80050A98
|
|
.global lbl_80050BA4
|
|
lbl_80050BA4:
|
|
/* 80050BA4 0004C9E4 39 61 00 30 */ addi r11, r1, 0x30
|
|
/* 80050BA8 0004C9E8 4B FB 67 D9 */ bl lbl_80007380
|
|
/* 80050BAC 0004C9EC 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 80050BB0 0004C9F0 7C 08 03 A6 */ mtlr r0
|
|
/* 80050BB4 0004C9F4 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 80050BB8 0004C9F8 4E 80 00 20 */ blr
|
|
/* 80050BBC 0004C9FC 00 00 00 00 */ .4byte 0x00000000
|
|
.include "macros.inc"
|
|
|
|
.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20
|
|
.global IpcReqArray
|
|
IpcReqArray:
|
|
.skip 0x2130
|
|
|
|
.global lbl_804C0010
|
|
lbl_804C0010:
|
|
.skip 0x10
|
|
|
|
.global lbl_804C0020
|
|
lbl_804C0020:
|
|
.skip 0x10
|
|
|
|
.global lbl_804C0030
|
|
lbl_804C0030:
|
|
.skip 0x10
|
|
|
|
.global lbl_804C0040
|
|
lbl_804C0040:
|
|
.skip 0x10
|
|
|
|
.global lbl_804C0050
|
|
lbl_804C0050:
|
|
.skip 0x10
|
|
|
|
.global lbl_804C0060
|
|
lbl_804C0060:
|
|
.skip 0x10
|
|
|
|
.global lbl_804C0070
|
|
lbl_804C0070:
|
|
.skip 0x18F0
|
|
.include "macros.inc"
|
|
|
|
.section .sbss, "", @nobits # 0x8055C6E0 - 0x8055DF80 ; 0x000018A0
|
|
.global IpcNumPendingReqs
|
|
IpcNumPendingReqs:
|
|
.skip 0x4
|
|
|
|
.global IpcNumUnIssuedReqs
|
|
IpcNumUnIssuedReqs:
|
|
.skip 0x4
|