Method for diagnosing a memory of an electronic device
AssigneesHon Hai Precision Industry Co., Ltd., HONG FU JIN PRECISION INDUSTRY (ShenZhen) CO., LTD.
InventorsMING-RUI GUO, KUN MA
Life of this patent
Estimating the term…
Abstract
A electronic device includes a diagnosing system, a processor, a storage system, a memory, and one or more programs. The one or more programs includes a determining module, an obtaining module, a processing module, and a display module. The determining module determines whether there is a bad sector in the memory. If there is a bad sector in the memory, the determining module generates an obtaining signal. The obtaining module obtains the virtual address of the bad sector according to the obtaining signal. The processing module converts the virtual address into the corresponding physical address.
Claims11
An electronic device comprising:
- at least one processor, the at least one processor comprising a user mode and a kernel mode;
- a storage system;
- and
- one or more programs stored in the storage system and executable by the at least one processor, the one or more programs comprising:
- a determining module adapted to determine whether there is a bad sector in a memory of the electronic device in the user mode, if there is a bad sector in the memory, the determining module generates a obtaining signal;
- an obtaining module adapted to obtain a virtual address of the bad sector according to the obtaining signal in the user mode;
- and
- a processing module adapted to convert the virtual address into a corresponding physical address in the kernel mode.
A diagnosing method for diagnosing a bad sector of a memory in an electronic device, the method comprising:
- determining whether there is a bad sector in the memory in user mode;
- if there is a bad sector in the memory, generating a obtaining signal in user mode;
- obtaining the virtual address of the bad sector in user mode;
- and
- converting the virtual address into the corresponding physical address information in kernel mode.
Dependencies are inferred from the claim text.