Re: Why need to load %%l0 register during switch_to macro

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

 



From: Bob <bo-liu@xxxxxxxxxxx>
Date: Wed, 10 Dec 2008 10:37:36 +0800

> I have another question about switch_to macro.
>  
> Why need to load %%l0 register during switch_to macro?
>  
> "ldd [%%sp+0x00], %%l0" 
>  
> I think load %%i6 is enough.

Read the comment about the switch_to() macro, it explains
this.  I don't see how you could miss it.

The trap return path for newly forked child tasks depend upon these
specific registers being setup a certain way.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux