comparison dsample-fw-disasm @ 263:7b679943b57d

dsample-fw-disasm: comment fixes
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 18 Jan 2018 05:10:18 +0000
parents d12a3207b1aa
children e4a596bbb2bf
comparison
equal deleted inserted replaced
262:db000ea183a5 263:7b679943b57d
238 1022c: e3700001 cmn r0, #1 238 1022c: e3700001 cmn r0, #1
239 10230: 1b00007f blne 0x10434 ; _auto_init 239 10230: 1b00007f blne 0x10434 ; _auto_init
240 10234: e59f01ec ldr r0, =0x1078744 ; via 0x10428 240 10234: e59f01ec ldr r0, =0x1078744 ; via 0x10428
241 10238: ea09151f b 0x2556bc ; _INC_Initialize 241 10238: ea09151f b 0x2556bc ; _INC_Initialize
242 242
243 ; $Init_Target: 243 $Init_Target:
244 2458f0: b570 push {r4, r5, r6, lr} 244 2458f0: b570 push {r4, r5, r6, lr}
245 2458f2: b081 sub sp, #4 245 2458f2: b081 sub sp, #4
246 ; write 0x6000 into FFFE:F008 like TCS211 246 ; write 0x6000 into FFFE:F008 like TCS211
247 2458f4: 4d62 ldr r5, =0xfffef006 ; via 0x245a80 247 2458f4: 4d62 ldr r5, =0xfffef006 ; via 0x245a80
248 2458f6: 2003 mov r0, #3 248 2458f6: 2003 mov r0, #3
346 245976: 2010 mov r0, #16 ; 0x10 346 245976: 2010 mov r0, #16 ; 0x10
347 245978: 8821 ldrh r1, [r4, #0] 347 245978: 8821 ldrh r1, [r4, #0]
348 24597a: 4308 orr r0, r1 348 24597a: 4308 orr r0, r1
349 24597c: 8020 strh r0, [r4, #0] 349 24597c: 8020 strh r0, [r4, #0]
350 350
351 ; remaining Target_Init() code not studied yet 351 ; remaining Init_Target() code not studied yet
352 24597e: 4849 ldr r0, =0xfffffa08 ; via 0x245aa4 352 24597e: 4849 ldr r0, =0xfffffa08 ; via 0x245aa4
353 245980: 4949 ldr r1, =0xffff ; via 0x245aa8 353 245980: 4949 ldr r1, =0xffff ; via 0x245aa8
354 245982: 8001 strh r1, [r0, #0] 354 245982: 8001 strh r1, [r0, #0]
355 245984: 241f mov r4, #31 ; 0x1f 355 245984: 241f mov r4, #31 ; 0x1f
356 245986: 8044 strh r4, [r0, #2] 356 245986: 8044 strh r4, [r0, #2]
430 245a22: 2002 mov r0, #2 430 245a22: 2002 mov r0, #2
431 245a24: f006 fc7d bl 0x24c322 431 245a24: f006 fc7d bl 0x24c322
432 245a28: b001 add sp, #4 432 245a28: b001 add sp, #4
433 245a2a: bd70 pop {r4, r5, r6, pc} 433 245a2a: bd70 pop {r4, r5, r6, pc}
434 434
435 ; $Init_Drivers: 435 $Init_Drivers:
436 245a2c: b500 push {lr} 436 245a2c: b500 push {lr}
437 245a2e: f7ce f9b0 bl 0x213d92 437 245a2e: f7ce f9b0 bl 0x213d92
438 245a32: f7af fb41 bl 0x1f50b8 438 245a32: f7af fb41 bl 0x1f50b8
439 245a36: f7da fd20 bl 0x22047a 439 245a36: f7da fd20 bl 0x22047a
440 245a3a: f755 fc4f bl 0x19b2dc 440 245a3a: f755 fc4f bl 0x19b2dc
441 245a3e: bd00 pop {pc} 441 245a3e: bd00 pop {pc}
442 442
443 ; $Init_Serial_Flows: 443 $Init_Serial_Flows:
444 245a40: b500 push {lr} 444 245a40: b500 push {lr}
445 245a42: 4827 ldr r0, =0x10786fc ; via 0x245ae0 445 245a42: 4827 ldr r0, =0x10786fc ; via 0x245ae0
446 245a44: f795 f98e bl 0x1dad64 446 245a44: f795 f98e bl 0x1dad64
447 245a48: 2000 mov r0, #0 447 245a48: 2000 mov r0, #0
448 245a4a: 2102 mov r1, #2 448 245a4a: 2102 mov r1, #2
449 245a4c: 2200 mov r2, #0 449 245a4c: 2200 mov r2, #0
450 245a4e: f795 fbdc bl 0x1db20a 450 245a4e: f795 fbdc bl 0x1db20a
451 245a52: f795 fc51 bl 0x1db2f8 451 245a52: f795 fc51 bl 0x1db2f8
452 245a56: bd00 pop {pc} 452 245a56: bd00 pop {pc}
453 453
454 ; $Init_Unmask_IT: 454 $Init_Unmask_IT:
455 245a58: b500 push {lr} 455 245a58: b500 push {lr}
456 245a5a: 2004 mov r0, #4 456 245a5a: 2004 mov r0, #4
457 245a5c: f005 fc21 bl 0x24b2a2 457 245a5c: f005 fc21 bl 0x24b2a2
458 245a60: 2012 mov r0, #18 ; 0x12 458 245a60: 2012 mov r0, #18 ; 0x12
459 245a62: f005 fc1e bl 0x24b2a2 459 245a62: f005 fc1e bl 0x24b2a2
541 250496: 4689 mov r9, r1 541 250496: 4689 mov r9, r1
542 250498: 4692 mov r10, r2 542 250498: 4692 mov r10, r2
543 25049a: 469b mov r11, r3 543 25049a: 469b mov r11, r3
544 25049c: bdf0 pop {r4, r5, r6, r7, pc} 544 25049c: bdf0 pop {r4, r5, r6, r7, pc}
545 545
546 ; $INC_Initialize: 546 $INC_Initialize:
547 254654: b530 push {r4, r5, lr} 547 254654: b530 push {r4, r5, lr}
548 254656: 1c05 add r5, r0, #0 548 254656: 1c05 add r5, r0, #0
549 254658: 4c13 ldr r4, =0x1079150 ; via 0x2546a8 549 254658: 4c13 ldr r4, =0x1079150 ; via 0x2546a8
550 25465a: 2001 mov r0, #1 550 25465a: 2001 mov r0, #1
551 25465c: 6020 str r0, [r4, #0] 551 25465c: 6020 str r0, [r4, #0]
568 25469c: 2002 mov r0, #2 568 25469c: 2002 mov r0, #2
569 25469e: 6020 str r0, [r4, #0] 569 25469e: 6020 str r0, [r4, #0]
570 2546a0: f001 fefa bl 0x256498 ; $TCT_Schedule veneer 570 2546a0: f001 fefa bl 0x256498 ; $TCT_Schedule veneer
571 2546a4: bd30 pop {r4, r5, pc} 571 2546a4: bd30 pop {r4, r5, pc}
572 572
573 ; $Application_Initialize: 573 $Application_Initialize:
574 2551e6: b500 push {lr} 574 2551e6: b500 push {lr}
575 2551e8: f7f0 fb82 bl 0x2458f0 ; $Init_Target 575 2551e8: f7f0 fb82 bl 0x2458f0 ; $Init_Target
576 2551ec: f7f0 fc1e bl 0x245a2c ; $Init_Drivers 576 2551ec: f7f0 fc1e bl 0x245a2c ; $Init_Drivers
577 2551f0: f001 fa82 bl 0x2566f8 ; $Cust_Init_Layer1 577 2551f0: f001 fa82 bl 0x2566f8 ; $Cust_Init_Layer1
578 2551f4: f7f0 fc24 bl 0x245a40 ; $Init_Serial_Flows 578 2551f4: f7f0 fc24 bl 0x245a40 ; $Init_Serial_Flows