summaryrefslogtreecommitdiff
path: root/kc/core/cpu/cpu_task.S
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2023-02-14 15:14:35 +0000
committerAda Christine <adachristine18@gmail.com>2023-02-14 15:14:35 +0000
commit9fd358e9395aae73622bdcf58ebe43f12671c990 (patch)
treeb9bd20fba6ee4a7da84d54d2208e17a49c0305d5 /kc/core/cpu/cpu_task.S
parentf59e168c504f50de7b2ff77af0c1b1cfe0483e7b (diff)
refactors
Diffstat (limited to 'kc/core/cpu/cpu_task.S')
-rw-r--r--kc/core/cpu/cpu_task.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/kc/core/cpu/cpu_task.S b/kc/core/cpu/cpu_task.S
index 7216d0e..a411028 100644
--- a/kc/core/cpu/cpu_task.S
+++ b/kc/core/cpu/cpu_task.S
@@ -15,7 +15,7 @@ cpu_set_thread:
* the following are the parameters for switching tasks
* rdi: pointer to control block of thread being switched to
* rsi: pointer to control block of the current thread
- * rdx: pointer to this cpu's task state segment esp0 field
+ * rdx: pointer to this cpu's task state segment rsp0 field
*/
// test for attempt to switch to same thread
cmp %rdi,%rsi