summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/sysenter.s
AgeCommit message (Collapse)Author
2024-07-22kernel: explicitly store process RIP and RFLAGSdzwdz
Once again, needed for the interrupt return syscall. Seems to have made the kernel slower in timebench?
2024-07-22kernel: use IRET instead of SYSRET for switching into usermodedzwdz
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-15kern: fix GDT order for 64bit sysretdzwdz
2022-08-28kernel/amd64: SSE supportdzwdz
2022-08-04do some simple TODOs, organize the rest; general code maintainancedzwdz
2022-07-25kernel: cleaner and more compact stacktracesdzwdz
2022-07-17amd64: remove dead code, combine shared codedzwdz
2022-07-16amd64: back at the shell!dzwdz
2022-07-16amd64: seemingly working syscalls (SYSCALL/SYSRET)dzwdz
2022-07-16amd64: barely boot into kernel codedzwdz