microZEUS
The whole stack, hand-drawn.

◄ Wiki / OS

virtual memory

Giving each program its own private-looking memory space that the hardware maps to real physical memory behind the scenes.

Rather than letting programs touch physical RAM directly, the CPU and OS translate each program's addresses through page tables into actual memory. This isolates programs from each other, lets them use more memory than physically exists, and stops one process from reading another's data. mzOS2 uses guarded per-process page tables so a fault in one process stays contained.

See also

  • userspaceThe world where ordinary programs run, kept separate from the privileged core of the operating system.
  • trap vectorA number the CPU records to say which kind of error or interrupt just occurred.
  • use-after-freeA bug where a program keeps using a piece of memory after it has already been handed back and freed.

Referenced by

trap vector · two-stage bootloader · userspace