Subversion Repositories HelenOS-historic

Rev

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

Rev 534 Rev 623
Line 55... Line 55...
55
/*
55
/*
56
 * Each vm_area_t structure describes one continuous area of virtual memory.
56
 * Each vm_area_t structure describes one continuous area of virtual memory.
57
 * In the future, it should not be difficult to support shared areas of vm.
57
 * In the future, it should not be difficult to support shared areas of vm.
58
 */
58
 */
59
struct vm_area {
59
struct vm_area {
60
    spinlock_t lock;
60
    SPINLOCK_DECLARE(lock);
61
    link_t link;
61
    link_t link;
62
    vm_type_t type;
62
    vm_type_t type;
63
    int size;
63
    int size;
64
    __address address;
64
    __address address;
65
    __address *mapping;
65
    __address *mapping;
Line 70... Line 70...
70
 * pages for one or more tasks. Ranges of kernel memory pages are not
70
 * pages for one or more tasks. Ranges of kernel memory pages are not
71
 * supposed to figure in the list as they are shared by all tasks and
71
 * supposed to figure in the list as they are shared by all tasks and
72
 * set up during system initialization.
72
 * set up during system initialization.
73
 */
73
 */
74
struct vm {
74
struct vm {
75
    spinlock_t lock;
75
    SPINLOCK_DECLARE(lock);
76
    link_t vm_area_head;
76
    link_t vm_area_head;
77
    pte_t *ptl0;
77
    pte_t *ptl0;
78
    asid_t asid;
78
    asid_t asid;
79
};
79
};
80
 
80