Patent ID: 11256830

Abstract:
Embodiments of the disclosure provide an apparatus for adding a protection function for an indirect access memory controller. The apparatus can include: a bus monitoring unit configured to monitor a bus address, perform permission authentication if a register controlling operation is detected, and configure a list entry if a permission list configuring operation is detected; an permission list unit configured to partition a memory space into several virtual memory protection areas and independently set an access permission attribute (i.e.: readable, writable, erasable, etc.) of each memory area; a window register information bus configured to provide window register information, i.e., transmit window register information in the memory controller to the protective apparatus, wherein the window register information includes a read window address, a write window address, and an erase window address, and multiple window addresses can correspond to the same bus window register; and an unauthorized operation processing unit configured to process a subsequent operation performed when a permission violating access occurs. The present disclosure can add a memory protection function by merely making simple modifications, thereby achieving an objective of memory protection.