The program is to mimic a 3 level pagetable. I have attached all files.
I have written most of this assignment and it compiles. I haven't done the output yet though. The program core dumps and it is probably the struct and page functions but I can't figure it out. Thank you.
In this assignment, you will construct a simulation of a 3-level page tree. Your program will read a file of hexadecimal addresses, construct the tree, and assign frame indices to each page. Once all of the addresses have been specified, the page tables which are in use will be printed in breadth-first order. See section functionality for details.
A 32 bit logical address space is assumed. The user will indicate how many bits are to be used for each of the page table levels, and a user-specified file containing hexadecimal addresses will be used to construct a page table.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).
Sun Solaris UNIX