| US 7,424,601 B2 | ||
| Methods and systems for running multiple operating systems in a single mobile device | ||
| Yongyong Xu, 630 Santa Cruz Ter., Sunnyvale, Calif. 94085 (US) | ||
| Filed on Jul. 07, 2004, as Appl. No. 10/710,387. | ||
| Prior Publication US 2006/0010314 A1, Jan. 12, 2006 | ||
| Int. Cl. G06F 9/00 (2006.01); G06F 9/24 (2006.01); G06F 15/177 (2006.01) | ||
| U.S. Cl. 713—1 [713/2; 713/100] | 17 Claims |

| 1. A method for an original operating system (a host OS) in a mobile device that supports a memory protection mechanism to
run another operating system (a guest OS) within the same memory space of said host OS while preserving the current state
of said host OS in memory throughout the execution of said guest OS, comprising the steps of:
said mobile device running said host OS;
said host OS starting said guest OS through a launcher;
said launcher going through said memory protection mechanism to mark memory blocks currently used by said host OS as protected
from said guest OS;
said launcher launching said guest OS;
said guest OS running, accessing only memory blocks that have not been marked as protected so that said memory blocks marked
as protected are preserved throughout the execution of said guest OS;
said guest OS finishing running through an exit-code;
said exit-code restoring the state of said host OS by reverting said protected memory blocks; and
said host OS resuming its operation.
|