]> git.corax.cc Git - corax/commit
Save/restore the EBP register used in kernel-space during task switches, otherwise...
authorMatthias Kruk <m@m10k.eu>
Tue, 1 Oct 2019 17:20:15 +0000 (02:20 +0900)
committerMatthias Kruk <m@m10k.eu>
Tue, 1 Oct 2019 17:20:15 +0000 (02:20 +0900)
commit32898a17a21b43dd7954965dd8292ce195bff32f
tree2e8b97a859ac8ca954f5474dad80f6c90b082b0f
parente2409a0e5269fb6ba5268d820b7ad50a0392ade1
Save/restore the EBP register used in kernel-space during task switches, otherwise the new task will execute on the old stack (causing a page fault) after the C function that called task_switch returns
kernel/arch/defs.h
kernel/arch/task.S
kernel/include/arch.h