Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-07-22 | kernel: use IRET instead of SYSRET for switching into usermode | dzwdz | |
I want to implement a new syscall for returning from "interrupts" (my crappy take on Plan 9's notes / UNIX signals), and I've realized that I can't use SYSRET for that, as it clobbers RCX and R11. This hasn't been an issue so far, as I've only been switching into usermode to return from syscalls, but now I might be switching into it at arbitrary moments (right after an interrupt handler recovers from a page fault, etc). I could make it so I switch between IRET and SYSRET depending on the context, but I don't think it's worth it. | |||
2023-09-15 | kern: fix GDT order for 64bit sysret | dzwdz | |
2022-08-28 | kernel/amd64: SSE support | dzwdz | |
2022-08-04 | do some simple TODOs, organize the rest; general code maintainance | dzwdz | |
2022-07-25 | kernel: cleaner and more compact stacktraces | dzwdz | |
2022-07-17 | amd64: remove dead code, combine shared code | dzwdz | |
2022-07-16 | amd64: back at the shell! | dzwdz | |
2022-07-16 | amd64: seemingly working syscalls (SYSCALL/SYSRET) | dzwdz | |
2022-07-16 | amd64: barely boot into kernel code | dzwdz | |