Commit ef588f6b authored by He Sheng's avatar He Sheng Committed by guzitao
Browse files

sw64: access pt_regs with regoffsets where appropriate

Sunway inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I5GF7A



--------------------------------

The struct pt_regs of sw64 is a bit weird because r16~r18, r29 and
r30 are saved at odd location by hmcode, which makes it complicated
to reference them with regno. To improve maintainability, we map
these regno(s) in an unified way.

Signed-off-by: default avatarHe Sheng <hesheng@wxiat.com>

Signed-off-by: default avatarGu Zitao <guzitao@wxiat.com>
parent b9b8f159
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment