Changeset 5140e3e in mainline


Ignore:
Timestamp:
2006-04-29T11:28:41Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6180b57
Parents:
5a4c754
Message:

Fix name of SYS_IOSPACE_ENABLE in uspace.

Location:
libc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libc/generic/ddi.c

    r5a4c754 r5140e3e  
    7272 *         was some problem in allocating memory.
    7373 */
    74 int enable_iospace(task_id_t id, void *ioaddr, unsigned long size)
     74int iospace_enable(task_id_t id, void *ioaddr, unsigned long size)
    7575{
    7676        task_id_t task_id;
     
    8181        arg.size = size;
    8282
    83         return __SYSCALL1(SYS_ENABLE_IOSPACE, (sysarg_t) &arg);
     83        return __SYSCALL1(SYS_IOSPACE_ENABLE, (sysarg_t) &arg);
    8484}
    8585
  • libc/include/ddi.h

    r5a4c754 r5140e3e  
    3333
    3434extern int map_physmem(task_id_t id, void *pf, void *vp, unsigned long pages, int writable);
    35 extern int enable_iospace(task_id_t id, void *ioaddr, unsigned long size);
     35extern int iospace_enable(task_id_t id, void *ioaddr, unsigned long size);
    3636extern int interrupt_control(int enable);
    3737
Note: See TracChangeset for help on using the changeset viewer.