Andreas Färber a écrit :
> Am 22.09.2007 um 23:41 schrieb Aurelien Jarno:
> 
>> Aurelien Jarno a écrit :
>>> Thanks, that's helpful, it looks like the "lduba" instructions is not
>>> working correctly in your case. Now I have to find why.
>> I don't really understand, because that is the part of the code (at
>> least from the op point of view) that is almost unchanged. Looking at
>> the code again and again I can't see any problem.
>>
>> Could you please try to find the values of T1 at the end of
>> helper_ld_asi (adding a printf or using gdb). That may help us to
>> understand what is the problem.
> 
> With:
> 
> printf("helper_ld_asi: T1 = %llx\n", T1); // not sure if that's correct?

Yes that is correct.

> I get these two:
> 
> helper_ld_asi: T1 = 5171200000

The correct value here is 51. I don't really understand why this value
is not a 8-bit one, as the memory access is done through ldub_phys().
Could you please verify that helper_ld_asi() is called with the correct
parameters. This should be 0x20 0x1 0x0.

PS: I don't know if I will be able to get internet access in the next 4
days.

-- 
  .''`.  Aurelien Jarno             | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   [EMAIL PROTECTED]         | [EMAIL PROTECTED]
   `-    people.debian.org/~aurel32 | www.aurel32.net


Reply via email to