Lines Matching refs:eax

74 	movl $(__BOOT_DS),%eax
75 movl %eax,%ds
76 movl %eax,%es
77 movl %eax,%fs
78 movl %eax,%gs
79 movl %eax,%ss
86 xorl %eax,%eax
116 movl %cr3, %eax
117 movl %eax, pa(olpc_ofw_pgd)
129 movl $pa(initial_pg_fixmap)+PDE_IDENT_ATTR,%eax
132 movl %eax,pa(initial_pg_pmd+0x1000*KPMDS-8)
134 movl %eax,pa(initial_page_table+0xffc)
164 movl $(__BOOT_DS),%eax
165 movl %eax,%ds
166 movl %eax,%es
167 movl %eax,%fs
168 movl %eax,%gs
170 movl %eax,%ss
179 movl $(CR0_STATE & ~X86_CR0_PG),%eax
180 movl %eax,%cr0
203 popl %eax # get EFLAGS
204 testl $X86_EFLAGS_ID,%eax # did EFLAGS.ID remained set?
208 xorl %eax,%eax
210 movl %eax,pa(X86_CPUID) # save largest std CPUID function
212 movl $1,%eax
217 movl pa(mmu_cr4_features),%eax
218 movl %eax,%cr4
224 movl $0x80000000, %eax
227 subl $0x80000001, %eax
228 cmpl $(0x8000ffff-0x80000001), %eax
234 mov $0x80000001, %eax
244 btsl $_EFER_NX, %eax
253 movl $pa(initial_page_table), %eax
254 movl %eax,%cr3 /* set the page table pointer.. */
255 movl $CR0_STATE,%eax
256 movl %eax,%cr0 /* ..and set paging (PG) bit */
266 movl setup_once_ref,%eax
267 andl %eax,%eax
269 call *%eax
280 xorl %eax,%eax # call CPUID with 0 -> return vendor ID
282 movl %eax,X86_CPUID # save CPUID level
287 orl %eax,%eax # do we have processor info as well?
290 movl $1,%eax # Use the CPUID instruction to get CPU type
304 movl %cr0,%eax
305 andl $0x80000011,%eax # Save PG,PE,ET
306 orl %ecx,%eax
307 movl %eax,%cr0
311 1: movl $(__KERNEL_DS),%eax # reload all the segment registers
312 movl %eax,%ss # after changing gdt.
314 movl $(__USER_DS),%eax # DS/ES contains default USER segment
315 movl %eax,%ds
316 movl %eax,%es
318 movl $(__KERNEL_PERCPU), %eax
319 movl %eax,%fs # set this cpu's percpu
348 movl $gdt_page,%eax
350 movw %cx, 8 * GDT_ENTRY_STACK_CANARY + 2(%eax)
352 movb %cl, 8 * GDT_ENTRY_STACK_CANARY + 4(%eax)
353 movb %ch, 8 * GDT_ENTRY_STACK_CANARY + 7(%eax)
391 pushl %eax /* pt_regs->ax */
410 movl %esp, %eax /* args are pt_regs (EAX), trapnr (EDX) */
419 popl %eax /* pt_regs->ax */
433 pushl %eax
438 movl $(__KERNEL_DS),%eax
439 movl %eax,%ds
440 movl %eax,%es
458 popl %eax