Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad references to chapter mem in trap.t #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions trap.t
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ The trap frame contains all the information necessary
to restore the user mode processor registers
when the kernel returns to the current process,
so that the processor can continue exactly as it was when
the trap started. Recall from Chapter \*[CH:MEM], that
the trap started. Recall from Chapter \*[CH:FIRST], that
.code userinit
built a trapframe by hand to achieve this goal (see
.figref first:newkernelstack ).
Expand Down Expand Up @@ -463,7 +463,7 @@ adding to the stack pointer
and then starts executing the code at
label
.code-index trapret .
We traced through this code in Chapter \*[CH:MEM]
We traced through this code in Chapter \*[CH:FIRST]
when the first user process ran it to exit to user space.
The same sequence happens here: popping through
the trap frame restores the user mode registers and then
Expand Down