Skip to content
Commit 1e74f1bf authored by Carlo Caione's avatar Carlo Caione Committed by Carles Cufí
Browse files

arch: Introduce S2RAM interface



Add a new API used by arch to implement suspend-to-RAM (S2RAM).

The API is composed by a single function to save the CPU context on
suspend.

A CPU context is the arch-specific set of registers that must be
preserved on power-off (in retained RAM) to be able to resume the
execution from the point it was suspended without going through the
whole kernel startup stage.

Signed-off-by: default avatarCarlo Caione <ccaione@baylibre.com>
parent 83939c1b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment