soc: intel_adsp/cavs_v25: Add CPU halt and relaunch APIs

Add a SOC API to allow for application control over deep idle power
states.  Note that the hardware idle entry happens out of the WAITI
instruction, so the application has to be responsibile for ensuring
the CPU to be halted actually reaches idle deterministically.  Lots of
warnings in the docs to this effect.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
This commit is contained in:
Andy Ross
2021-08-18 06:28:11 -07:00
committed by Anas Nashif
parent 3fb9938d2d
commit c6d077e1bc
4 changed files with 98 additions and 9 deletions

View File

@@ -138,11 +138,8 @@ z_thread_return_value_set_with_data(struct k_thread *thread,
#ifdef CONFIG_SMP
extern void z_smp_init(void);
#if CONFIG_MP_NUM_CPUS > 1 && !defined(CONFIG_SMP_BOOT_DELAY)
extern void smp_timer_init(void);
#endif
#endif
extern void z_early_boot_rand_get(uint8_t *buf, size_t length);