. rename message fields to endpoint variants
. remove or optionalify some pci debugging stuff
This commit is contained in:
@@ -53,7 +53,7 @@ int max_len; /* maximum length of value */
|
||||
/* Get copy of boot monitor parameters. */
|
||||
m.m_type = SYS_GETINFO;
|
||||
m.I_REQUEST = GET_MONPARAMS;
|
||||
m.I_PROC_NR = SELF;
|
||||
m.I_ENDPT = SELF;
|
||||
m.I_VAL_LEN = sizeof(mon_params);
|
||||
m.I_VAL_PTR = mon_params;
|
||||
if ((s=_taskcall(SYSTASK, SYS_GETINFO, &m)) != OK) {
|
||||
|
||||
@@ -10,7 +10,7 @@ clock_t *ticks; /* uptime in ticks */
|
||||
int s;
|
||||
|
||||
m.m_type = SYS_TIMES; /* request time information */
|
||||
m.T_PROC_NR = NONE; /* ignore process times */
|
||||
m.T_ENDPT = NONE; /* ignore process times */
|
||||
s = _taskcall(SYSTASK, SYS_TIMES, &m);
|
||||
*ticks = m.T_BOOT_TICKS;
|
||||
return(s);
|
||||
|
||||
@@ -28,7 +28,7 @@ int c;
|
||||
/* Send the buffer to this output driver. */
|
||||
m.DIAG_BUF_COUNT = buf_count;
|
||||
m.DIAG_PRINT_BUF = print_buf;
|
||||
m.DIAG_PROC_NR = SELF;
|
||||
m.DIAG_ENDPT = SELF;
|
||||
m.m_type = DIAGNOSTICS;
|
||||
(void) _sendrec(procs[p], &m);
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ long ticks; /* number of ticks to wait */
|
||||
|
||||
if (ticks <= 0) return; /* check for robustness */
|
||||
|
||||
m.ALRM_PROC_NR = SELF; /* SELF means this process nr */
|
||||
m.ALRM_ENDPT = SELF; /* SELF means this process nr */
|
||||
m.ALRM_EXP_TIME = ticks; /* request message after ticks */
|
||||
m.ALRM_ABS_TIME = 0; /* ticks are relative to now */
|
||||
s = _taskcall(SYSTASK, SYS_SETALARM, &m);
|
||||
|
||||
Reference in New Issue
Block a user