Browse Source
Before cross stack call is setup correctly, we cannot allow interrupts to be triggered or it may interfere with register window spilling since we are clobbering registers needed for that to work. However, there was a brief period where higher level interrupts could fire due to code writing to PS with lowered interrupt mask before raising it again. So rework that part to avoid writing PS with intermediate value, and now we mask interrupt until everything is setup correctly before interrupt is enabled again. Signed-off-by: Daniel Leung <daniel.leung@intel.com>pull/88739/head
1 changed files with 25 additions and 24 deletions
Loading…
Reference in new issue