Skip to content
Commit b9a0d90a authored by Benjamin Walsh's avatar Benjamin Walsh
Browse files

x86: load _nanokernel in %edi in _Swap()



Loading the _nanokernel address in %edi rather than in %eax allows
calling funtions in _Swap() without having to restore it, since %eax is
used for the return value. %edi is a callee-saved register and does not
have to be restored.

Change-Id: I338086d8e15857e835d5d7487de975791926f869
Signed-off-by: default avatarBenjamin Walsh <benjamin.walsh@windriver.com>
parent 3cf3778d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment