1. A computer implemented method for managing a context of a secure program loader, the method comprising: interrupting a secured program running on an special purpose processor core that is running in isolation mode and is included in a heterogeneous processor, wherein the heterogeneous processor includes the isolated special purpose processor core and one or more general purpose processor cores that can each access a shared memory, and wherein the isolated special purpose processor core includes a local memory that is inaccessible from the general purpose processors; encrypting the secured program's context using a randomly generated encryption key; storing the secured program's encrypted context to the shared memory using a secure loader; updating the secure loader's context with the generated encryption key; and saving the secure loader's context to the shared memory, the saving of the secure loader's context including: generating a random persistent security data; encrypting the secure loader's context using the generated persistent security data; storing the secure loader's encrypted context in the shared memory; and storing the persistent security data in a persistent storage register.