Method and device used for hot patching of CPU with MIPS architecture
A hot patch and equipment technology, applied in the field of communication, can solve problems such as hot patch
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0043] In order to solve the problem of the hot patch of the MIPS architecture CPU, the technical solution of the present invention modifies the first instruction to a jump instruction, and the second instruction to a null instruction, and can ensure that the CPU jumps by atomically modifying the two operating instructions. Go to the hot patch area to effectively avoid system operation errors.
[0044] Such as figure 1 and figure 2 Shown, the present invention provides a kind of method for the hot patch of MIPS architecture CPU, and described method comprises:
[0045] Step S100: Scan each task stack of the system to detect whether the patched function is interrupted;
[0046] When the patched function is not interrupted, modify the first instruction of the patched function to a breakpoint instruction. If it is detected that the patched function is interrupted, no modification operation is performed, but the scanning of each task stack of the system is continued until it i...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com