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
323 movl $(CR0_STATE & ~X86_CR0_PG),%eax
324 movl %eax,%cr0
347 popl %eax # get EFLAGS
348 testl $X86_EFLAGS_ID,%eax # did EFLAGS.ID remained set?
352 xorl %eax,%eax
354 movl %eax,pa(X86_CPUID) # save largest std CPUID function
356 movl $1,%eax
361 movl pa(mmu_cr4_features),%eax
362 movl %eax,%cr4
368 movl $0x80000000, %eax
371 subl $0x80000001, %eax
372 cmpl $(0x8000ffff-0x80000001), %eax
378 mov $0x80000001, %eax
388 btsl $_EFER_NX, %eax
397 movl $pa(initial_page_table), %eax
398 movl %eax,%cr3 /* set the page table pointer.. */
399 movl $CR0_STATE,%eax
400 movl %eax,%cr0 /* ..and set paging (PG) bit */
410 movl setup_once_ref,%eax
411 andl %eax,%eax
413 call *%eax
424 xorl %eax,%eax # call CPUID with 0 -> return vendor ID
426 movl %eax,X86_CPUID # save CPUID level
431 orl %eax,%eax # do we have processor info as well?
434 movl $1,%eax # Use the CPUID instruction to get CPU type
448 movl %cr0,%eax
449 andl $0x80000011,%eax # Save PG,PE,ET
450 orl %ecx,%eax
451 movl %eax,%cr0
456 1: movl $(__KERNEL_DS),%eax # reload all the segment registers
457 movl %eax,%ss # after changing gdt.
459 movl $(__USER_DS),%eax # DS/ES contains default USER segment
460 movl %eax,%ds
461 movl %eax,%es
463 movl $(__KERNEL_PERCPU), %eax
464 movl %eax,%fs # set this cpu's percpu
495 movl $early_idt_handler_array,%eax
498 movl %eax,(%edi)
499 movl %eax,4(%edi)
502 addl $EARLY_IDT_HANDLER_SIZE,%eax
508 movl $(__KERNEL_CS << 16),%eax
512 movl %eax,(%edi)
523 movl $gdt_page,%eax
525 movw %cx, 8 * GDT_ENTRY_STACK_CANARY + 2(%eax)
527 movb %cl, 8 * GDT_ENTRY_STACK_CANARY + 4(%eax)
528 movb %ch, 8 * GDT_ENTRY_STACK_CANARY + 7(%eax)
565 push %eax # 16(%esp)
570 movl $(__KERNEL_DS),%eax
571 movl %eax,%ds
572 movl %eax,%es
577 leal 28(%esp),%eax # Pointer to %eip
579 andl %eax,%eax
584 xorl %eax,%eax
588 leal 40(%esp),%eax
589 pushl %eax /* %esp before the exception */
594 movl %cr2,%eax
595 pushl %eax
610 pop %eax
622 pushl %eax
627 movl $(__KERNEL_DS),%eax
628 movl %eax,%ds
629 movl %eax,%es
647 popl %eax