TD2 question I.3
Add syscall ThreadCreate and ThreadExit on userprog/exception.cc, userprog/suscall.h and test/start.S
This commit is contained in:
parent
b635f10b6f
commit
f18dd05339
3 changed files with 27 additions and 0 deletions
|
@ -208,6 +208,14 @@ ExceptionHandler (ExceptionType which)
|
|||
machine->WriteMem(addr,sizeof(n),n);
|
||||
break;
|
||||
}
|
||||
case SC_ThreadCreate:
|
||||
{
|
||||
break;
|
||||
}
|
||||
case SC_ThreadExit:
|
||||
{
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
default:
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue