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