mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
kernel: ldt support
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user