TD3 II.2 Manage processes counter
This commit is contained in:
parent
479d37133c
commit
dcb11cf311
3 changed files with 24 additions and 2 deletions
|
@ -125,7 +125,7 @@ ExceptionHandler (ExceptionType which)
|
|||
case SC_Halt:
|
||||
{
|
||||
DEBUG ('s', "Shutdown, initiated by user program.\n");
|
||||
interrupt->Powerdown ();
|
||||
interrupt->Powerdown();
|
||||
break;
|
||||
}
|
||||
#ifdef CHANGED
|
||||
|
@ -133,9 +133,10 @@ ExceptionHandler (ExceptionType which)
|
|||
{
|
||||
// while (1)
|
||||
// currentThread->Yield();
|
||||
DEBUG('x',"Exit\n");
|
||||
int ret = machine->ReadRegister(4);
|
||||
printf("Exit code %d\n", ret);
|
||||
interrupt->Powerdown();
|
||||
// do_ThreadExit();
|
||||
break;
|
||||
}
|
||||
case SC_PutChar:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue