How MMU(Memory management Unit) unit in a processor protects the memory segments

前端 未结 3 1537
既然无缘
既然无缘 2021-01-31 01:04

While going through one embedded processor architecture, i have seen the block MMU and it is mainly mentioning about the memory protection functionality.

May i know ,

3条回答
  •  再見小時候
    2021-01-31 01:19

    Memory protection means that each process on a system runs in it's own virtual address space, essentially, each process runs as though it has a system's main memory all to itself. This also implies that one process cannot alter memory that is reserved for another process; this is critical for system stability and security (for example, a program cannot simply scan through system memory to locate the password you just typed).

    There are many, many other functions provided by an MMU (virtual memory, dynamic relocation, etc.).

    That's what and why. To answer "how", you should do some further reading.

提交回复
热议问题