Skip to content
Commit 35405b86 authored by Hugues Kamba Mpiana's avatar Hugues Kamba Mpiana Committed by Filip Jagodzinski
Browse files

LAN91C111: Add functions to save/restore context during ISR



The selected register bank and content of the pointer register
need to be preserved during an ISR as they can change depending on the
operation performed in the ISR.

The commit also include changes to improve readability of the
select_registers_bank() function.

Signed-off-by: Hugues Kamba Mpiana's avatarHugues Kamba-Mpiana <hugues.kambampiana@arm.com>
parent 64010c4d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment