Skip to contentSkip to conversation

do_ri and EPC adjustment

DISCUSSION Kip Walker 2 participants 2 messages Oct 4, 2002 – Oct 5, 2002 MIPS

lore
Share & tools
lore

Kip Walker

author
#0 lore raw

Sorry if this has already been discussed, but why does do_ri() adjust the EPC in compute_return_epc() before delivering the SIGILL to a user process?

Kip

#1 lore raw
Quoted 3 lines · Kip Walker

Sorry if this has already been discussed, but why does do_ri() adjust the EPC in compute_return_epc() before delivering the SIGILL to a user process?

The original reason was to avoid having knowledge weather to skip over an instruction or not from the signal return path. For various reasons this seems a wrong decission.

Ralf