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

    ra832dd7 r2e9eae2  
    275275               
    276276                /* Allocate page hash table */
    277                 phte_t *physical_phte = (phte_t *) PFN2ADDR(frame_alloc(PHT_ORDER, FRAME_KA | FRAME_PANIC));
    278                 phte = (phte_t *) PA2KA((__address) physical_phte);
     277                phte_t *physical_phte = (phte_t *) frame_alloc(PHT_ORDER, FRAME_KA | FRAME_PANIC);
    279278               
    280279                ASSERT((__address) physical_phte % (1 << PHT_BITS) == 0);
Note: See TracChangeset for help on using the changeset viewer.