Patent ID: 7409536
Filing Date: 2008-08-05
Classification: G06F

Abstract:
1. A computer system comprising: at least two operating systems coexisting independently of each other, said computer system further comprising a random access memory and a basic input output system (BIOS) stored in read-only memory, with the BIOS including a power-on self test routine to invoke a first operating system from said at least two operating systems to be an invoked operating system when said first operating system is without a fault, and to invoke another operating system from said at least two operating systems to be the invoked operating system when said first operating system is with the fault, and each of the operating systems including a boot loader routine and a suspension routine; an operating system swap core in the BIOS that includes a memory allocation component invoked by the power-on self test routine upon the computer system startup to allocate a random access memory area for each of the operating systems, and a backup and restore component invoked by the suspension routine to backup and restore data specific to each of the operating systems, wherein each of the operating systems further includes a boot loader patch routine to transfer each corresponding operating system to memory area allocated by the operating system swap core and set allocated memory area as a physical memory available for the corresponding operating system; and each of the operating systems further comprising a swap routine to set swap parameters and invoke a suspension routine in the corresponding operating system to give system control to the operating system swap core, such that said computer system is enabled to swap between the operating systems when said invoked operating system is subject to a virus attack or crash due to one of: a fault, a deletion of files, and formatting of logical disk drives.