Processor$context_load function <nucleus/kernel.h>

The Processor$context_load function restores the state of the processor specified by a Context structure. This function will not return, instead transferring control to just after the related context_save. It sets a return code that can be read by checking the return code on that call.

Syntax

void
Processor$context_load(
	struct Context *ctx
) __attribute__((noreturn));

Parameters

ctx

The address of a Context structure containing the saved processor state.