Subversion Repositories HelenOS

Rev

Rev 1866 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1866 Rev 2012
Line 48... Line 48...
48
 *
48
 *
49
 * @return 0 on success, EPERM if the caller lacks the CAP_MEM_MANAGER capability,
49
 * @return 0 on success, EPERM if the caller lacks the CAP_MEM_MANAGER capability,
50
 *     ENOENT if there is no task with specified ID and ENOMEM if there
50
 *     ENOENT if there is no task with specified ID and ENOMEM if there
51
 *     was some problem in creating address space area.
51
 *     was some problem in creating address space area.
52
 */
52
 */
53
int map_physmem(void *pf, void *vp, unsigned long pages, int flags)
53
int physmem_map(void *pf, void *vp, unsigned long pages, int flags)
54
{
54
{
55
    return __SYSCALL4(SYS_MAP_PHYSMEM, (sysarg_t) pf, (sysarg_t) vp, pages, flags);
55
    return __SYSCALL4(SYS_PHYSMEM_MAP, (sysarg_t) pf, (sysarg_t) vp, pages, flags);
56
}
56
}
57
 
57
 
58
/** Enable I/O space range to task.
58
/** Enable I/O space range to task.
59
 *
59
 *
60
 * Caller of this function must have the IO_MEM_MANAGER capability.
60
 * Caller of this function must have the IO_MEM_MANAGER capability.