Changeset 39539da in mainline for generic/src/mm/page.c


Ignore:
Timestamp:
2005-11-21T22:15:05Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8cd20b70
Parents:
db79676
Message:

Rename map_page_to_frame() to page_mapping_insert() and find_mapping() to page_mapping_find().
New names should make it more apparent that these two belong together.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/mm/page.c

    rdb79676 r39539da  
    3838{
    3939        page_arch_init();
    40         map_page_to_frame(0x0, 0x0, PAGE_NOT_PRESENT, 0);
     40        page_mapping_insert(0x0, 0x0, PAGE_NOT_PRESENT, 0);
    4141}
    4242
     
    5858
    5959        for (i = 0; i < cnt; i++)
    60                 map_page_to_frame(s + i*PAGE_SIZE, s + i*PAGE_SIZE, PAGE_NOT_CACHEABLE, 0);
     60                page_mapping_insert(s + i*PAGE_SIZE, s + i*PAGE_SIZE, PAGE_NOT_CACHEABLE, 0);
    6161
    6262}
     
    7272 * @param root Explicit PTL0 address.
    7373 */
    74 void map_page_to_frame(__address page, __address frame, int flags, __address root)
     74void page_mapping_insert(__address page, __address frame, int flags, __address root)
    7575{
    7676        pte_t *ptl0, *ptl1, *ptl2, *ptl3;
     
    119119 * @return NULL if there is no such mapping; entry from PTL3 describing the mapping otherwise.
    120120 */
    121 pte_t *find_mapping(__address page, __address root)
     121pte_t *page_mapping_find(__address page, __address root)
    122122{
    123123        pte_t *ptl0, *ptl1, *ptl2, *ptl3;
Note: See TracChangeset for help on using the changeset viewer.