Searched refs:ebx (Results 1 - 25 of 42) sorted by relevance

12

/darwin-on-arm/xnu/osfmk/profiling/i386/
H A Dprofile-asm.s664 * Loadup %ebx with the address of _profile_vars. On a multiprocessor, this
682 #define Vload CPU_NUMBER(%ebx); movl EXT(_profile_vars_cpus)(,%ebx,4),%ebx
685 #define Vload Gload; Egaddr(%ebx,_profile_vars)
694 * %ebx contains the address of the appropriate profile_vars structure.
711 xchgb %cl,V_recursive_alloc(%ebx)
721 leal V_acontext(%ebx,%edi,4),%ecx
724 /* %eax = size, %ebx = vars addr, %ecx = ptr to allocation context to try */
738 SDADDNEG(%edx,V_acontext_locked(%ebx)) /* incremen
[all...]
/darwin-on-arm/xnu/osfmk/i386/
H A Dcswitch.s102 movl %ebx,KSS_EBX(%ecx) /* save registers */
112 movl TH_KERNEL_STACK(%ecx),%ebx /* get its kernel stack */
113 lea -IKS_SIZE(%ebx),%ecx
117 movl %ebx,%gs:CPU_ACTIVE_STACK /* set current stack */
125 movl KSS_EBX(%ecx),%ebx
132 call *%ebx /* call real continuation */
147 movl %ebx,KSS_EBX(%ecx) /* save registers */
157 movl 4(%esp),%ebx /* get routine to run next */
164 call *%ebx /* call routine to run */
H A Dpostcode.h84 * Entry: value in %ebx
85 * Exit: %ebx preserved; %eax destroyed
88 roll $8, %ebx; \
89 movl %ebx, %eax; \
92 roll $8, %ebx; \
93 movl %ebx, %eax; \
96 roll $8, %ebx; \
97 movl %ebx, %eax; \
100 roll $8, %ebx; \
101 movl %ebx,
[all...]
H A Dgdb_defs.h47 unsigned int ebx; member in struct:__anon930
H A Drtclock_asm_native.h59 movl %edx,%ebx ; \
61 movl %ebx,%eax ; \
62 movl %edx,%ebx ; \
64 addl %ebx,%eax ; \
H A Drtclock_asm.h52 * Uses %eax, %ebx, %ecx, %edx, %esi, %edi.
83 movl %gs:CPU_PROCESSOR,%ebx /* get current processor */ ; \
84 movl %ecx,THREAD_TIMER(%ebx) /* set current timer */ ; \
87 subl (old##_STATE)+TIMER_TSTAMP(%ebx),%eax /* elapsed */ ; \
88 sbbl (old##_STATE)+TIMER_TSTAMP+4(%ebx),%edx /* time */ ; \
89 TIMER_UPDATE(%ebx,%edx,%eax,old##_STATE)/* update timer */ ; \
90 leal (new##_STATE)(%ebx),%ecx /* new state pointer */ ; \
91 movl %ecx,CURRENT_STATE(%ebx) /* set current state */ ; \
97 * Uses %eax,%ebx,%ecx,%edx,%esi,%edi.
103 * Uses %eax,%ebx,
[all...]
H A Dmachine_routines_asm.s90 pushl %ebx // Save a volatile
114 movl %eax,%ebx // Need to save the low order part
120 // Now have %ecx:%ebx as low part of high low and %edx:%eax as high part of high high
123 addl %edi,%ebx // Add the low words
127 movl %ebx,%eax // Pass back low word
132 popl %ebx // Restore a volatile
202 pushl %ebx
211 popl %ebx
237 mov %edx, %ebx
241 mov %ebx,
[all...]
H A Didt.s121 movl $(LO_ALLTRAPS),%ebx ;\
134 movl $(LO_ALLTRAPS),%ebx ;\
172 movl $(LO_ALLTRAPS),%ebx ;\
186 movl $(LO_ALLINTRS),%ebx ;\
491 * ebx
513 movl %esp,%ebx
515 subl TH_PCB_ISS(%ecx),%ebx
531 addl %gs:CPU_HI_ISS,%ebx /* rebase PCB save area to high addr */
534 movl %ebx,%esp /* switch to hi based PCB stack */
575 movl $(LO_UNIX_SCALL),%ebx
[all...]
H A D_setjmp.s75 movl %ebx,0(%ecx)
88 movl 0(%ecx),%ebx
H A Dpal_routines_asm.s64 push %ebx
98 pop %ebx
114 push %ebx
143 pop %ebx
H A Dasm.h206 * Gpush saves the %ebx register used for the GOT address
207 * Gpop pops %ebx if we need a GOT
208 * Gload loads %ebx with the GOT address if shared libraries are used
236 #define Gpush pushl %ebx
237 #define Gpop popl %ebx
238 #define Gload call 9f; 9: popl %ebx; addl $_GLOBAL_OFFSET_TABLE_+[.-9b],%ebx
240 #define Gotoff(lab) lab@GOTOFF(%ebx)
241 #define Gotoff2(l,r) l@GOTOFF(%ebx,r)
242 #define Gotoff3(l,r,s) l@GOTOFF(%ebx,
[all...]
H A Didt64.s443 * ebx
584 movl R32_EBX(%rsp), %ebx
757 * on which is pushed stub ret addr and saved ebx
838 mov %ebx, R32_EBX(%rsp)
868 mov ISC32_TRAPNO(%rsp), %ebx /* %ebx := trapno for later */
869 mov %ebx, R32_TRAPNO(%rsp)
876 * %ebx trapno
914 * %ebx trapno
927 incl %gs:hwIntCnt(,%ebx,
[all...]
H A Dtss.h83 uint32_t ebx; member in struct:i386_tss
H A Dcpuid.c239 DBG("cpuid_fn(0x%08x) eax:0x%08x ebx:0x%08x ecx:0x%08x edx:0x%08x\n",
258 DBG("cpuid_fn(0x%08x) eax:0x%08x ebx:0x%08x ecx:0x%08x edx:0x%08x\n",
337 cache_linesize = bitfield32(reg[ebx], 11, 0) + 1;
338 cache_partitions = bitfield32(reg[ebx], 21, 12) + 1;
339 cache_associativity = bitfield32(reg[ebx], 31, 22) + 1;
508 bcopy((char *)&reg[ebx], &info_p->cpuid_vendor[0], 4); /* ug */
590 info_p->cpuid_brand = bitfield32(reg[ebx], 7, 0);
604 bitfield32(reg[ebx], 23, 16);
648 cmp->linesize_max = reg[ebx];
673 ctp->thresholds = bitfield32(reg[ebx],
[all...]
H A Dcpuid.h127 * Bits returned in %ebx to a CPUID request with {%eax,%ecx} of (0x7,0x0}:
193 typedef enum { eax, ebx, ecx, edx } cpuid_register_t; enumerator in enum:__anon920
199 "=b" (data[ebx]),
203 "b" (data[ebx]),
H A Dacpi_wakeup.s125 movl PA(saved_cr3), %ebx
130 movl %ebx, %cr3
/darwin-on-arm/xnu/libkern/i386/
H A DOSAtomic.s55 pushl %ebx
59 movl 12+8(%esp), %ebx #; low 32-bits of newValue
63 cmpxchg8b 0(%edi) #; CAS (eax:edx, ebx:ecx implicit)
67 popl %ebx
78 pushl %ebx
84 movl %eax, %ebx
85 movl %edx, %ecx #; ebx:ecx := *ptr
86 addl 4+8(%esp), %ebx
87 adcl 8+8(%esp), %ecx #; ebx:ecx := *ptr + theAmount
89 cmpxchg8b 0(%edi) #; CAS (eax:edx, ebx
[all...]
/darwin-on-arm/xnu/osfmk/i386/commpage/
H A Dpthreads.s70 * contiguous region of the commpage. Register %ebx is used as a flag register;
71 * before entering the PFZ, %ebx is cleared. If some event occurs that would normally
72 * result in a premption while in the PFZ, the kernel sets %ebx nonzero instead of
73 * preempting. Then, when the routine leaves the PFZ we check %ebx and
91 * %ebx == preempion pending flag (kernel sets nonzero if we should preempt)
110 testl %ebx,%ebx // kernel trying to preempt us?
156 xorl %ebx,%ebx // clear preemption flag
173 * %ebx
[all...]
H A Dfifo_queues.s43 * contiguous region of the commpage. Register %ebx is used as a flag register;
44 * before entering the PFZ, %ebx is cleared. If some event occurs that would normally
45 * result in a premption while in the PFZ, the kernel sets %ebx nonzero instead of
46 * preempting. Then, when the routine leaves the PFZ we check %ebx and
73 /* Subroutine to make a preempt syscall. Called when we notice %ebx is
84 xorl %ebx,%ebx // clear "preemption pending" flag
93 * %ebx = preemption flag (nonzero if preemption pending)
97 testl %ebx,%ebx // doe
[all...]
/darwin-on-arm/xnu/libkern/kxld/i386/
H A DWKdmCompress.s60 pushl %ebx
66 leal _hashLookupTable, %ebx // hashTable
138 movsbl (%ebx,%eax),%edx // HASH_TO_DICT_BYTE_OFFSET(input_word)
187 movl %edx, %ebx // a copy of dest_buf
202 movl %eax, 16(%ebx) // save at *(dest_buf + HEADER_SIZE_IN_WORDS)
204 addl $4, %ebx // dest_buf += 4;
227 movl -6256(%ebp), %ebx // next_full_patt
240 movl %eax, (%ebx) // dest_next[0] = temp;
241 addl $4, %ebx // dest_next++;
246 movl %ebx,
[all...]
H A DWKdmDecompress.s21 pushl %ebx
65 movl $50529027, %ebx // 0x03030303, mask to extract 4 2-bit tags
70 andl %ebx, %eax // 1st 4 tags, each in bytes
74 andl %ebx, %eax // 2nd 4 tags, each in bytes
78 andl %ebx, %eax // 3rd 4 tags
81 andl %ebx, %edx // 4th 4 tags
98 movl $252645135, %ebx // 0x0f0f0f0f : mask to extract 4 4-bit qpos
102 andl %ebx, %edx // 1st 4 qpos
105 andl %ebx, %eax // 2nd 4 qpos
121 movl $1023, %ebx //
[all...]
/darwin-on-arm/xnu/EXTERNAL_HEADERS/architecture/i386/
H A Dtss.h63 unsigned int ebx; member in struct:tss
H A Dasm_help.h87 pushl %ebx
112 popl %ebx ;\
/darwin-on-arm/xnu/osfmk/kdp/ml/i386/
H A Dkdp_machdep.c148 state->ebx = saved_state->ebx;
186 saved_state->ebx = state->ebx;
H A Dkdp_vm.c109 tstate->ebx = iks->k_ebx;

Completed in 167 milliseconds

12