Methods and systems for running multiple operating systems in a single mobile device
First Claim
1. A mobile device comprising:
- a memory including a host operating system and a guest operating system, wherein an image of the guest operating system is wrapped into a host operating system application, wherein the host operating system executes the host operating system application to start the guest operating system, after which guest operating system executes the guest operating system code; and
a processor configured via programming to;
store a state of the host operating system in a first portion of the memory;
copy the first portion of the memory onto an external memory device to protect the state of the host operating system such that the guest operating system cannot use the state of the host operating system;
load the guest operating system into a second portion of the memory;
wherein at least a portion of the first portion of the memory is used;
transfer control to the guest operating system;
receive an exit code from the guest operating system, wherein the exit code is generated at the termination of the guest operating system;
restore, based upon receipt of the exit code, the copied first portion of the memory from the external memory device back to the memory; and
resume operation of the host operating system after the copied first portion of the memory is restored from the external memory device.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods and systems for running multiple operating systems in a single embedded or mobile device (include PDA, cellular phone and other devices) are disclosed. The invention allows a mobile device that normally can only run a single operating system to run another operating system while preserving the state and data of the original operating system. Guest OS is packaged into special format recognizable by the host OS that still can be executed in place by the system. The Methods include: •Change the memory protection bits for the original OS; •Fake a reduced physical memory space for guest OS; •Use special memory device driver to claim memories of host OS; •Backup whole image of the current OS and data to external memory card.
-
Citations
9 Claims
-
1. A mobile device comprising:
-
a memory including a host operating system and a guest operating system, wherein an image of the guest operating system is wrapped into a host operating system application, wherein the host operating system executes the host operating system application to start the guest operating system, after which guest operating system executes the guest operating system code; and a processor configured via programming to; store a state of the host operating system in a first portion of the memory; copy the first portion of the memory onto an external memory device to protect the state of the host operating system such that the guest operating system cannot use the state of the host operating system; load the guest operating system into a second portion of the memory;
wherein at least a portion of the first portion of the memory is used;transfer control to the guest operating system; receive an exit code from the guest operating system, wherein the exit code is generated at the termination of the guest operating system; restore, based upon receipt of the exit code, the copied first portion of the memory from the external memory device back to the memory; and resume operation of the host operating system after the copied first portion of the memory is restored from the external memory device. - View Dependent Claims (2, 3)
-
-
4. A method comprising:
protecting, at a processor, a first portion of a memory such that a guest operating system cannot use the first portion of the memory, wherein protecting the first portion of the memory includes copying the first portion of the memory onto an external memory device, wherein an image of the guest operating system is wrapped into a host operating system application, wherein the host operating system executes the host operating system application to start the guest operating system, after which guest operating system executes the guest operating system code; storing a state of the host operating system in the first portion of the memory; copying the first portion of the memory onto an external memory device to protect the state of the host operating system such that the guest operating system cannot use the state of the host operating system; loading the guest operating system into a second portion of the memory;
wherein at least a portion of the first portion of the memory is used;transferring control to the guest operating system; receiving an exit code from the guest operating system, wherein the exit code is generated at the termination of the guest operating system; restoring, based upon receipt of the exit code, the copied first portion of the memory from the external memory device back to the memory; and resuming operation of the host operating system after the copied first portion of the memory is restored from the external memory device. - View Dependent Claims (5, 6)
-
7. An article of manufacture including a non-transitory computer-readable medium having instructions stored thereon that, if executed by a computing device, cause the computing device to perform operations comprising:
protecting, at a processor, a first portion of a memory such that a guest operating system cannot use the first portion of the memory, wherein protecting the first portion of the memory includes copying the first portion of the memory onto an external memory device, wherein an image of the guest operating system is wrapped into a host operating system application, wherein the host operating system executes the host operating system application to start the guest operating system, after which guest operating system executes the guest operating system code; storing a state of the host operating system in the first portion of the memory; copying the first portion of the memory onto an external memory device to protect the state of the host operating system such that the guest operating system cannot use the state of the host operating system; loading the guest operating system into a second portion of the memory;
wherein at least a portion of the first portion of the memory is used;transferring control to the guest operating system; receiving an exit code from the guest operating system, wherein the exit code is generated at the termination of the guest operating system; restoring, based upon receipt of the exit code, the copied first portion of the memory from the external memory device back to the memory; and resuming operation of the host operating system after the copied first portion of the memory is restored from the external memory device. - View Dependent Claims (8, 9)
Specification