Commit Graph

3 Commits

Author SHA1 Message Date
wash dbe117135b x86_64: implement proper user/kernel %gs base switching
the %gs base address is now always set to the current cpu block while
in kernel-mode, and is switched back to the userspace %gs base
when returning to user-mode.
2026-02-23 18:26:21 +00:00
wash 2bfb6bcd78 kernel: add c++ support 2023-03-20 20:41:39 +00:00
wash 57eaf4e01c kernel: implement cpu IDs and per-cpu variables 2023-03-18 19:35:00 +00:00