Changes in kernel/arch/sparc64/src/asm.S [a52e2f4:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/asm.S
ra52e2f4 r9d58539 27 27 */ 28 28 29 #include <abi/asmtool.h>30 29 #include <arch/arch.h> 31 30 #include <arch/stack.h> … … 39 38 * Almost the same as memcpy() except the loads are from userspace. 40 39 */ 41 FUNCTION_BEGIN(memcpy_from_uspace) 40 .global memcpy_from_uspace 41 memcpy_from_uspace: 42 42 mov %o0, %o3 /* save dst */ 43 43 add %o1, 7, %g1 … … 108 108 jmp %o7 + 8 /* exit point */ 109 109 mov %o3, %o0 110 FUNCTION_END(memcpy_from_uspace)111 110 112 111 /* 113 112 * Almost the same as memcpy() except the stores are to userspace. 114 113 */ 115 FUNCTION_BEGIN(memcpy_to_uspace) 114 .global memcpy_to_uspace 115 memcpy_to_uspace: 116 116 mov %o0, %o3 /* save dst */ 117 117 add %o1, 7, %g1 … … 182 182 jmp %o7 + 8 /* exit point */ 183 183 mov %o3, %o0 184 FUNCTION_END(memcpy_to_uspace)185 184 186 SYMBOL(memcpy_from_uspace_failover_address) 187 SYMBOL(memcpy_to_uspace_failover_address) 185 .global memcpy_from_uspace_failover_address 186 .global memcpy_to_uspace_failover_address 187 memcpy_from_uspace_failover_address: 188 memcpy_to_uspace_failover_address: 188 189 jmp %o7 + 8 /* exit point */ 189 190 mov %g0, %o0 /* return 0 on failure */ 190 191 191 FUNCTION_BEGIN(early_putchar) 192 .global early_putchar 193 early_putchar: 192 194 retl 193 195 nop 194 FUNCTION_END(early_putchar)
Note:
See TracChangeset
for help on using the changeset viewer.