zephyr/ext
Julien Delayen 176d184fb8 power: Add ARC core suspend and resume support
When going into DEEP_SLEEP mode, the ARC core now saves
its context. This includes:
- All core registers
- Stack pointer
- Program counter (restored by jumping to the restore code)

The arc reset code now checks if the GPS0 bit 2 is set.
This is similar to the behavior of the x86 core done by
the QMSI bootloader which is setting GPS0 bit 1 in order
to call the restore path instead of cold boot path.

The sample has been adapted in order to support the ARC.

Jira: ZEP-1222

Change-Id: I375f03b16b8a5fd1f07ead55cf7e4947d6290c9f
Signed-off-by: Julien Delayen <julien.delayen@intel.com>
2016-12-15 12:49:33 +00:00
..
debug ext: Import Segger J-Link RTT library 2016-12-03 15:24:38 +00:00
fs fs: expose generic ramdisk/flash disk access functions 2016-11-09 02:45:45 +00:00
hal power: Add ARC core suspend and resume support 2016-12-15 12:49:33 +00:00
lib samples/mbedtls_dtlsclient: mbedTLS sample DTLS client app. 2016-12-02 12:40:51 +02:00
Kbuild ext: Import Segger J-Link RTT library 2016-12-03 15:24:38 +00:00
Kconfig ext: Import Segger J-Link RTT library 2016-12-03 15:24:38 +00:00
Makefile ext: Import Segger J-Link RTT library 2016-12-03 15:24:38 +00:00