Finished adding untested bare functionality vfs

Finished adding untested shm syscalls.
Finished adding untested l4 send/recv helpers

Everything compiles. Now going to fix lots of bugs ;-)
This commit is contained in:
Bahadir Balban
2008-02-03 17:42:38 +00:00
parent 05e9028e90
commit cab2e8bdd3
51 changed files with 1661 additions and 227 deletions

View File

@@ -252,7 +252,7 @@ void switch_to_user(struct ktcb *task)
void init_inittask(char *name, struct task_ids *ids)
{
struct svc_image *taskimg;
struct svc_image *taskimg = 0;
struct ktcb *task;
int task_pages;
@@ -273,10 +273,12 @@ void init_inittask(char *name, struct task_ids *ids)
*/
for (int i = 0; i < bootdesc->total_images; i++) {
if (!strcmp(name, bootdesc->images[i].name)) {
BUG_ON(!(taskimg = &bootdesc->images[i]));
taskimg = &bootdesc->images[i];
break;
}
}
BUG_ON(!taskimg);
printk("\nInitialising %s.\n", name);
if (taskimg->phys_start & PAGE_MASK)
printk("Warning, image start address not page aligned.\n");