Changeset e3c762cd in mainline for arch/ia64/src/asm.S


Ignore:
Timestamp:
2006-05-05T11:59:19Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
de07bcf
Parents:
22cf454d
Message:

Complete implementation of copy_from_uspace() and copy_to_uspace()
for amd64 and ia32. Other architectures still compile and run,
but need to implement their own assembly-only memcpy(), memcpy_from_uspace(),
memcpy_to_uspace() and their failover parts. For these architectures
only dummy implementations are provided.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia64/src/asm.S

    r22cf454d re3c762cd  
    3131.text
    3232
     33/** Copy memory from/to userspace.
     34 *
     35 * @param in0 Destination address.
     36 * @param in1 Source address.
     37 * @param in2 Number of byte to copy.
     38 */
    3339.global memcpy
     40.global memcpy_from_uspace
     41.global memcpy_to_uspace
     42.global memcpy_from_uspace_failover_address
     43.global memcpy_to_uspace_failover_address
    3444memcpy:
     45memcpy_from_uspace:
     46memcpy_to_uspace:
    3547        br _memcpy
     48       
     49memcpy_from_uspace_failover_address:
     50memcpy_to_uspace_failover_address:
     51        br memcpy_from_uspace_failover_address
    3652
    3753.global memsetb
Note: See TracChangeset for help on using the changeset viewer.