Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

5. What is the name of the c-language function that plays the role of the system-call handler in OS/161? In which directory is this function

5. What is the name of the c-language function that plays the role of the system-call handler in OS/161? In which directory is this function implementation located?

6. One of 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 then run the "reboot" program (by typing "p /sbin/reboot" at the OS/161 menu prompt). Use "backtrace" to see how the OS/161 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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions