implement two page-based memory management functions for the xv6 kernel. Both palloc and pfree take one argument -- the target virtual address to be mapped or unmapped.
the skeleton code (in “src”) contains the user-space hooks for the two system calls, and a test program “ptest”. The semantics of the system calls are described in user.h. The ptest program tests for various corner cases that should be correctly handled by the system calls. The two system calls ’kernel part is missing. You will need to add code to implement the two system calls. To be specific, the new functions should be added to the end of vm.c because palloc and pfree will need to call a static function defined in [login to view URL] will also need to change other file(s) on the kernel side
Deliverables
be able to run make qemu or make qemu nox
To be specific, 1 (one,success) should be returned on success; palloc/pfree should return 0 (zero,failure) when seeing an unaligned address or an address out of range. Double-mapping and double-freeing should both return 0. When a request cannot be fulfilled due to other reasons(e.g., out of memory), the system call should also return 0
I will provide zip file that has the code that needs to be worked on
I can do................................................................................................................................................................................................
Hello,
I hope this finds you well. I have just seen your project requiring;
C Programming
Assembly
I believe that my 8-year experience in this field is what you need right away. Avoid the headache of looking further.
Let's save time and focus on the real task. My proposed timelines and budget are just placeholder and an open for negotiation to increase or decrease as per the full requirements at hand.
Allow me to prove how better my review can be. Smile all the way! Click the message button, so initiate the conversation.
Regards,
Fridah
Hi Client!
I'm really interested in your project.
I'm an Electrical Engineer and have a rich experiences in Assembly.
And I'm good in C/C++ programming.
I think I can help you.
I hope you hire me.
Thanks for reading my bid.