Changeset 2e9eae2 in mainline for genarch/src/mm/as_pt.c


Ignore:
Timestamp:
2006-06-23T16:03:53Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
757551a3
Parents:
a832dd7
Message:

Changed interface of frame_alloc/free to use address of frame instead of the pfn.
This makes it impossible to use >4GB of memory on 32-bit machines, but who cares…

File:
1 edited

Legend:

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

    ra832dd7 r2e9eae2  
    7474        ipl_t ipl;
    7575
    76         dst_ptl0 = (pte_t *) PA2KA(PFN2ADDR(frame_alloc(ONE_FRAME, FRAME_KA | FRAME_PANIC)));
     76        dst_ptl0 = (pte_t *) frame_alloc(ONE_FRAME, FRAME_KA | FRAME_PANIC);
    7777
    7878        if (flags & FLAG_AS_KERNEL) {
     
    109109void ptl0_destroy(pte_t *page_table)
    110110{
    111         frame_free(ADDR2PFN((__address) page_table));
     111        frame_free((__address)page_table);
    112112}
    113113
Note: See TracChangeset for help on using the changeset viewer.