diff options
author | 2019-10-03 12:55:40 -0700 | |
---|---|---|
committer | 2019-10-03 12:55:40 -0700 | |
commit | d9be53f34890a47337e8ea0a9e203023b3c83bba (patch) | |
tree | 15b209fe8c77cd31516961260ff987fb76321d30 | |
parent | 621e581bcaaa079d9d358062f1a8118c54b15d33 (diff) | |
download | rust-x86-d9be53f34890a47337e8ea0a9e203023b3c83bba.tar.gz rust-x86-d9be53f34890a47337e8ea0a9e203023b3c83bba.tar.zst rust-x86-d9be53f34890a47337e8ea0a9e203023b3c83bba.zip |
Update documentation.
-rw-r--r-- | src/bits64/task.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bits64/task.rs b/src/bits64/task.rs index bf47bdc..37b8da9 100644 --- a/src/bits64/task.rs +++ b/src/bits64/task.rs @@ -9,7 +9,10 @@ /// /// # RSPn /// The full 64-bit canonical forms of the stack pointers (RSP) for privilege levels 0-2. -/// RSPx is loaded in whenever an interrupt causes the CPU to change PL to x. +/// RSPx is loaded in whenever an interrupt causes the CPU to change RPL to x. +/// Note on a syscall entry this field is not used to load a stack, setting the stack there +/// is the handler's responsibility (however when using the int instruction in user-space, +/// we load the stack from RSPn). /// /// # ISTn /// The full 64-bit canonical forms of the interrupt stack table (IST) pointers. |