https://github.com/7etsuo/pagedmemorymanagementsimulator
https://github.com/7etsuo/pagedmemorymanagementsimulator
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/7etsuo/pagedmemorymanagementsimulator
- Owner: 7etsuo
- Created: 2024-03-06T00:23:21.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-06T00:29:46.000Z (about 2 years ago)
- Last Synced: 2024-12-28T00:39:52.881Z (over 1 year ago)
- Language: C
- Size: 1.62 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Paged Memory Management Simulator

This code simulates a Memory Management Unit (MMU) for understanding the logical-to-physical address translation in a paged memory system. It features a simulation environment that includes 4K page sizes, 15-bit logical, and 24-bit physical addresses for two processes, each with their own page table. The implementation uses bitwise operations to navigate through pages and offsets, translating logical addresses into physical ones based on the page table entries. It introduces a valid/invalid bit mechanism to manage page utilization effectively, setting a 'fault' flag when accessing an invalid page. This simulation is a practical tool for exploring the intricacies of memory management in operating systems.