Rev 1266 | Rev 1760 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1266 | Rev 1702 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | */ |
27 | */ |
28 | 28 | ||
- | 29 | /** @addtogroup genarchmm |
|
- | 30 | * @{ |
|
- | 31 | */ |
|
- | 32 | ||
29 | /** |
33 | /** |
30 | * @file page_pt.c |
34 | * @file |
31 | * @brief Virtual Address Translation for hierarchical 4-level page tables. |
35 | * @brief Virtual Address Translation for hierarchical 4-level page tables. |
32 | */ |
36 | */ |
33 | 37 | ||
34 | #include <genarch/mm/page_pt.h> |
38 | #include <genarch/mm/page_pt.h> |
35 | #include <mm/page.h> |
39 | #include <mm/page.h> |
Line 258... | Line 262... | ||
258 | 262 | ||
259 | ptl3 = (pte_t *) PA2KA(GET_PTL3_ADDRESS(ptl2, PTL2_INDEX(page))); |
263 | ptl3 = (pte_t *) PA2KA(GET_PTL3_ADDRESS(ptl2, PTL2_INDEX(page))); |
260 | 264 | ||
261 | return &ptl3[PTL3_INDEX(page)]; |
265 | return &ptl3[PTL3_INDEX(page)]; |
262 | } |
266 | } |
- | 267 | ||
- | 268 | /** @} |
|
- | 269 | */ |
|
- | 270 |