mirror of
https://github.com/drasko/codezero.git
synced 2026-11-26 02:43:54 +01:00
Changed l4id_t type to unsigned integer. Expanded task_ids to have cid
Task ids are now unsigned as the container ids will need to be encoded in the id fields as well. For requests who require even more comprehensive id input, (such as thread creation) also added is the container id so that threads _could_ potentially be created in other containers as well.
This commit is contained in:
+3
-3
@@ -66,12 +66,12 @@ int main(void)
|
||||
printf("%s: Container %s started\n",
|
||||
__CONTAINER__, __CONTAINER_NAME__);
|
||||
|
||||
//capability_test();
|
||||
capability_test();
|
||||
|
||||
exit_test();
|
||||
//exit_test();
|
||||
|
||||
/* Now quit to demo self-paging quit */
|
||||
l4_exit(0);
|
||||
//l4_exit(0);
|
||||
|
||||
/* Now quit by null pointer */
|
||||
// *((int *)0) = 5;
|
||||
|
||||
Reference in New Issue
Block a user