Changeset f275cb3 in mainline for genarch/src/mm/page_pt.c


Ignore:
Timestamp:
2006-01-08T16:35:41Z (19 years ago)
Author:
Sergey Bondari <bondari@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b2c92f33
Parents:
677a6d5
Message:

Frame alloc test #1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • genarch/src/mm/page_pt.c

    r677a6d5 rf275cb3  
    6464
    6565        if (GET_PTL1_FLAGS(ptl0, PTL0_INDEX(page)) & PAGE_NOT_PRESENT) {
    66                 newpt = frame_alloc(FRAME_KA, ONE_FRAME);
     66                newpt = frame_alloc(FRAME_KA, ONE_FRAME, NULL);
    6767                memsetb(newpt, PAGE_SIZE, 0);
    6868                SET_PTL1_ADDRESS(ptl0, PTL0_INDEX(page), KA2PA(newpt));
     
    7373
    7474        if (GET_PTL2_FLAGS(ptl1, PTL1_INDEX(page)) & PAGE_NOT_PRESENT) {
    75                 newpt = frame_alloc(FRAME_KA, ONE_FRAME);
     75                newpt = frame_alloc(FRAME_KA, ONE_FRAME, NULL);
    7676                memsetb(newpt, PAGE_SIZE, 0);
    7777                SET_PTL2_ADDRESS(ptl1, PTL1_INDEX(page), KA2PA(newpt));
     
    8282
    8383        if (GET_PTL3_FLAGS(ptl2, PTL2_INDEX(page)) & PAGE_NOT_PRESENT) {
    84                 newpt = frame_alloc(FRAME_KA, ONE_FRAME);
     84                newpt = frame_alloc(FRAME_KA, ONE_FRAME, NULL);
    8585                memsetb(newpt, PAGE_SIZE, 0);
    8686                SET_PTL3_ADDRESS(ptl2, PTL2_INDEX(page), KA2PA(newpt));
Note: See TracChangeset for help on using the changeset viewer.