Hi Marcos,
Marcos Pereira wrote:
Hi Greg,
this is the disassembled code:
020088ce <profile_tick>:
20088ce: 2f0a movel %a2,[EMAIL PROTECTED]
20088d0: 2f02 movel %d2,[EMAIL PROTECTED]
20088d2: 242f 000c movel %sp@(12),%d2
20088d6: 2479 0212 5154 moveal 2125154 <per_cpu____irq_regs>,%a2
20088dc: 7001 moveq #1,%d0
20088de: b082 cmpl %d2,%d0
20088e0: 6724 beqs 2008906 <profile_tick+0x38>
20088e2: 302a 002e movew
%a2@(46),%d0 <------- Here is the problem
This doesn't match the PC of the dump you emailed?
PC: [<0200896a>]
SR: 2704 SP: 021e6d58 a2: 00000000
d0: 00000001 d1: 00000000 d2: 00000001 d3: 00000001
d4: 00000041 d5: 00000000 a0: 00000000 a1: 021e6000
Regards
greg
20088e6: 0280 0000 2000 andil #8192,%d0
20088ec: 672a beqs 2008918 <profile_tick+0x4a>
20088ee: 2039 0210 1dbc movel 2101dbc <prof_cpu_mask>,%d0
20088f4: 0800 0000 btst #0,%d0
20088f8: 671e beqs 2008918 <profile_tick+0x4a>
20088fa: 2f2a 0030 movel %a2@(48),[EMAIL PROTECTED]
20088fe: 2f02 movel %d2,[EMAIL PROTECTED]
2008900: 618a bsrs 200888c <profile_hit>
2008902: 508f addql #8,%sp
2008904: 6012 bras 2008918 <profile_tick+0x4a>
2008906: 2079 0212 24ec moveal 21224ec <timer_hook>,%a0
Thanks for the help,
Marcos
PS: I'm using the last uclinux Full Source Distribution (20070130) and
the m68k-uclinux-20061214 toolchain
<http://dls.uclinux.org/uClinux-dist-20070130.tar.gz>
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
--
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: [EMAIL PROTECTED]
SnapGear -- a Secure Computing Company PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev