Changeset f58af46 in mainline for generic/include/syscall/copy.h


Ignore:
Timestamp:
2006-05-05T15:14:34Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c6c59ccd
Parents:
e8194664
Message:

Implemented mips memcpy (copy from gcc builtin memcpy).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/include/syscall/copy.h

    re8194664 rf58af46  
    3838extern char memcpy_to_uspace_failover_address;
    3939
    40 extern int copy_from_uspace(void *dst, void *uspace_src, size_t size);
    41 extern int copy_to_uspace(void *dst_uspace, void *src, size_t size);
     40extern int copy_from_uspace(void *dst, const void *uspace_src, size_t size);
     41extern int copy_to_uspace(void *dst_uspace, const void *src, size_t size);
    4242
    4343/*
    4444 * This interface must be implemented by each architecture.
    4545 */
    46 extern int memcpy_from_uspace(void *dst, void *uspace_src, size_t size);
    47 extern int memcpy_to_uspace(void *uspace_dst, void *src, size_t size);
     46extern int memcpy_from_uspace(void *dst, const void *uspace_src, size_t size);
     47extern int memcpy_to_uspace(void *uspace_dst, const void *src, size_t size);
    4848
    4949#endif
Note: See TracChangeset for help on using the changeset viewer.