Port-mips archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: MIPS Alchemy machine don't boot



KIYOHARA Takashi wrote:

> I look the current kernel and the old kernel.  The instruction is obviously
> different.
> 
> current kernel:
>   8020b8a0 <mutex_enter>:
>   8020b8a0:       c0880000        lwc0    $8,0(a0)
>   8020b8a4:       15000006        bnez    t0,8020b8c0 <mutex_enter+0x20>
>   8020b8a8:       02e0502d        0x2e0502d
>   8020b8ac:       e08a0000        swc0    $10,0(a0)
>   8020b8b0:       1140fffc        beqz    t2,8020b8a4 <mutex_enter+0x4>
>   8020b8b4:       c0880000        lwc0    $8,0(a0)
> 
>   <snip>
> 
> old kernel:
>   8020a4ec <mutex_enter>:
>   8020a4ec:       c0880000        lwc0    $8,0(a0)
>   8020a4f0:       15000006        bnez    t0,8020a50c <mutex_enter+0x20>
>   8020a4f4:       00175021        addu    t2,zero,s7
>   8020a4f8:       e08a0000        swc0    $10,0(a0)
>   8020a4fc:       1140fffc        beqz    t2,8020a4f0 <mutex_enter+0x4>
>   8020a500:       c0880000        lwc0    $8,0(a0)
> 
>   <snip>

That line looks like it should be:

         move   t2, MIPS_CURLWP

in current sources.

When you built the kernel, how was lock_stubs.S compiled?  I'm wondering if
it is being built with a 64-bit ABI somehow...

Cheers,
Simon.


Home | Main Index | Thread Index | Old Index