From 572f3ddea3a4ea01fd98d4c79e74373a59c70f92 Mon Sep 17 00:00:00 2001 From: Matthias Kruk Date: Thu, 3 Oct 2019 18:44:13 +0900 Subject: [PATCH] Add a comment to task.S high-lighting a possible future problem with regards to EBX --- kernel/arch/task.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/arch/task.S b/kernel/arch/task.S index e09095f..7ab7354 100644 --- a/kernel/arch/task.S +++ b/kernel/arch/task.S @@ -224,6 +224,8 @@ task_switch: movl %esp, OFFSET_TASK_ESP0(%esi) movl %ebp, OFFSET_TASK_EBP0(%esi) + /* FIXME: What about EBX? */ + /* * Clear interrupts, since we won't have a valid stack until the * iret instruction in _int_restore is executed -- 2.47.3