Fermé

Programming Task: palloc and pfree system calls

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

Compétences : Programmation C, Assembly

En voir plus : standalone web page based database application, coding web design front page student management system, landing page based login, hide rows page based result page, bluetooth web based management console, page based softphone, fun programming task, dynamic php page based url, web based management system, mediawiki page based template, freelance programming task, simple programming task java, web page based games avatar, outsource programming task, html code redirect page based time day, language basic front page hospital management program, creating web page based url parameters php, web page based wordpress, setting page based cookie post

Concernant l'employeur :
( 0 commentaires ) Santa Clara, United States

Nº du projet : #30114398

4 freelances font une offre moyenne de 210 $ pour ce travail

sayanthanpera

I can do................................................................................................................................................................................................

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(50 Commentaires)
4.8
ajaitx

Hello, I can do this. Please check my profile for more details.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 10 jours
(9 Commentaires)
3.9
Valuesolutions

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. Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(18 Commentaires)
5.5
NikTulup

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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(1 Évaluation)
1.9