| /xnu-8792.61.2/osfmk/arm64/ |
| H A D | bzero.s | 57 mov x3, x0 73 add x3, x0, #64 74 and x3, x3, #-64 76 add x4, x3, #64 // end of first cacheline to zero 79 0: dc zva, x3 // zero cacheline 80 add x3, x3, #64 // increment pointer 83 1: add x3, x3, x2 // back up pointer to (end of buffer) - 64. 84 stp x1, x1, [x3] // and store 64 bytes to reach end of buffer. 85 stp x1, x1, [x3, #16] 86 stp x1, x1, [x3, #32] [all …]
|
| H A D | bcopy.s | 73 mov x3, x0 75 mov x1, x3 95 sub x3, x0, x1 96 cmp x3, x2 98 mov x3, x0 // copy destination pointer 112 add x3, x3, #32 113 and x3, x3, #-32 // aligned dst 116 sub x5, x3, x0 // bytes between original dst and aligned dst 156 stnp x8, x9, [x3] 157 stnp x10,x11,[x3, #16] [all …]
|
| H A D | strnlen.s | 85 adr x3, L_masks 86 ldr q2, [x3],#16 95 sub x3, x3, x4 96 ldr q1, [x3] 135 cmp x1, x3 // if NUL occurs before maxlen bytes 136 csel x1, x1, x3, cc // return strlen, else maxlen 153 adr x3, L_masks 154 ldr q2, [x3],#16 163 sub x3, x3, x2 164 ldr q1, [x3]
|
| H A D | strncmp.s | 74 eor x3, x3, x3 81 subs x3, x4, x5 // if the are not equal 90 mov x0, x3 140 subs x3, x4, x5 // if the are not equal 184 cmp x3, x2 186 sub x3, x3, #(kVectorSize) 187 ldrb w4, [x0, x3] 188 ldrb w5, [x1, x3]
|
| H A D | pinst.s | 87 check_instruction x2, x3, __pinst_set_ttbr1, 0xd65f03c0d5182020 92 check_instruction x2, x3, __pinst_set_vbar, 0xd65f03c0d518c000 97 check_instruction x2, x3, __pinst_set_tcr, 0xd65f03c0d5182040 102 check_instruction x2, x3, __pinst_set_sctlr, 0xd65f03c0d5181000 123 check_instruction x2, x3, __pinst_spsel_1, 0xd65f03c0d50041bf
|
| H A D | machine_routines_asm.h | 71 mov \tmp3, x3 86 ldr x3, [x0, SS64_LR] 102 mov lr, x3 103 mov x3, \tmp3
|
| H A D | memcmp_zero.s | 131 mov x3, #0 133 orr x3, x3, x2 // use orr to keep non-zero bytes 137 tst x3, x3
|
| H A D | cswitch.s | 275 set_process_dependent_keys_and_sync_context x0, x1, x2, x3, w4 305 cbz x3, 1f 333 ldr x3, [x0, TH_KSTACKPTR] // Get the old kernel stack top 334 save_general_registers x3, 4 336 set_thread_registers x2, x3, x4 337 ldr x3, [x2, TH_KSTACKPTR] 338 load_general_registers x3, 4 339 set_process_dependent_keys_and_sync_context x2, x3, x4, x5, w6 389 set_process_dependent_keys_and_sync_context x0, x1, x2, x3, w4
|
| H A D | locore.s | 146 stp x2, x3, [sp, #-16]! // Save {x2-x3} 158 sub x3, x2, KERNEL_STACK_SIZE // Find bottom of kernel stack 161 cmp x0, x3 // if (SP_EL0 > kstack bottom) 166 sub x3, x2, INTSTACK_SIZE_NUM // Find bottom of istack 169 cmp x0, x3 // if (SP_EL0 > istack bottom) 172 ldp x2, x3, [sp], #16 176 stp x2, x3, [sp, SS64_X2] // Save x2, x3 to the exception frame 185 ldp x2, x3, [sp], #16 // Restore {x2-x3} 517 mov x3, #0 806 mrs x3, TPIDR_EL1 // Load thread pointer [all …]
|
| H A D | smccc_asm.h | 44 stp x2, x3, [sp, #- 16]! 54 ldp x2, x3, [sp], #16
|
| H A D | alternate_debugger_asm.s | 40 str x3, [sp, #0x8] 42 mov x1, x3
|
| H A D | caches_asm.s | 148 CACHE_AT_LEVEL x2, x1, x3 258 bic x3, x0, x9 // Cached aligned 264 dc cvau, x3 // Clean dcache line to PoU 265 add x3, x3, #(1<<MMU_CLINE) // Get next cache aligned addr
|
| H A D | arm64_hypercall.c | 54 hvc_5(uint64_t *x0, uint64_t *x1, uint64_t *x2, uint64_t *x3, uint64_t *x4) in hvc_5() argument 71 [o3] "=m" (*x3), in hvc_5() 76 [i3] "r" (*x3), in hvc_5()
|
| H A D | machine_routines_asm.s | 238 ands x3, x2, #0x2000 239 orr x4, x4, x3 463 ldp x3, x4, [x0], #16 464 stp x3, x4, [x1], #16 634 ldp x3, x4, [x0], #16 635 stp x3, x4, [x1], #16 676 str x4, [x3] // Return number of bytes copied 721 mov x3, VM_MIN_KERNEL_ADDRESS // Check if kernel address 723 cmp x9, x3 // If in kernel address range, skip tag test 1070 pacga x1, x3, x1 /* LR Hash (gkey + spsr hash) */
|
| H A D | start.s | 152 add x3, x1, MAX_CPUS * 16 // end addr of data entries = start + (16 * MAX_CPUS) 161 cmp x1, x3 597 add x3, x1, PGBYTES 598 mov x2, x3 610 create_bootstrap_mapping x14, x15, x5, x3, x2, x9, x10, x11, x12, x13
|
| H A D | exception_asm.h | 145 stp x2, x3, [x0, SS64_X2] // Save remaining GPRs 206 mov x3, x20
|
| H A D | lz4_encode_arm64.s | 48 #define src_begin x3 97 sub x14, x13, x3 // match_postion = match_begin - src_begin 227 ccmp x15, x3, #0xd, gt // check if ref_begin reached src_begin
|
| H A D | lz4_decode_arm64.s | 54 #define src x3 // arg3
|
| /xnu-8792.61.2/bsd/dev/arm64/ |
| H A D | cpu_in_cksum.s | 100 #define sum x3 152 mov x0, x3 403 add x3, x3, x7, lsr #32 405 add x3, x3, x7 407 add x3, x7, x3, lsr #32 424 and x0, x4, x3, lsr #48 425 and x1, x4, x3, lsr #32 426 and x2, x4, x3, lsr #16 427 and x3, x4, x3
|
| /xnu-8792.61.2/libsyscall/wrappers/ |
| H A D | varargs_wrappers.s | 42 ldp x2, x3, [fp, #16] 82 ldp x3, x4, [fp, #32] 99 ldp x3, x4, [fp, #32] 116 ldr x3, [fp, #16] 133 ldr x3, [fp, #32]
|
| H A D | mach_absolute_time.s | 229 ldr x1, [x3] // Load the offset 231 ldr x2, [x3] // Load the offset 252 movk x3, #(((_COMM_PAGE_TIMEBASE_OFFSET) >> 48) & 0x000000000000FFFF), lsl #48 253 movk x3, #(((_COMM_PAGE_TIMEBASE_OFFSET) >> 32) & 0x000000000000FFFF), lsl #32 254 movk x3, #(((_COMM_PAGE_TIMEBASE_OFFSET) >> 16) & 0x000000000000FFFF), lsl #16 255 movk x3, #((_COMM_PAGE_TIMEBASE_OFFSET) & 0x000000000000FFFF) 256 ldrb w2, [x3, #((_COMM_PAGE_USER_TIMEBASE) - (_COMM_PAGE_TIMEBASE_OFFSET))]
|
| /xnu-8792.61.2/osfmk/arm/commpage/ |
| H A D | commpage_asm.s | 276 casa w10, w11, [x3] // Atomic CAS with acquire barrier 297 stlr wzr, [x3] 377 add x3, x0, #16 // address of lock = x3 = x0 + 16 388 ldxr w9, [x3] // arm the monitor for the lock address 399 BACKOFF x3
|
| /xnu-8792.61.2/libsyscall/custom/ |
| H A D | __syscall.s | 66 ldp x3, x4, [sp, #16]
|
| H A D | custom.s | 140 mov x3, #2
|
| /xnu-8792.61.2/osfmk/console/ |
| H A D | video_console.c | 3246 int x1, x3; in internal_set_progressmeter() local 3260 …x3 = (((kProgressBarWidth * vc_uiscale) - 2 * capRedraw) * vc_progressmeter_value) / kProgressMete… in internal_set_progressmeter() 3261 x3 += (2 * capRedraw); in internal_set_progressmeter() 3263 if (x3 > vc_progressmeter_drawn) { in internal_set_progressmeter() 3268 vc_draw_progress_meter(flags, vc_progressmeter_drawn - x1, x3, x3); in internal_set_progressmeter() 3270 vc_draw_progress_meter(flags, x3 - capRedraw, vc_progressmeter_drawn, x3); in internal_set_progressmeter() 3272 vc_progressmeter_drawn = x3; in internal_set_progressmeter()
|