Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title Virtual Memory in QNX4
Ref. No. QNX.000009536
Category(ies) Kernel, Development
Issue Does QNX4 support virtual memory?

Solution QNX4 supports virtual memory, but don't confuse this with a swap file.  Virtual memory only refers to the mapping of real physical memory through a MMU.  QNX operates in the protected mode of the Intel processors, and makes use of LDT and GDT selectors to provide memory mapping to physical memory.  Use of virtual memory also allows QNX to provide shared memory on a per-process basis as well as memory protection between processes, and even the processes that make up the OS itself.