Re: handle_sys question

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

 



On 05/22/2012 02:40 AM, Songmao Tian wrote:
Hello all:
    In handle_sys there's a
50
<http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=arch/mips/kernel/scall32-o32.S;h=a632bc144efa1b9ca977a582864530e33ee039cb;hb=72c04af9a2d57b7945cf3de8e71461bd80695d50#l50>
         sw      a3, PT_R26(sp)          # save a3 for syscall restarting

I woner why it need to save  a3 in R26(k0) slot in the stack?


It has to go somewhere. The K0 and K1 slots aren't used to save other things.

David Daney



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux