Patent ID: 8090938

Claim:
A method, comprising: protecting at least a first portion of a memory from access, wherein the memory is configured to store a first operating system and a second operating system, wherein the second operating system is configured to be executed by the first operating system, and wherein the at least first portion of the memory is protected from access such that the second operating system cannot access the first portion of the memory; storing a state of the first operating system and at least one memory attribute associated with the first operating system in the first portion of the memory; loading the second operating system into a second portion of the memory; transferring control to the second operating system; executing an exit code to restore the first operating system based at least in part on the stored state of the first operating system and the stored memory attributes associated with the first operating system, wherein storing a state of the first operating system comprises: copying and moving the state from a lower memory address space to an upper address space; and faking a reduced memory environment.