Changeset 2e9eae2 in mainline for generic/src/console/klog.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
  • generic/src/console/klog.c

    ra832dd7 r2e9eae2  
    5959        void *faddr;
    6060
    61         faddr = (void *)PFN2ADDR(frame_alloc(KLOG_ORDER, FRAME_ATOMIC));
     61        faddr = frame_alloc(KLOG_ORDER, FRAME_ATOMIC);
    6262        if (!faddr)
    6363                panic("Cannot allocate page for klog");
Note: See TracChangeset for help on using the changeset viewer.