Changeset 2e9eae2 in mainline for arch/sparc64/src/mm/page.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
  • arch/sparc64/src/mm/page.c

    ra832dd7 r2e9eae2  
    7474                order = (fnzb32(size - 1) + 1) - FRAME_WIDTH;
    7575       
    76         __address virtaddr = PA2KA(PFN2ADDR(frame_alloc(order, FRAME_KA)));
     76        __address virtaddr = frame_alloc(order, FRAME_KA);
    7777
    7878        for (i = 0; i < sizemap[order].count; i++)
Note: See TracChangeset for help on using the changeset viewer.