Re: [loongson-PATCH-v2 23/23] Hibernation Support in mips system

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

 



Hi,

> +.text
> +LEAF(swsusp_arch_suspend)
[...]
> +	PTR_S a0, PT_R4(t0)
> +	PTR_S a1, PT_R5(t0)
> +	PTR_S a2, PT_R6(t0)

ooh, seems miss:

	PTR_S a3, PT_R7(t0)

and is there a need to save/restore a4,a5,a6,a7 in 64bit kernel? 

> +	PTR_S v1, PT_R3(t0)
> +	j swsusp_save
> +END(swsusp_arch_suspend)
> +
> +LEAF(swsusp_arch_resume)
[...]
> +	PTR_L a0, PT_R4(t0)
> +	PTR_L a1, PT_R5(t0)
> +	PTR_L a2, PT_R6(t0)
> +	PTR_L a3, PT_R7(t0)
> +	PTR_LI v0, 0x0
> +	PTR_L v1, PT_R3(t0)
> +	jr ra
> +END(swsusp_arch_resume)



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

  Powered by Linux