Searched refs:scratch (Results 1 - 3 of 3) sorted by relevance

/darwin-on-arm/xnu/osfmk/arm/
H A Dasm_help.h158 #define IncrementPreemptLevel(register, scratch) \
159 ldr scratch, [register, MACHINE_THREAD_PREEMPT_COUNT] ; \
160 adds scratch, scratch, #1 ; \
161 str scratch, [register, MACHINE_THREAD_PREEMPT_COUNT] ;
163 #define DecrementPreemptLevel(register, scratch) \
164 ldr scratch, [register, MACHINE_THREAD_PREEMPT_COUNT] ; \
165 subs scratch, scratch, #1 ; \
166 str scratch, [registe
[all...]
/darwin-on-arm/xnu/bsd/dev/i386/
H A Dfasttrap_isa.c60 * in user-land, we copy out the following sequence of instructions to scratch
63 * We then set the program counter (%eip or %rip) to point to this scratch
586 * were in our scratch space, the subsequent
1365 uint8_t scratch[2 * FASTTRAP_MAX_INSTR_SIZE + 7]; local
1372 * This is the layout of the scratch space in the user-land
1402 * instruction), the scratch space will just contain the
1418 bcopy(tp->ftt_instr, &scratch[i], tp->ftt_size);
1425 scratch[i++] = FASTTRAP_JMP32;
1427 *(uint32_t *)&scratch[i] = pc - addr - 5;
1431 bcopy(tp->ftt_instr, &scratch[
1905 uint8_t scratch[2 * FASTTRAP_MAX_INSTR_SIZE + 22]; local
[all...]
/darwin-on-arm/xnu/security/
H A Dmac_base.c1181 char *scratch; local
1185 /* allocate a scratch buffer the size of the string */
1192 /* copy the elementlist to the scratch buffer */
1197 * scratch buffer without losing the allocation address
1199 scratch = scratch_base;
1207 /* iterate the scratch buffer; NOTE: buffer contents modified! */
1208 while ((element = strsep(&scratch, ",")) != NULL) {

Completed in 29 milliseconds