Subversion Repositories HelenOS-historic

Rev

Rev 115 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 115 Rev 121
Line 46... Line 46...
46
   
46
   
47
    m = (vm_t *) malloc(sizeof(vm_t));
47
    m = (vm_t *) malloc(sizeof(vm_t));
48
    if (m) {
48
    if (m) {
49
        spinlock_initialize(&m->lock);
49
        spinlock_initialize(&m->lock);
50
        list_initialize(&m->vm_area_head);
50
        list_initialize(&m->vm_area_head);
-
 
51
        m->ptl0 = NULL;
51
    }
52
    }
52
   
53
   
53
    return m;
54
    return m;
54
}
55
}
55
 
56