Skip to content

This repository contains an implementation of a multi-level page table, written entirely in C. The project includes functionalities for memory management and address translation, demonstrating concepts of virtual memory and efficient handling of large address spaces in operating systems.

Notifications You must be signed in to change notification settings

arbelklein/Multi-Level-Page-Table

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Multi-Level-Page-Table

Description

This repository contains a simulated operating system code for handling multi-level (trie-based) page tables. The project implement two key functions:

  1. creating/destroying virtual memory mappings in a page table
  2. querying if an address is mapped in a page table The code simulates OS functionality and targets an imaginary 64-bit x86-like CPU.

Usage

  1. Compile the code using gcc:
    gcc -O3 -Wall -std=c11 os.c pt.c -o page_table_sim
  2. Run the compiled program:
    ./page_table_sim

About

This repository contains an implementation of a multi-level page table, written entirely in C. The project includes functionalities for memory management and address translation, demonstrating concepts of virtual memory and efficient handling of large address spaces in operating systems.

Topics

Resources

Stars

Watchers

Forks

Languages