Removed 'tracing' flag from sys_exec. Logic is now local to PM.

Changed variable names in timers libary. Wrote new comments for
timers.h header file with explanation.
This commit is contained in:
Jorrit Herder
2005-07-20 15:33:54 +00:00
parent d2d975246d
commit ee509198a2
3 changed files with 11 additions and 13 deletions

View File

@@ -1,9 +1,8 @@
#include "syslib.h"
PUBLIC int sys_exec(proc, ptr, traced, prog_name, initpc)
PUBLIC int sys_exec(proc, ptr, prog_name, initpc)
int proc; /* process that did exec */
char *ptr; /* new stack pointer */
int traced; /* is tracing enabled? */
char *prog_name; /* name of the new program */
vir_bytes initpc;
{
@@ -12,7 +11,6 @@ vir_bytes initpc;
message m;
m.PR_PROC_NR = proc;
m.PR_TRACING = traced;
m.PR_STACK_PTR = ptr;
m.PR_NAME_PTR = prog_name;
m.PR_IP_PTR = (char *)initpc;