diff --git a/src/sys/kernel/syscall.c b/src/sys/kernel/syscall.c index 6b33096..fdc9174 100755 --- a/src/sys/kernel/syscall.c +++ b/src/sys/kernel/syscall.c @@ -74,5 +74,7 @@ int *status; asm("":"=b" (status)); freeProcesspages(_current->id); + _current->status = AVAILABLE; + schedule(); kprintf("Status: [%i]\n",status); } \ No newline at end of file diff --git a/src/sys/vmm/memory.c b/src/sys/vmm/memory.c index 5a68fdd..40c3565 100755 --- a/src/sys/vmm/memory.c +++ b/src/sys/vmm/memory.c @@ -1,8 +1,12 @@ /************************************************************************************** - Copyright (c) 2002 - The UbixOS Project + Copyright (c) 2002 The UbixOS Project + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are prohibited. $Id$ + **************************************************************************************/ #include