Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/as.c

    r6aeca0d rfaba839  
    5050 * @param size  Size of the area.
    5151 * @param flags Flags describing type of the area.
    52  * @param pager If non-negative, phone to the external pager backing the area.
    53  *              If AS_AREA_UNPAGED (-1), the area is anonymous.
    5452 *
    5553 * @return Starting virtual address of the created area on success.
     
    5755 *
    5856 */
    59 void *as_area_create(void *base, size_t size, unsigned int flags, int pager)
     57void *as_area_create(void *base, size_t size, unsigned int flags)
    6058{
    61         return (void *) __SYSCALL5(SYS_AS_AREA_CREATE, (sysarg_t) base,
    62             (sysarg_t) size, (sysarg_t) flags, (sysarg_t) __entry,
    63             (sysarg_t) pager);
     59        return (void *) __SYSCALL4(SYS_AS_AREA_CREATE, (sysarg_t) base,
     60            (sysarg_t) size, (sysarg_t) flags, (sysarg_t) __entry);
    6461}
    6562
Note: See TracChangeset for help on using the changeset viewer.