Rev 1078 | Rev 1295 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1078 | Rev 1288 | ||
---|---|---|---|
Line 28... | Line 28... | ||
28 | 28 | ||
29 | #include <arch/register.h> |
29 | #include <arch/register.h> |
30 | 30 | ||
31 | .text |
31 | .text |
32 | 32 | ||
- | 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 | */ |
|
33 | .global memcpy |
39 | .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 |
|
34 | memcpy: |
44 | memcpy: |
- | 45 | memcpy_from_uspace: |
|
- | 46 | memcpy_to_uspace: |
|
35 | br _memcpy |
47 | br _memcpy |
- | 48 | ||
- | 49 | memcpy_from_uspace_failover_address: |
|
- | 50 | memcpy_to_uspace_failover_address: |
|
- | 51 | br memcpy_from_uspace_failover_address |
|
36 | 52 | ||
37 | .global memsetb |
53 | .global memsetb |
38 | memsetb: |
54 | memsetb: |
39 | br _memsetb |
55 | br _memsetb |
40 | 56 |