comparison pirelli/fw-disasm @ 240:7f10fb2c17cd

pirelli/fw-disasm: spi_core() located
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 23 Dec 2017 01:38:28 +0000
parents 7a394cc1c72a
children cead37b6ff74
comparison
equal deleted inserted replaced
239:7a394cc1c72a 240:7f10fb2c17cd
1044 3e6aac: 0005bca0 __470_S_MEM_out_call_load_start 1044 3e6aac: 0005bca0 __470_S_MEM_out_call_load_start
1045 1045
1046 Run address = load address + 0x7ECAEC 1046 Run address = load address + 0x7ECAEC
1047 for both the actual code and the trampolines 1047 for both the actual code and the trampolines
1048 1048
1049 $spi_core:
1050 3e8ca0: b500 push {lr}
1051 3e8ca2: b085 sub sp, #20 ; 0x14
1052 3e8ca4: 4669 mov r1, sp
1053 3e8ca6: 2000 mov r0, #0
1054 3e8ca8: 7208 strb r0, [r1, #8]
1055 3e8caa: 483a ldr r0, =0xa0010 ; via 0x3e8d94
1056 3e8cac: 9000 str r0, [sp, #0]
1057 3e8cae: a02e add r0, pc, #184 ; 0xb8
1058 3e8cb0: 2118 mov r1, #24 ; 0x18
1059 3e8cb2: 2200 mov r2, #0
1060 3e8cb4: 43d2 mvn r2, r2
1061 3e8cb6: 2305 mov r3, #5
1062 3e8cb8: f7f1 ffbc bl 0x3dac34
1063 3e8cbc: 2034 mov r0, #52 ; 0x34
1064 3e8cbe: 4936 ldr r1, =0x1774e38 ; via 0x3e8d98
1065 3e8cc0: 680a ldr r2, [r1, #0]
1066 3e8cc2: 2101 mov r1, #1
1067 3e8cc4: 5481 strb r1, [r0, r2]
1068 3e8cc6: 200c mov r0, #12 ; 0xc
1069 3e8cc8: f7f6 fff1 bl 0x3dfcae ; $IQ_Unmask
1070 3e8ccc: f7b8 fbd6 bl 0x3a147c ; $Set_Switch_ON_Cause
1071 3e8cd0: 4668 mov r0, sp
1072 3e8cd2: 7a00 ldrb r0, [r0, #8]
1073 3e8cd4: 2800 cmp r0, #0
1074 3e8cd6: d131 bne 0x3e8d3c
1075 3e8cd8: 4830 ldr r0, =0xffff ; via 0x3e8d9c
1076 3e8cda: 2100 mov r1, #0
1077 3e8cdc: f6c8 fc18 bl 0x2b1510 ; $rvf_wait
1078 3e8ce0: 4669 mov r1, sp
1079 3e8ce2: 8208 strh r0, [r1, #16] ; 0x10
1080 3e8ce4: 4668 mov r0, sp
1081 3e8ce6: 8a00 ldrh r0, [r0, #16] ; 0x10
1082 3e8ce8: 0840 lsr r0, r0, #1
1083 3e8cea: d30b bcc 0x3e8d04
1084 3e8cec: 2000 mov r0, #0
1085 3e8cee: f5da fc81 bl 0x1c35f4 ; $rvf_read_mbox
1086 3e8cf2: 9003 str r0, [sp, #12] ; 0xc
1087 3e8cf4: 9803 ldr r0, [sp, #12] ; 0xc
1088 3e8cf6: f7ec ff33 bl 0x3d5b60 ; $spi_process
1089 3e8cfa: 2800 cmp r0, #0
1090 3e8cfc: d002 beq 0x3e8d04
1091 3e8cfe: 9803 ldr r0, [sp, #12] ; 0xc
1092 3e8d00: f008 fd1e bl 0x3f1740 ; $pwr_process
1093 3e8d04: 4668 mov r0, sp
1094 3e8d06: 8a00 ldrh r0, [r0, #16] ; 0x10
1095 3e8d08: 0940 lsr r0, r0, #5
1096 3e8d0a: d301 bcc 0x3e8d10
1097 3e8d0c: f6fa f8c4 bl 0x2e2e98 ; $pwr_bat_test_timer_process
1098 3e8d10: 4668 mov r0, sp
1099 3e8d12: 8a00 ldrh r0, [r0, #16] ; 0x10
1100 3e8d14: 0980 lsr r0, r0, #6
1101 3e8d16: d301 bcc 0x3e8d1c
1102 3e8d18: f6f9 fe64 bl 0x2e29e4 ; $pwr_CI_charge_timer_process
1103 3e8d1c: 4668 mov r0, sp
1104 3e8d1e: 8a00 ldrh r0, [r0, #16] ; 0x10
1105 3e8d20: 09c0 lsr r0, r0, #7
1106 3e8d22: d301 bcc 0x3e8d28
1107 3e8d24: f6fa f88b bl 0x2e2e3e ; $pwr_CV_charge_timer_process
1108 3e8d28: 4668 mov r0, sp
1109 3e8d2a: 8a00 ldrh r0, [r0, #16] ; 0x10
1110 3e8d2c: 0a00 lsr r0, r0, #8
1111 3e8d2e: d301 bcc 0x3e8d34
1112 3e8d30: f7ca fe95 bl 0x3b3a5e ; $pwr_discharge_timer_process
1113 3e8d34: 4668 mov r0, sp
1114 3e8d36: 7a00 ldrb r0, [r0, #8]
1115 3e8d38: 2800 cmp r0, #0
1116 3e8d3a: d0cd beq 0x3e8cd8
1117 3e8d3c: 2000 mov r0, #0
1118 3e8d3e: b005 add sp, #20 ; 0x14
1119 3e8d40: bd00 pop {pc}
1120
1049 $Application_Initialize: 1121 $Application_Initialize:
1050 3f11f8: b500 push {lr} 1122 3f11f8: b500 push {lr}
1051 3f11fa: f7ca faeb bl 0x3bb7d4 ; $Init_Target 1123 3f11fa: f7ca faeb bl 0x3bb7d4 ; $Init_Target
1052 3f11fe: f7ca fbe4 bl 0x3bb9ca ; $Init_Drivers 1124 3f11fe: f7ca fbe4 bl 0x3bb9ca ; $Init_Drivers
1053 3f1202: f686 f8eb bl 0x2773dc 1125 3f1202: f686 f8eb bl 0x2773dc