Added means to search for threads in other containers

Thread ids now contain their container ids in the top 2 nibbles.
Threads on other containers can be addressed by changing those
two nibbles. The addressing of inter-container threads are
subject to capabilities.
This commit is contained in:
Bahadir Balban
2009-11-04 20:56:57 +02:00
parent 516efccd99
commit d9520adb55
15 changed files with 91 additions and 37 deletions

View File

@@ -96,9 +96,9 @@ struct tcb {
char name[16];
/* Task ids */
int tid;
int spid;
int tgid;
l4id_t tid;
l4id_t spid;
l4id_t tgid;
/* Related task ids */
unsigned int pagerid; /* Task's pager */