Subversion Repositories HelenOS-historic

Rev

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

Rev 1221 Rev 1229
Line 71... Line 71...
71
 
71
 
72
}
72
}
73
 
73
 
74
/** Insert mapping of page to frame.
74
/** Insert mapping of page to frame.
75
 *
75
 *
76
 * Map virtual address 'page' to physical address 'frame'
76
 * Map virtual address @page to physical address @frame
77
 * using 'flags'. Allocate and setup any missing page tables.
77
 * using @flags. Allocate and setup any missing page tables.
78
 *
78
 *
79
 * The page table must be locked and interrupts must be disabled.
79
 * The page table must be locked and interrupts must be disabled.
80
 *
80
 *
81
 * @param as Address space to wich page belongs.
81
 * @param as Address space to wich page belongs.
82
 * @param page Virtual address of the page to be mapped.
82
 * @param page Virtual address of the page to be mapped.
Line 91... Line 91...
91
    page_mapping_operations->mapping_insert(as, page, frame, flags);
91
    page_mapping_operations->mapping_insert(as, page, frame, flags);
92
}
92
}
93
 
93
 
94
/** Remove mapping of page.
94
/** Remove mapping of page.
95
 *
95
 *
96
 * Remove any mapping of 'page' within address space 'as'.
96
 * Remove any mapping of @page within address space @as.
97
 * TLB shootdown should follow in order to make effects of
97
 * TLB shootdown should follow in order to make effects of
98
 * this call visible.
98
 * this call visible.
99
 *
99
 *
100
 * The page table must be locked and interrupts must be disabled.
100
 * The page table must be locked and interrupts must be disabled.
101
 *
101
 *