Changeset 14b5c30f in mainline
- Timestamp:
- 2020-02-07T11:22:28Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- db17889
- Parents:
- 51da086
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm64/src/arm64.c
r51da086 r14b5c30f 167 167 asm volatile ( 168 168 /* 169 * Clear all general-purpose registers, except x0 that holds an 170 * argument for the user space. 169 * Reset the kernel stack to its base value. 170 * 171 * Clear all general-purpose registers, 172 * except x0 that holds an argument for 173 * the user space. 171 174 */ 175 "mov sp, %[kstack]\n" 172 176 "mov x0, %[uspace_uarg]\n" 173 177 "mov x1, #0\n" … … 202 206 "mov x30, #0\n" 203 207 "eret\n" 204 :: [uspace_uarg] "r" (kernel_uarg->uspace_uarg) 208 :: [uspace_uarg] "r" (kernel_uarg->uspace_uarg), 209 [kstack] "r" (((uint64_t) (THREAD->kstack)) 210 + MEM_STACK_SIZE - SP_DELTA) 205 211 ); 206 212
Note:
See TracChangeset
for help on using the changeset viewer.