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