Changeset 5a8b2a2 in mainline for uspace/libc


Ignore:
Timestamp:
2006-12-06T22:30:36Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9d8b8435
Parents:
d178208
Message:

Eliminate confusion between SYS_MAP_PHYSMEM and sys_physmem_map.
The syscall is to be called SYS_PHYSMEM_MAP from now on and the functions that participate in its implementation are
called *physmem_map().

Location:
uspace/libc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/libc/generic/ddi.c

    rd178208 r5a8b2a2  
    5151 *         was some problem in creating address space area.
    5252 */
    53 int map_physmem(void *pf, void *vp, unsigned long pages, int flags)
     53int physmem_map(void *pf, void *vp, unsigned long pages, int flags)
    5454{
    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);
    5656}
    5757
  • uspace/libc/include/ddi.h

    rd178208 r5a8b2a2  
    3838#include <task.h>
    3939
    40 extern int map_physmem(void *pf, void *vp, unsigned long pages, int flags);
     40extern int physmem_map(void *pf, void *vp, unsigned long pages, int flags);
    4141extern int iospace_enable(task_id_t id, void *ioaddr, unsigned long size);
    4242extern int preemption_control(int enable);
Note: See TracChangeset for help on using the changeset viewer.