Subversion Repositories HelenOS

Rev

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

Rev 1787 Rev 1863
Line 50... Line 50...
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 map_physmem(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_MAP_PHYSMEM, (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.