Optimized scheduling code. Old code is still available withing DEAD_CODE

and NEW_SCHED_Q definitions. Some minor problems are being traced at the
moment. This commit is meant to backup my files.
  --- Jorrit
This commit is contained in:
Jorrit Herder
2005-05-26 13:17:57 +00:00
parent dcffa17db2
commit 77c3213948
15 changed files with 321 additions and 198 deletions

View File

@@ -165,7 +165,6 @@ timer_t *tp;
* process given with a SYN_ALARM message.
*/
message m;
m.NOTIFY_SOURCE = SYSTASK;
m.NOTIFY_TYPE = SYN_ALARM;
m.NOTIFY_ARG = get_uptime();
m.NOTIFY_FLAGS = 0;

View File

@@ -35,7 +35,7 @@ message *m_ptr; /* pointer to request message */
/* Find the next process with pending signals. */
for (rp = BEG_USER_ADDR; rp < END_PROC_ADDR; rp++) {
if (rp->p_flags & PENDING) {
m_ptr->SIG_PROC = proc_number(rp);
m_ptr->SIG_PROC = rp->p_nr;
m_ptr->SIG_MAP = rp->p_pending;
sigemptyset(&rp->p_pending); /* ball is in PM's court */
rp->p_flags &= ~PENDING; /* blocked by SIG_PENDING */