You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, thank you for offer this RTOS, appreciate it.
In entry.S file, we use
Macro to set up trap handler. If a interrupt occur, code run to trap_prehandler,
we can assume that, if our function call have use all reg window except one indicated by WIM, and interrupt will use this preserved reg window.I figure out this call instrution will ruin next used reg window %i7, did i miss something? Sorry for my bad english.
The text was updated successfully, but these errors were encountered:
But call instruction is a synthetic instruction,it store return address in current win register %o7 which one are next win register %i7. In situation i pointed out,it will break return chains,cause program to fail.
First, thank you for offer this RTOS, appreciate it.
In entry.S file, we use
Macro to set up trap handler. If a interrupt occur, code run to trap_prehandler,
we can assume that, if our function call have use all reg window except one indicated by WIM, and interrupt will use this preserved reg window.I figure out this call instrution will ruin next used reg window %i7, did i miss something? Sorry for my bad english.
The text was updated successfully, but these errors were encountered: