摘要 |
PROBLEM TO BE SOLVED: To provide an information processing device capable of quickly saving and restoring registers.SOLUTION: A bank register determination unit returns, upon receiving a bank register or non-bank register acquisition instruction and mode information, a list of non-bank registers or a list of bank registers used in a mode designated by the acquisition instruction. A save register determination unit determines, when switchover is requested, an operating system at a switching source handles a mode and the mode is handled by another operating system, that the bank registers in the mode need to be saved, and acquires, from the bank register determination unit, a list of the bank registers to be saved. A register save/restore unit acquires, on the basis of information on the operating systems at a switchover destination and the switching source, a list of the bank registers to be saved and a list of non-bank registers from the save register determination unit, as well as acquires information on the registers to be restored from a save information management unit and saves and restores the register information. |