Question: 4. What information is saved in struct trapframe? Answer: 5. What is the name of the function that is the system-call handler in OS/161? In

 4. What information is saved in struct trapframe? Answer: 5. What

4. What information is saved in struct trapframe? Answer: 5. What is the name of the function that is the system-call handler in OS/161? In which directory is this function implementation located? Answer: 6. The kernel's main function is to provide support for user-level programs. Most such support is accessed via "system calls". For example, consider the system call reboot(), which is implemented in the function sys_reboot() in src/kern/main/main.c. Using GDB, put a breakpoint on sys-reboot and run the "reboot" program (by typing "p /sbin/reboot" at the OS/161 menu prompt). Use "backtrace" to see how it got there. Show the output of your debugging session as well as the output printed by the OS/161

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!