This repository contains a simulated operating system code for handling multi-level (trie-based) page tables. The project implement two key functions:
- creating/destroying virtual memory mappings in a page table
- querying if an address is mapped in a page table The code simulates OS functionality and targets an imaginary 64-bit x86-like CPU.
- Compile the code using
gcc
:gcc -O3 -Wall -std=c11 os.c pt.c -o page_table_sim
- Run the compiled program:
./page_table_sim