Command line argument: ./a.out addresses.txt
The C program created by myself and a few classmates, is a virtual memory manager that we made for our operating systems final project. The program translates logical addresses to physical addresses (for a virtual address space of 2^16 bytyes)
Logical addresses are contained in addresses.txt A TLB is used along with a page table
Demand Paging is implimented so when a Page Fault occurs, the page is read in from BACKING_STORE and then subsiquently accessed through the TLB or page table BACKING_STORE.bin is hard coded
The program will print out: logical address, physical address, value for each address
and then output final statistics at the end: number of addresses calculated pagefault rate TLB hits TLB hit rate