Commit Graph

24 Commits

Author SHA1 Message Date
Matheus 71dd6d1125 x86-64: enable smep and smap 2026-04-23 15:29:43 -03:00
Matheus 41f97c6c61 kernel: ldt support 2026-03-20 21:23:59 -03:00
Matheus 79b0d059f2 context: zero by default 2025-12-05 18:21:53 -03:00
monkuous d301ec6955 kernel: add xsave support 2025-11-15 23:20:05 +01:00
Matheus c34021e4d6 context: irq 2025-02-08 20:13:30 -03:00
Matheus 16b6c86a5f cpu: rename _cpu() to current_cpu() 2024-09-15 19:03:09 -03:00
Matheus f05eb36cfd kernel: remove already done TODOs 2024-06-16 12:48:16 -03:00
Matheus 50b4b45d00 kernel: usercopy functions 2024-06-09 19:31:26 -03:00
Matheus d2527bee92 context changes and scheduler userspace check fix 2024-05-27 22:00:59 -03:00
Matheus 7b0cc4c51b initial signal implementation 2024-05-14 15:04:48 -03:00
Matheus 8deb3a1144 context: CTX_INIT interrupt flag 2024-04-28 14:32:28 -03:00
Matheus a8bdb6e1ad x86-64: properly set up x87 state 2024-04-21 20:17:18 -03:00
Matheus 2cb94c2c2e scheduler: handle userland thread exit 2024-04-14 14:00:11 -03:00
Matheus c20d0e790f scheduler: umask default value and fpu saving in x86_64 context 2023-07-08 22:54:34 -03:00
Matheus de3d23948b x86-64 context: fix identation on ARCH_CONTEXT_INTSTATUS macro 2023-07-03 22:41:18 -03:00
Matheus 0f95ff18f0 context: CTX_RET and CTX_ERRNO macros 2023-05-16 19:36:30 -03:00
Matheus 0218e2a390 context: fix saving gs and fs 2023-05-13 22:28:55 -03:00
Matheus 9c1e92831d x86-64: switch order of user code and data segments for syscall instruction 2023-05-07 17:46:26 -03:00
Matheus c1fbfe9de7 x86-64: fix user context init 2023-05-07 16:49:17 -03:00
Matheus b5d4fc07e2 scheduler: have a separate stack for yield 2023-05-03 19:11:40 -03:00
Matheus 1bcf8dfcf3 interrupt: set proper intstatus on isr return 2023-04-28 22:28:13 -03:00
Matheus 06e755e36a context: misc useful macros and functions 2023-04-27 23:32:25 -03:00
Matheus ad70e8741d kernel: panic 2023-04-08 21:40:31 -03:00
Matheus ef2d0fc874 kernel: x86-64 context 2023-04-08 21:13:29 -03:00