+24
−71
Loading
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8CCP8 -------------------------------- Add three new members to pt_regs - orig_r0: stores the r0 before syscall - orig_r19: stores the r19 before syscall Since the syscall_nr is stored in r0, orig_r0 will be set to -1 in non-syscall context or when syscall is complete. Modify syscall process accordingly. Signed-off-by:Mao Minkai <maominkai@wxiat.com> Reviewed-by:
He Sheng <hesheng@wxiat.com> Signed-off-by:
Gu Zitao <guzitao@wxiat.com>