Changes in kernel/arch/ia64/src/asm.S [27f67f5:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia64/src/asm.S
r27f67f5 r9d58539 27 27 */ 28 28 29 #include <abi/asmtool.h>30 29 #include <arch/register.h> 31 30 32 31 .text 32 .global memcpy_from_uspace 33 .global memcpy_to_uspace 34 .global memcpy_from_uspace_failover_address 35 .global memcpy_to_uspace_failover_address 33 36 34 37 /** Copy memory from/to userspace. … … 43 46 * 44 47 */ 45 FUNCTION_BEGIN(memcpy_from_uspace) 46 FUNCTION_BEGIN(memcpy_to_uspace) 48 memcpy_from_uspace: 49 memcpy_to_uspace: 47 50 alloc loc0 = ar.pfs, 3, 1, 0, 0 48 51 … … 129 132 mov ar.pfs = loc0 130 133 br.ret.sptk.many rp 131 FUNCTION_END(memcpy_from_uspace)132 FUNCTION_END(memcpy_to_uspace)133 134 134 SYMBOL(memcpy_from_uspace_failover_address) 135 SYMBOL(memcpy_to_uspace_failover_address) 135 memcpy_from_uspace_failover_address: 136 memcpy_to_uspace_failover_address: 136 137 /* Return 0 on failure */ 137 138 mov r8 = r0 … … 139 140 br.ret.sptk.many rp 140 141 141 FUNCTION_BEGIN(cpu_halt) 142 .global cpu_halt 143 cpu_halt: 142 144 br cpu_halt 143 FUNCTION_END(cpu_halt)144 145 145 146 /** Switch to userspace - low level code. … … 153 154 * 154 155 */ 155 FUNCTION_BEGIN(switch_to_userspace) 156 .global switch_to_userspace 157 switch_to_userspace: 156 158 alloc loc0 = ar.pfs, 6, 3, 0, 0 157 159 … … 189 191 190 192 rfi ;; 191 FUNCTION_END(switch_to_userspace)192 193 193 FUNCTION_BEGIN(early_putchar) 194 .global early_putchar 195 early_putchar: 194 196 br.ret.sptk.many b0 195 FUNCTION_END(early_putchar)
Note:
See TracChangeset
for help on using the changeset viewer.