Changeset 9756131 in mainline for src/main


Ignore:
Timestamp:
2005-08-31T10:00:14Z (21 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().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/kinit.c

    r3de9e5e r9756131  
    132132        if (!a) panic("vm_area_create: vm_text");
    133133        vm_area_map(a, m);
    134         memcopy(PA2KA(a->mapping[0]), (__address) utext, utext_size < PAGE_SIZE ? utext_size : PAGE_SIZE);
     134        memcpy((void *) PA2KA(a->mapping[0]), (void *) utext, utext_size < PAGE_SIZE ? utext_size : PAGE_SIZE);
    135135
    136136        /*
Note: See TracChangeset for help on using the changeset viewer.