Question: 9 On C > Users > marti > OneDrive > Documents > shareName > simplesolution > C simple-solutionc>. 1 gios dude diuinit.h> 2 nclude 3

 9 On C > Users > marti > OneDrive > Documents
> shareName > simplesolution > C simple-solutionc>. 1 gios dude diuinit.h> 2

9 On C > Users > marti > OneDrive > Documents > shareName > simplesolution > C simple-solutionc>. 1 gios dude diuinit.h> 2 nclude 3 #include 4 #include 5 #include 6 7 struct birthday 8 { int month; 10 int day; 11 int year; 12 char *name; 13 struct list_head list; 14 }; 15 16 /** 17 The following defines and initializes a list_head object named birthday_list 18 */ 19 static LIST_HEAD(birthday_list); 21 int simple_init(void) 22 { 23 24 /* Create a linked list containing five struct birthday elements*/ 25 26 /* NOTE: THE NAME OF FIRST STRUCT BIRTHDAY SHOULD BE YOUR OWN NAME 27 28 IIIIIIIIT/Add your codes here...... 29 30 31 32 /* Traverse the linked list */ 33 34 1/Add codes here...... 35 36 return 0; 37 } 38 39 void simple_exit(void) { 40 41 Remove the elements from the linked list and return the free memory back to the kernel 42 TITUTT/Add your codes here.... The git repository at c\Usersyarti has too me } changes, only a subset of Git features will be en module init( simple init); 44 45 46 47 Part 3 (15 pts): Download an incomplete version of simple-solution.c and the corresponding makefile Makefile_2 (no need to change the content of the makefile except for the name, see Note 1 below) from iCollege. Follow the content in Part II of the textbook and add code in simple-solution.c to finish the Part II assignment. Note that we have changed the struct birthday by adding a string element "name" In your program the name of the first struct birthday element should be your full name. Part 3 Submission: (1) Right after loading and removing module, check the contents of kernel log buffer using command dmesg and show a screenshot for each result in the project report (see Projectl_Report_Sample in iCollege) (2) The completed simple-solution.c

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!