The invention discloses a monitoring protection expansion
system and a monitoring protection method for an RISC-V memory sensitive area and application. The invention discloses a monitoring protection method for an RISC-V memory sensitive area, and the method achieves the monitoring protection through the configuration of monitoring parameters and the
polling scanning of the memory sensitive area, the detection of tampering and the
processing of abnormity. Comprising the steps that 1, a kernel calls a monitor configuration instruction to configure monitor state parameters and a monitored area; 2, the processor receives and transmits the configuration parameters to the monitor for
processing analysis and
verification, if the configuration parameters are legal, the configuration parameters are written into the control state register and the exclusive memory space of the monitor, and otherwise, the monitor is closed; 3, the processor calls a monitor to execute a scanning process according to a set instruction interval when an interval condition is met; step 4, the monitor checks the value and
address mapping of the monitored area, and performs
processing according to a preset exception processing strategy when an error occurs; 5, after the scanning process is completed, the monitor executes ending emptying state operation, and the
system program is returned to execute the main process. The invention further discloses a monitoring protection extension
system for implementing the method, and the system has wide application value.