_PROTOTYPE( int sys_exit, (void));
_PROTOTYPE( int sys_trace, (int req, endpoint_t proc_ep, long addr, long *data_p));
-_PROTOTYPE( int sys_schedule, (endpoint_t proc_ep, char priority, char quantum));
+_PROTOTYPE( int sys_schedule, (endpoint_t proc_ep, unsigned priority, unsigned quantum));
_PROTOTYPE( int sys_schedctl, (endpoint_t proc_ep));
/* Shorthands for sys_runctl() system call. */
#include "syslib.h"
-PUBLIC int sys_schedule(endpoint_t proc_ep, char priority, char quantum)
+PUBLIC int sys_schedule(endpoint_t proc_ep, unsigned priority, unsigned quantum)
{
message m;
size = rp->p_memmap[T].mem_len
+ ((rp->p_memmap[S].mem_phys + rp->p_memmap[S].mem_len) - data);
printf(" %5d %10d ", _ENDPOINT_G(rp->p_endpoint), rp->p_endpoint);
- printf("%-8.8s %02u 0x%08x%08x/%02u %6lu %6lu ",
+ printf("%-8.8s %5u %5lu %6lu %6lu ",
rp->p_name,
rp->p_priority,
- rp->p_cpu_time_left.lo, rp->p_cpu_time_left.hi, rp->p_quantum_size_ms,
+ rp->p_quantum_size_ms,
rp->p_user_time, rp->p_sys_time);
PRINTRTS(rp);
printf("\n");
FORWARD _PROTOTYPE( int schedule_process, (struct schedproc * rmp) );
FORWARD _PROTOTYPE( void balance_queues, (struct timer *tp) );
-#define DEFAULT_USER_TIME_SLICE 8
+#define DEFAULT_USER_TIME_SLICE 200
/*===========================================================================*
* do_noquantum *