Changeset bf9afa07 in mainline for libc/include


Ignore:
Timestamp:
2006-06-02T11:35:05Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2d22049
Parents:
49d072e
Message:

Allocation function for allocating free areas for mmap, map_physmem etc.

Location:
libc/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libc/include/align.h

    r49d072e rbf9afa07  
    4343 * @param a Size of alignment, must be power of 2.
    4444 */
    45 #define ALIGN_UP(s, a)          (((s) + ((a) - 1)) & ~((a) - 1))
     45#define ALIGN_UP(s, a)          ((long)((s) + ((a) - 1)) & ~((long) (a) - 1))
    4646
    4747#endif
  • libc/include/as.h

    r49d072e rbf9afa07  
    4141extern int as_area_destroy(void *address);
    4242extern void *set_maxheapsize(size_t mhs);
     43extern void * as_get_mappable_page(size_t sz);
    4344
    4445#endif
Note: See TracChangeset for help on using the changeset viewer.