comparison dsample-fw-disasm @ 305:da3e752cbed5

dsample-fw-disasm: tpudrv10 init code analysed
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 06 Oct 2019 01:56:38 +0000
parents a46e191a980e
children ce8a9d77ddd2
comparison
equal deleted inserted replaced
304:a46e191a980e 305:da3e752cbed5
5494 $l1dmacro_reset_hw: 5494 $l1dmacro_reset_hw:
5495 8132e0: b500 push {lr} 5495 8132e0: b500 push {lr}
5496 8132e2: b081 sub sp, #4 5496 8132e2: b081 sub sp, #4
5497 8132e4: 9000 str r0, [sp, #0] 5497 8132e4: 9000 str r0, [sp, #0]
5498 8132e6: 2001 mov r0, #1 5498 8132e6: 2001 mov r0, #1
5499 8132e8: f000 fade bl 0x8138a8 5499 8132e8: f000 fade bl 0x8138a8 ; $TPU_Reset
5500 8132ec: 2000 mov r0, #0 5500 8132ec: 2000 mov r0, #0
5501 8132ee: f000 fadb bl 0x8138a8 5501 8132ee: f000 fadb bl 0x8138a8 ; $TPU_Reset
5502 8132f2: 49aa ldr r1, =0x83c0a4 ; via 0x81359c 5502 8132f2: 49aa ldr r1, =0x83c0a4 ; via 0x81359c
5503 8132f4: 48fb ldr r0, =0xffff9000 ; via 0x8136e4 5503 8132f4: 48fb ldr r0, =0xffff9000 ; via 0x8136e4
5504 8132f6: 6008 str r0, [r1, #0] 5504 8132f6: 6008 str r0, [r1, #0]
5505 8132f8: 4aa8 ldr r2, =0x83c0a4 ; via 0x81359c 5505 8132f8: 4aa8 ldr r2, =0x83c0a4 ; via 0x81359c
5506 8132fa: 6811 ldr r1, [r2, #0] 5506 8132fa: 6811 ldr r1, [r2, #0]
5519 81375c: b500 push {lr} 5519 81375c: b500 push {lr}
5520 81375e: b081 sub sp, #4 5520 81375e: b081 sub sp, #4
5521 813760: 2064 mov r0, #100 ; 0x64 5521 813760: 2064 mov r0, #100 ; 0x64
5522 813762: 9000 str r0, [sp, #0] 5522 813762: 9000 str r0, [sp, #0]
5523 813764: 2001 mov r0, #1 5523 813764: 2001 mov r0, #1
5524 813766: f000 f941 bl 0x8139ec 5524 813766: f000 f941 bl 0x8139ec ; $TP_Reset
5525 81376a: 2001 mov r0, #1 5525 81376a: 2001 mov r0, #1
5526 81376c: f000 f8f0 bl 0x813950 5526 81376c: f000 f8f0 bl 0x813950 ; $TPU_ClkEnable
5527 813770: 2000 mov r0, #0 5527 813770: 2000 mov r0, #0
5528 813772: f000 f93b bl 0x8139ec 5528 813772: f000 f93b bl 0x8139ec ; $TP_Reset
5529 813776: 493f ldr r1, =0x83c0a4 ; via 0x813874 5529 813776: 493f ldr r1, =0x83c0a4 ; via 0x813874
5530 813778: 4845 ldr r0, =0xffff9000 ; via 0x813890 5530 813778: 4845 ldr r0, =0xffff9000 ; via 0x813890
5531 81377a: 6008 str r0, [r1, #0] 5531 81377a: 6008 str r0, [r1, #0]
5532 81377c: f000 f95e bl 0x813a3c 5532 81377c: f000 f95e bl 0x813a3c ; $l1dmacro_idle
5533 813780: 4947 ldr r1, =0x1388 ; via 0x8138a0 5533 813780: 4947 ldr r1, =0x1388 ; via 0x8138a0
5534 813782: 9800 ldr r0, [sp, #0] 5534 813782: 9800 ldr r0, [sp, #0]
5535 813784: 1808 add r0, r1, r0 5535 813784: 1808 add r0, r1, r0
5536 813786: f001 f8e9 bl 0x81495c 5536 813786: f001 f8e9 bl 0x81495c ; I$MOD
5537 81378a: 2101 mov r1, #1 5537 81378a: 2101 mov r1, #1
5538 81378c: 0349 lsl r1, r1, #13 5538 81378c: 0349 lsl r1, r1, #13
5539 81378e: 4301 orr r1, r0 5539 81378e: 4301 orr r1, r0
5540 813790: 4838 ldr r0, =0x83c0a4 ; via 0x813874 5540 813790: 4838 ldr r0, =0x83c0a4 ; via 0x813874
5541 813792: 6802 ldr r2, [r0, #0] 5541 813792: 6802 ldr r2, [r0, #0]
5574 8137d4: f7fe fcb8 bl 0x812148 ; $rf_init 5574 8137d4: f7fe fcb8 bl 0x812148 ; $rf_init
5575 8137d8: 9000 str r0, [sp, #0] 5575 8137d8: 9000 str r0, [sp, #0]
5576 8137da: 4931 ldr r1, =0x1388 ; via 0x8138a0 5576 8137da: 4931 ldr r1, =0x1388 ; via 0x8138a0
5577 8137dc: 9800 ldr r0, [sp, #0] 5577 8137dc: 9800 ldr r0, [sp, #0]
5578 8137de: 1808 add r0, r1, r0 5578 8137de: 1808 add r0, r1, r0
5579 8137e0: f001 f8bc bl 0x81495c 5579 8137e0: f001 f8bc bl 0x81495c ; I$MOD
5580 8137e4: 2101 mov r1, #1 5580 8137e4: 2101 mov r1, #1
5581 8137e6: 034a lsl r2, r1, #13 5581 8137e6: 034a lsl r2, r1, #13
5582 8137e8: 4302 orr r2, r0 5582 8137e8: 4302 orr r2, r0
5583 8137ea: 4922 ldr r1, =0x83c0a4 ; via 0x813874 5583 8137ea: 4922 ldr r1, =0x83c0a4 ; via 0x813874
5584 8137ec: 6808 ldr r0, [r1, #0] 5584 8137ec: 6808 ldr r0, [r1, #0]
5585 8137ee: 1c83 add r3, r0, #2 5585 8137ee: 1c83 add r3, r0, #2
5586 8137f0: 600b str r3, [r1, #0] 5586 8137f0: 600b str r3, [r1, #0]
5587 8137f2: 8002 strh r2, [r0, #0] 5587 8137f2: 8002 strh r2, [r0, #0]
5588 8137f4: f000 f922 bl 0x813a3c 5588 8137f4: f000 f922 bl 0x813a3c ; $l1dmacro_idle
5589 8137f8: b001 add sp, #4 5589 8137f8: b001 add sp, #4
5590 8137fa: bd00 pop {pc} 5590 8137fa: bd00 pop {pc}
5591 5591
5592 8137fc: 00008008 5592 8137fc: 00008008
5593 5593
5614 813828: 8011 strh r1, [r2, #0] 5614 813828: 8011 strh r1, [r2, #0]
5615 81382a: 207d mov r0, #125 ; 0x7d 5615 81382a: 207d mov r0, #125 ; 0x7d
5616 81382c: 00c0 lsl r0, r0, #3 5616 81382c: 00c0 lsl r0, r0, #3
5617 81382e: 9000 str r0, [sp, #0] 5617 81382e: 9000 str r0, [sp, #0]
5618 813830: 9800 ldr r0, [sp, #0] 5618 813830: 9800 ldr r0, [sp, #0]
5619 813832: f7fe fc89 bl 0x812148 5619 813832: f7fe fc89 bl 0x812148 ; $rf_init
5620 813836: 9000 str r0, [sp, #0] 5620 813836: 9000 str r0, [sp, #0]
5621 813838: 491a ldr r1, =0x1388 ; via 0x8138a4 5621 813838: 491a ldr r1, =0x1388 ; via 0x8138a4
5622 81383a: 9800 ldr r0, [sp, #0] 5622 81383a: 9800 ldr r0, [sp, #0]
5623 81383c: 1808 add r0, r1, r0 5623 81383c: 1808 add r0, r1, r0
5624 81383e: f000 fa4d bl 0x813cdc 5624 81383e: f000 fa4d bl 0x813cdc