摘要 |
It is provided a method for distinguishing between cold boot and warm boot of a device, wherein the device comprises a volatile memory containing a flag used for indicating boot type, the method comprises the step of determining boot type by reading the flag; wherein, the method further comprises upon detection of a message indicating occurrence of power outage, setting data of the volatile memory in such a way that make the device fail to determine the boot type as warm boot.
|