. rename message fields to endpoint variants

. remove or optionalify some pci debugging stuff
This commit is contained in:
Ben Gras
2006-03-03 09:44:55 +00:00
parent 7550304e19
commit 5d7f5fccf5
28 changed files with 41 additions and 34 deletions

View File

@@ -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) {

View File

@@ -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);

View File

@@ -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);
}

View File

@@ -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);