kernel: ldt support

This commit is contained in:
Matheus
2026-03-20 21:23:59 -03:00
parent a73c82f912
commit 41f97c6c61
17 changed files with 315 additions and 94 deletions
+3
View File
@@ -131,6 +131,9 @@ proc_t *proc_create() {
}
void proc_destroy(proc_t *proc) {
#ifdef __x86_64__
if (proc->ldt) free(proc->ldt);
#endif
free(proc->fd);
slab_free(processcache, proc);
}