Changeset 9756131 in mainline for arch/amd64/src


Ignore:
Timestamp:
2005-08-31T10:00:14Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b9e97fb
Parents:
3de9e5e
Message:

Get rid of memcopy().
All we now have is memcpy() and _memcpy().
memcpy() is defined to be builtin.
Where not applicable, architectures must implement memcpy() code or call slowish _memcopy().

Location:
arch/amd64/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • arch/amd64/src/dummy.s

    r3de9e5e r9756131  
    5151.global dummy
    5252.global asm_delay_loop
     53.global memcpy
    5354
    5455cpu_priority_high:
     
    7475page_arch_init:
    7576frame_arch_init:
     77memcpy:
    7678
    7779dummy:
  • arch/amd64/src/supplib.c

    r3de9e5e r9756131  
    3131/* TODO: Rewrite to assembler */
    3232
    33 char *memcpy(void *dst, const void *src, size_t cnt)
    34 {
    35         _memcopy(dst, src, cnt);
    36 }
    37 
    38 char *memcopy(void * dst, const void *src, size_t cnt)
    39 {
    40         _memcopy(dst, src, cnt);
    41 }
    42 
    4333void memsetw(__address dst, size_t cnt, __u16 x)
    4434{
Note: See TracChangeset for help on using the changeset viewer.