Skip to content
Commit e50851d4 authored by Peter Mitsis's avatar Peter Mitsis Committed by Chris Friedt
Browse files

arch: xtensa: Add support for lazy HiFi ctx switching



When lazy HiFi context switching is enabled, the system starts with
the HiFi coprocessor disabled. Should the thread use that coprocessor,
it will generate an exception which in turn will enable the coprocessor
and save/restore the HiFi registers as appropriate. When switching
to a new thread, the HiFi coprocessor is again disabled.

For simplicity, there are no restrictions as to which thread is allowed
to use the coprocessor.

Signed-off-by: default avatarPeter Mitsis <peter.mitsis@intel.com>
parent d397a91c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment