Associate
Have to do something very simple but as i've never really used linux im unsure along which lines I should be going.
Add a new test code: print-name
p
• Add a new kernel function which prints your name in
ASCII text format
• To run the new function, add a new command
“print‐name”
– The following command should run your new function
$ pintos run print‐name
• Work in the pintos/src/threads and
i t / /th d
pintos/src/tests/threads directories
So does this mean I basically just add a function in the main method? Or do I create a new .c file? The lecturer is korean so its a tad difficult to clarify why im confused on what exactly im doing. (though this is not unusual in korea)
Add a new test code: print-name
p
• Add a new kernel function which prints your name in
ASCII text format
• To run the new function, add a new command
“print‐name”
– The following command should run your new function
$ pintos run print‐name
• Work in the pintos/src/threads and
i t / /th d
pintos/src/tests/threads directories
So does this mean I basically just add a function in the main method? Or do I create a new .c file? The lecturer is korean so its a tad difficult to clarify why im confused on what exactly im doing. (though this is not unusual in korea)