Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/mm/frame.h

    rbbfdf62 rda1bafb  
    3838
    3939#include <typedefs.h>
    40 #include <trace.h>
    4140#include <adt/list.h>
    4241#include <mm/buddy.h>
     
    116115extern zones_t zones;
    117116
    118 NO_TRACE static inline uintptr_t PFN2ADDR(pfn_t frame)
     117static inline uintptr_t PFN2ADDR(pfn_t frame)
    119118{
    120119        return (uintptr_t) (frame << FRAME_WIDTH);
    121120}
    122121
    123 NO_TRACE static inline pfn_t ADDR2PFN(uintptr_t addr)
     122static inline pfn_t ADDR2PFN(uintptr_t addr)
    124123{
    125124        return (pfn_t) (addr >> FRAME_WIDTH);
    126125}
    127126
    128 NO_TRACE static inline size_t SIZE2FRAMES(size_t size)
     127static inline size_t SIZE2FRAMES(size_t size)
    129128{
    130129        if (!size)
     
    133132}
    134133
    135 NO_TRACE static inline size_t FRAMES2SIZE(size_t frames)
     134static inline size_t FRAMES2SIZE(size_t frames)
    136135{
    137136        return (size_t) (frames << FRAME_WIDTH);
    138137}
    139138
    140 NO_TRACE static inline bool zone_flags_available(zone_flags_t flags)
     139static inline bool zone_flags_available(zone_flags_t flags)
    141140{
    142141        return ((flags & (ZONE_RESERVED | ZONE_FIRMWARE)) == 0);
     
    167166extern void frame_set_parent(pfn_t, void *, size_t);
    168167extern void frame_mark_unavailable(pfn_t, size_t);
    169 extern size_t zone_conf_size(size_t);
     168extern uintptr_t zone_conf_size(size_t);
    170169extern bool zone_merge(size_t, size_t);
    171170extern void zone_merge_all(void);
Note: See TracChangeset for help on using the changeset viewer.