Method and device for monitoring memory
A memory and monitored technology, which is applied in hardware monitoring, instrumentation, electrical digital data processing, etc., can solve problems such as limiting the use range of data breakpoints, limited number of debugging registers, and poor compatibility, so as to improve debugging and maintenance efficiency. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0057] With the CPU having a paging mechanism function as the realization premise of the first embodiment of the present invention; in addition, in the first embodiment, the paging size is set to 4KB;
[0058] The specific process is as figure 2 Shown:
[0059] 201. Put the memory addresses to be monitored in one or more debug pages, and set the page mark position of the debug pages as page fault or read-only;
[0060] 202. After the system starts, decide whether to mark the debug page as not existing in the memory according to the configuration situation, so as to realize the opening or closing of the data breakpoint function; in Embodiment 1 of the present invention, it is assumed that the debugging (debug) function has been opened, Therefore set the present bit to 0;
[0061] 203. When the CPU reads and writes the memory address in the debugging page, it will trigger a page fault exception instruction, and the system execution will switch to the page fault exception proc...
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