mirror of
https://github.com/JannisHeydemann/BoredOS.git
synced 2026-05-30 02:16:58 +00:00
FIX: remove accidentally copied code
This commit is contained in:
@@ -634,11 +634,6 @@ uint64_t process_terminate_current(void) {
|
|||||||
|
|
||||||
paging_switch_directory(current_process[my_cpu]->pml4_phys);
|
paging_switch_directory(current_process[my_cpu]->pml4_phys);
|
||||||
|
|
||||||
|
|
||||||
kfree(to_delete->user_stack_alloc);
|
|
||||||
to_delete->user_stack_alloc = NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
free_kernel_stack_later[my_cpu] = to_delete->kernel_stack_alloc;
|
free_kernel_stack_later[my_cpu] = to_delete->kernel_stack_alloc;
|
||||||
to_delete->kernel_stack_alloc = NULL;
|
to_delete->kernel_stack_alloc = NULL;
|
||||||
free_pml4_later[my_cpu] = to_delete->pml4_phys;
|
free_pml4_later[my_cpu] = to_delete->pml4_phys;
|
||||||
|
|||||||
Reference in New Issue
Block a user