Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset c12f891 in mainline


Ignore:
Timestamp:
2015-03-15T15:15:03Z (7 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
795e2bf
Parents:
903b5455
Message:

remove obsolete functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/mm/frame.c

    r903b5455 rc12f891  
    7373static size_t mem_avail_req = 0;  /**< Number of frames requested. */
    7474static size_t mem_avail_gen = 0;  /**< Generation counter. */
    75 
    76 /********************/
    77 /* Helper functions */
    78 /********************/
    79 
    80 NO_TRACE static inline size_t frame_index(zone_t *zone, frame_t *frame)
    81 {
    82         return (size_t) (frame - zone->frames);
    83 }
    84 
    85 NO_TRACE static inline size_t frame_index_abs(zone_t *zone, frame_t *frame)
    86 {
    87         return (size_t) (frame - zone->frames) + zone->base;
    88 }
    89 
    90 NO_TRACE static inline bool frame_index_valid(zone_t *zone, size_t index)
    91 {
    92         return (index < zone->count);
    93 }
    9475
    9576/** Initialize frame structure.
Note: See TracChangeset for help on using the changeset viewer.