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

    ra832dd7 r2e9eae2  
    4343__address vhpt_set_up(void)
    4444{
    45         vhpt_base=(vhpt_entry_t*) PA2KA(PFN2ADDR(frame_alloc(VHPT_WIDTH-FRAME_WIDTH,FRAME_KA)));
     45        vhpt_base=(vhpt_entry_t*) frame_alloc(VHPT_WIDTH-FRAME_WIDTH,FRAME_KA);
    4646        if(!vhpt_base) panic("Kernel configured with VHPT but no memory for table.");
    4747        vhpt_invalidate_all();
Note: See TracChangeset for help on using the changeset viewer.