Changes in uspace/lib/c/generic/as.c [faba839:6aeca0d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/as.c
rfaba839 r6aeca0d 50 50 * @param size Size of the area. 51 51 * @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. 52 54 * 53 55 * @return Starting virtual address of the created area on success. … … 55 57 * 56 58 */ 57 void *as_area_create(void *base, size_t size, unsigned int flags )59 void *as_area_create(void *base, size_t size, unsigned int flags, int pager) 58 60 { 59 return (void *) __SYSCALL4(SYS_AS_AREA_CREATE, (sysarg_t) base, 60 (sysarg_t) size, (sysarg_t) flags, (sysarg_t) __entry); 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); 61 64 } 62 65
Note:
See TracChangeset
for help on using the changeset viewer.