Lines Matching refs:eax
79 movl $(__BOOT_DS),%eax
80 movl %eax,%ds
81 movl %eax,%es
82 movl %eax,%fs
83 movl %eax,%gs
84 movl %eax,%ss
92 xorl %eax,%eax
122 movl %cr3, %eax
123 movl %eax, pa(olpc_ofw_pgd)
135 movl $pa(initial_pg_fixmap)+PDE_IDENT_ATTR,%eax
138 movl %eax,pa(initial_pg_pmd+0x1000*KPMDS-8)
140 movl %eax,pa(initial_page_table+0xffc)
150 movl pa(boot_params + BP_hardware_subarch), %eax
151 cmpl $num_subarch_entries, %eax
154 movl pa(subarch_entries)(,%eax,4), %eax
155 subl $__PAGE_OFFSET, %eax
156 jmp *%eax
200 movl $(__BOOT_DS),%eax
201 movl %eax,%ds
202 movl %eax,%es
203 movl %eax,%fs
204 movl %eax,%gs
206 movl %eax,%ss
215 movl $(CR0_STATE & ~X86_CR0_PG),%eax
216 movl %eax,%cr0
239 popl %eax # get EFLAGS
240 testl $X86_EFLAGS_ID,%eax # did EFLAGS.ID remained set?
244 xorl %eax,%eax
246 movl %eax,pa(X86_CPUID) # save largest std CPUID function
248 movl $1,%eax
253 movl pa(mmu_cr4_features),%eax
254 movl %eax,%cr4
260 movl $0x80000000, %eax
263 subl $0x80000001, %eax
264 cmpl $(0x8000ffff-0x80000001), %eax
270 mov $0x80000001, %eax
280 btsl $_EFER_NX, %eax
289 movl $pa(initial_page_table), %eax
290 movl %eax,%cr3 /* set the page table pointer.. */
291 movl $CR0_STATE,%eax
292 movl %eax,%cr0 /* ..and set paging (PG) bit */
302 movl setup_once_ref,%eax
303 andl %eax,%eax
305 call *%eax
316 xorl %eax,%eax # call CPUID with 0 -> return vendor ID
318 movl %eax,X86_CPUID # save CPUID level
323 orl %eax,%eax # do we have processor info as well?
326 movl $1,%eax # Use the CPUID instruction to get CPU type
340 movl %cr0,%eax
341 andl $0x80000011,%eax # Save PG,PE,ET
342 orl %ecx,%eax
343 movl %eax,%cr0
347 1: movl $(__KERNEL_DS),%eax # reload all the segment registers
348 movl %eax,%ss # after changing gdt.
350 movl $(__USER_DS),%eax # DS/ES contains default USER segment
351 movl %eax,%ds
352 movl %eax,%es
354 movl $(__KERNEL_PERCPU), %eax
355 movl %eax,%fs # set this cpu's percpu
384 movl $gdt_page,%eax
386 movw %cx, 8 * GDT_ENTRY_STACK_CANARY + 2(%eax)
388 movb %cl, 8 * GDT_ENTRY_STACK_CANARY + 4(%eax)
389 movb %ch, 8 * GDT_ENTRY_STACK_CANARY + 7(%eax)
427 pushl %eax /* pt_regs->ax */
446 movl %esp, %eax /* args are pt_regs (EAX), trapnr (EDX) */
455 popl %eax /* pt_regs->ax */
469 pushl %eax
474 movl $(__KERNEL_DS),%eax
475 movl %eax,%ds
476 movl %eax,%es
494 popl %eax