Changeset b878df3 in mainline


Ignore:
Timestamp:
2007-09-29T10:53:16Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0dc4258
Parents:
07e4a3c
Message:

Rename as_get_size() to as_area_get_size() and add a doxygen comment.

Location:
kernel/generic
Files:
3 edited

Legend:

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

    r07e4a3c rb878df3  
    273273extern int as_area_get_flags(as_area_t *area);
    274274extern bool as_area_check_access(as_area_t *area, pf_access_t access);
    275 extern size_t as_get_size(uintptr_t base);
     275extern size_t as_area_get_size(uintptr_t base);
    276276extern int used_space_insert(as_area_t *a, uintptr_t page, count_t count);
    277277extern int used_space_remove(as_area_t *a, uintptr_t page, count_t count);
  • kernel/generic/src/ipc/sysipc.c

    r07e4a3c rb878df3  
    257257                break;
    258258        case IPC_M_AS_AREA_SEND:
    259                 size = as_get_size(IPC_GET_ARG1(call->data));
     259                size = as_area_get_size(IPC_GET_ARG1(call->data));
    260260                if (!size)
    261261                        return EPERM;
  • kernel/generic/src/mm/as.c

    r07e4a3c rb878df3  
    12241224}
    12251225
    1226 /** Return size of the address space area with given base.  */
    1227 size_t as_get_size(uintptr_t base)
     1226/** Return size of the address space area with given base.
     1227 *
     1228 * @param base          Arbitrary address insede the address space area.
     1229 *
     1230 * @return              Size of the address space area in bytes or zero if it
     1231 *                      does not exist.
     1232 */
     1233size_t as_area_get_size(uintptr_t base)
    12281234{
    12291235        ipl_t ipl;
Note: See TracChangeset for help on using the changeset viewer.