Question: CSCI 311 Project 4 Group Assignment Due: March 14, 2018 Points: 40 Purpose: The objective of this project is to learn how to create /

 CSCI 311 Project 4 Group Assignment Due: March 14, 2018 Points:

CSCI 311 Project 4 Group Assignment Due: March 14, 2018 Points: 40 Purpose: The objective of this project is to learn how to create / implement a new system call. Requirements: Create a new MINIX system call with the following signature int primeNum (int number, int 'prime) s nt 'prime) ttst This function is to test whether pplied mumber is a prime number number must be in the range [0, 4095). The function is to return o (OK) if the number is in the proper range so the test can be performed. In addition, prime is to be set to indicate whether the number is a prime number (1 if prime, 0 otherwise). aM If namber is not in the range [0, 4095], then the function is to return-land errno is to be set to the value EINVAL ma Provide a header file entry, and library functions to invoke the new system call. Process the resulting system call within the PM server, that is, code within the PM server is to determine whether or not the supplied number is prime. Write and execute a test program to demonstrate that the system call works Sohs wo correctly Hints: .Search carefully for all of the files you need to modify. .When you make changes to PM, remember to re-boot and select the latest image that contains your compiled changes Turn-in: 1. A design of the changes needed for this project. 2. Turn-in a listing of all source files that you modify or create; this includes any changed Makefiles. Clearly label each listing with the path of the relevant file. 3. Indicate all changedew code. 4. Turn in a listing of your test program and the output produced by it. 5. Each group is to demonstrate their solution to the instructor. CSCI311 Spring 2018

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!