Lines Matching refs:eax
108 movl $(__BOOT_DS),%eax
109 movl %eax,%ds
110 movl %eax,%es
111 movl %eax,%fs
112 movl %eax,%gs
113 movl %eax,%ss
121 xorl %eax,%eax
151 movl %cr3, %eax
152 movl %eax, pa(olpc_ofw_pgd)
184 movl $PTE_IDENT_ATTR, %eax
193 xchgl %eax,%ebx
195 xchgl %eax,%ebx
196 addl $0x1000,%eax
203 cmpl %ebp,%eax
208 shrl $12, %eax
209 movl %eax, pa(max_pfn_mapped)
212 movl $pa(initial_pg_fixmap)+PDE_IDENT_ATTR,%eax
213 movl %eax,pa(initial_pg_pmd+0x1000*KPMDS-8)
220 movl $PTE_IDENT_ATTR, %eax
229 addl $0x1000,%eax
235 cmpl %ebp,%eax
239 shrl $12, %eax
240 movl %eax, pa(max_pfn_mapped)
243 movl $pa(initial_pg_fixmap)+PDE_IDENT_ATTR,%eax
244 movl %eax,pa(initial_page_table+0xffc)
254 movl pa(boot_params + BP_hardware_subarch), %eax
255 cmpl $num_subarch_entries, %eax
258 movl pa(subarch_entries)(,%eax,4), %eax
259 subl $__PAGE_OFFSET, %eax
260 jmp *%eax
305 movl $(__BOOT_DS),%eax
306 movl %eax,%ds
307 movl %eax,%es
308 movl %eax,%fs
309 movl %eax,%gs
311 movl %eax,%ss
324 movl $(CR0_STATE & ~X86_CR0_PG),%eax
325 movl %eax,%cr0
348 popl %eax # get EFLAGS
349 testl $X86_EFLAGS_ID,%eax # did EFLAGS.ID remained set?
353 xorl %eax,%eax
355 movl %eax,pa(X86_CPUID) # save largest std CPUID function
357 movl $1,%eax
362 movl pa(mmu_cr4_features),%eax
363 movl %eax,%cr4
369 movl $0x80000000, %eax
372 subl $0x80000001, %eax
373 cmpl $(0x8000ffff-0x80000001), %eax
379 mov $0x80000001, %eax
389 btsl $_EFER_NX, %eax
398 movl $pa(initial_page_table), %eax
399 movl %eax,%cr3 /* set the page table pointer.. */
400 movl $CR0_STATE,%eax
401 movl %eax,%cr0 /* ..and set paging (PG) bit */
411 movl setup_once_ref,%eax
412 andl %eax,%eax
414 call *%eax
425 xorl %eax,%eax # call CPUID with 0 -> return vendor ID
427 movl %eax,X86_CPUID # save CPUID level
432 orl %eax,%eax # do we have processor info as well?
435 movl $1,%eax # Use the CPUID instruction to get CPU type
449 movl %cr0,%eax
450 andl $0x80000011,%eax # Save PG,PE,ET
451 orl %ecx,%eax
452 movl %eax,%cr0
457 1: movl $(__KERNEL_DS),%eax # reload all the segment registers
458 movl %eax,%ss # after changing gdt.
460 movl $(__USER_DS),%eax # DS/ES contains default USER segment
461 movl %eax,%ds
462 movl %eax,%es
464 movl $(__KERNEL_PERCPU), %eax
465 movl %eax,%fs # set this cpu's percpu
496 movl $early_idt_handler_array,%eax
499 movl %eax,(%edi)
500 movl %eax,4(%edi)
503 addl $EARLY_IDT_HANDLER_SIZE,%eax
509 movl $(__KERNEL_CS << 16),%eax
513 movl %eax,(%edi)
524 movl $gdt_page,%eax
526 movw %cx, 8 * GDT_ENTRY_STACK_CANARY + 2(%eax)
528 movb %cl, 8 * GDT_ENTRY_STACK_CANARY + 4(%eax)
529 movb %ch, 8 * GDT_ENTRY_STACK_CANARY + 7(%eax)
566 push %eax # 16(%esp)
571 movl $(__KERNEL_DS),%eax
572 movl %eax,%ds
573 movl %eax,%es
578 leal 28(%esp),%eax # Pointer to %eip
580 andl %eax,%eax
585 xorl %eax,%eax
589 leal 40(%esp),%eax
590 pushl %eax /* %esp before the exception */
595 movl %cr2,%eax
596 pushl %eax
611 pop %eax
623 pushl %eax
628 movl $(__KERNEL_DS),%eax
629 movl %eax,%ds
630 movl %eax,%es
648 popl %eax