Changeset f2c3fed in mainline for uspace/lib/c/include/as.h


Ignore:
Timestamp:
2016-08-28T11:56:37Z (9 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
75b139f
Parents:
6aeca0d
Message:

Move AS_AREA_ANY, AS_MAP_FAILED and AS_AREA_UNPAGED to abi/

This way the macros can be also used in the kernel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/as.h

    r6aeca0d rf2c3fed  
    4141#include <libarch/config.h>
    4242
    43 #define AS_AREA_ANY    ((void *) -1)
    44 #define AS_MAP_FAILED  ((void *) -1)
    45 
    46 #define AS_AREA_UNPAGED -1
    47 
    4843static inline size_t SIZE2PAGES(size_t size)
    4944{
Note: See TracChangeset for help on using the changeset viewer.