Changeset 2ba7810 in mainline for generic/src/main/kinit.c


Ignore:
Timestamp:
2006-03-16T12:24:20Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b7dcabb
Parents:
d764ddc
Message:

Changed ipc to use spinlocks instead of mutexes again.
Fixed loading inits to set nameservice as the first loaded process.
Lot of TODO in ipc done.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/main/kinit.c

    rd764ddc r2ba7810  
    144144
    145145                utask = task_run_program((void *) init.tasks[i].addr);
    146                 if (utask)
    147                         ipc_phone_0 = &utask->answerbox;
    148                 else
     146                if (utask) {
     147                        if (!ipc_phone_0)
     148                                ipc_phone_0 = &utask->answerbox;
     149                } else
    149150                        printf("Userspace not started.\n");
    150151        }
Note: See TracChangeset for help on using the changeset viewer.