Computer Science, asked by vaibhavkas1233, 3 months ago

Which of the the following does the trapret function in xv6 do?

Answers

Answered by diyabhana
1

Answer:

The allocproc function creates a new process data structure, and allocates a new kernel stack. On the kernel stack of a new process, it pushes a trap frame and a context structure. The fork function copies the parent's trap frame onto the child's trap frame (line 2572).

Similar questions