Changeset 2936eef in mainline for kernel/generic/include/mm/frame.h


Ignore:
Timestamp:
2007-02-05T15:40:45Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3c771149
Parents:
55b4437
Message:

explicit typecast, fix signed/unsigned comparison

File:
1 edited

Legend:

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

    r55b4437 r2936eef  
    9898
    9999extern void frame_init(void);
    100 extern void *frame_alloc_generic(uint8_t order, int flags, int *pzone);
     100extern void *frame_alloc_generic(uint8_t order, int flags, unsigned int *pzone);
    101101extern void frame_free(uintptr_t frame);
    102102extern void frame_reference_add(pfn_t pfn);
    103103
    104104extern int zone_create(pfn_t start, count_t count, pfn_t confframe, int flags);
    105 void *frame_get_parent(pfn_t frame, int hint);
    106 void frame_set_parent(pfn_t frame, void *data, int hint);
     105void *frame_get_parent(pfn_t frame, unsigned int hint);
     106void frame_set_parent(pfn_t frame, void *data, unsigned int hint);
    107107void frame_mark_unavailable(pfn_t start, count_t count);
    108108uintptr_t zone_conf_size(count_t count);
    109 void zone_merge(int z1, int z2);
     109void zone_merge(unsigned int z1, unsigned int z2);
    110110void zone_merge_all(void);
    111111
     
    114114 */
    115115extern void zone_print_list(void);
    116 void zone_print_one(int znum);
     116void zone_print_one(unsigned int znum);
    117117
    118118#endif
Note: See TracChangeset for help on using the changeset viewer.