Processor power-saving control method, storage medium, and processor power-saving control device
First Claim
1. A processor power-saving control method which employs a plurality of Operating Systems (OSs) whose execution is controlled by a processor, wherein said plurality of OSs includea primary OS for receiving a timer interrupt issued from a hardware timer after a predetermined time lapse, anda secondary OS treated as a task to be executed by said primary OS, said processor power-saving control method comprising the steps of:
- receiving said timer interrupt at said primary OS;
determining with said primary OS whether there exists any task scheduled to be executed on said secondary OS;
interrupting said secondary OS by issuing a secondary-OS interrupt from the primary OS to the secondary OS when the primary OS determines there exists any task scheduled to be executed on said secondary OS; and
removing the secondary OS from a power-saving mode in response to the secondary OS receiving the secondary OS-interrupt issued from the primary OS.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention is employed in the environment in which a plurality of OSs exist on a single processor having a power-saving function, and includes a primary OS for receiving a timer interrupt from a hardware timer after a predetermined time lapse and a secondary OS treated as a task to be executed by the primary OS, wherein upon receiving the timer interrupt, the primary OS determines whether there exists any task to be executed, and interrupts the secondary OS if there is any task to be executed on the secondary OS.
42 Citations
33 Claims
-
1. A processor power-saving control method which employs a plurality of Operating Systems (OSs) whose execution is controlled by a processor, wherein said plurality of OSs include
a primary OS for receiving a timer interrupt issued from a hardware timer after a predetermined time lapse, and a secondary OS treated as a task to be executed by said primary OS, said processor power-saving control method comprising the steps of: -
receiving said timer interrupt at said primary OS; determining with said primary OS whether there exists any task scheduled to be executed on said secondary OS; interrupting said secondary OS by issuing a secondary-OS interrupt from the primary OS to the secondary OS when the primary OS determines there exists any task scheduled to be executed on said secondary OS; and removing the secondary OS from a power-saving mode in response to the secondary OS receiving the secondary OS-interrupt issued from the primary OS. - View Dependent Claims (2, 3)
-
-
4. A processor power-saving control method which employs a plurality of Operating Systems (OSs) whose execution is controlled by a processor,
operation of said processor being placed in a power-saving mode when there exists no task scheduled to be executed on said plurality of OSs, said processor power-saving control method controlling timer interrupt processing performed by a hardware timer which causes said processor to exit the power-saving mode after an arbitrary time lapse, said processor power-saving control method keeping a power-saving state of said processor, said plurality of OSs including a primary OS for receiving a timer interrupt issued from said hardware timer and a secondary OS treated as a task to be executed by said primary OS, said processor power-saving control method comprising: -
a primary-OS process step performed by said primary OS;
a secondary-OS process step performed by said secondary OS; and
a secondary-OS interrupt step,said primary-OS process step including detecting said timer interrupt, a first determination step of, upon receiving said timer interrupt, determining whether there exists any task scheduled to be executed, and a processor stopping step of placing said processor in the power-saving mode when there is no task scheduled to be executed; said secondary-OS process step including a second determination step of determining whether there exists any task scheduled to be executed, and handing over processing to said first determination step when there is no task scheduled to be executed; said secondary-OS interrupt step including receiving a secondary-OS interrupt from said primary OS, performing interrupt processing on said secondary OS when said first determination step has determined that there exists any task scheduled to be executed on said secondary OS, and executing said second determination step at a predetermined time measured from said interrupt. - View Dependent Claims (5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A computer readable storage medium storing a plurality of Operating Systems (OSs) whose execution is controlled by a processor which is stopped when there exists no task scheduled to be executed, said plurality of OSs including a primary OS for receiving a timer interrupt issued from a hardware timer which activates said processor after an arbitrary time lapse, and a secondary OS treated as a task to be executed by said primary OS,
wherein said computer readable storage medium stores a program which causes a computer to perform: - a primary-OS process step on said primary OS;
a secondary-OS process step on said secondary OS; and
a secondary-OS interrupt step,said primary-OS process step including detecting said timer interrupt issued by said hardware timer, a first determination step of, upon detecting said timer interrupt, determining whether there exists any task scheduled to be executed, and a processor stopping step of placing said processor in a power-saving mode where there is no task scheduled to be executed; said secondary-OS process step including a second determination step of determining whether there exists any task scheduled to be executed, and handing over processing to said first determination step when there is no task scheduled to be executed; said secondary-OS interrupt step including receiving a secondary-OS interrupt from said primary OS, performing interrupt processing on said secondary OS when said first determination step has determined that there exists any task scheduled to be executed on said secondary OS, and executing said second determination step at a predetermined time measured from said interrupt. - View Dependent Claims (19, 20, 21, 22, 23, 24)
- a primary-OS process step on said primary OS;
-
25. A processor power-saving control device comprising:
-
a timer device including a hardware timer configured to issue a timer interrupt after an arbitrary time lapse, and activate a processor, operation of said processor being placed in a power-saving mode when there exists no task scheduled to be executed; and a storage device configured to store a primary Operating System (OS) and a secondary OS; wherein said primary OS, upon receiving said timer interrupt at said primary OS, is configured to determine whether there exists any task scheduled to be executed, and to cause said processor to enter the power-saving mode if there is no task scheduled to be executed and to issue a secondary-OS interrupt if there is any task scheduled to be executed; and said secondary OS, upon receiving the secondary-OS interrupt from said primary OS, is configured to determine whether there exists any task scheduled to be executed, and if there is any task scheduled to be executed, to execute the task, said secondary OS being treated as a task scheduled to be executed by said primary OS. - View Dependent Claims (26, 27, 28, 29, 30, 31, 32, 33)
-
Specification