Lines Matching refs:eax
75 movl $(__BOOT_DS),%eax
76 movl %eax,%ds
77 movl %eax,%es
78 movl %eax,%fs
79 movl %eax,%gs
80 movl %eax,%ss
87 xorl %eax,%eax
117 movl %cr3, %eax
118 movl %eax, pa(olpc_ofw_pgd)
130 movl $pa(initial_pg_fixmap)+PDE_IDENT_ATTR,%eax
133 movl %eax,pa(initial_pg_pmd+0x1000*KPMDS-8)
135 movl %eax,pa(initial_page_table+0xffc)
151 movl $(__BOOT_DS),%eax
152 movl %eax,%ds
153 movl %eax,%es
154 movl %eax,%fs
155 movl %eax,%gs
157 movl %eax,%ss
166 movl $(CR0_STATE & ~X86_CR0_PG),%eax
167 movl %eax,%cr0
190 popl %eax # get EFLAGS
191 testl $X86_EFLAGS_ID,%eax # did EFLAGS.ID remained set?
195 xorl %eax,%eax
197 movl %eax,pa(X86_CPUID) # save largest std CPUID function
199 movl $1,%eax
204 movl pa(mmu_cr4_features),%eax
205 movl %eax,%cr4
211 movl $0x80000000, %eax
214 subl $0x80000001, %eax
215 cmpl $(0x8000ffff-0x80000001), %eax
221 mov $0x80000001, %eax
231 btsl $_EFER_NX, %eax
240 movl $pa(initial_page_table), %eax
241 movl %eax,%cr3 /* set the page table pointer.. */
242 movl $CR0_STATE,%eax
243 movl %eax,%cr0 /* ..and set paging (PG) bit */
257 xorl %eax,%eax # call CPUID with 0 -> return vendor ID
259 movl %eax,X86_CPUID # save CPUID level
264 orl %eax,%eax # do we have processor info as well?
267 movl $1,%eax # Use the CPUID instruction to get CPU type
281 movl %cr0,%eax
282 andl $0x80000011,%eax # Save PG,PE,ET
283 orl %ecx,%eax
284 movl %eax,%cr0
288 1: movl $(__KERNEL_DS),%eax # reload all the segment registers
289 movl %eax,%ss # after changing gdt.
291 movl $(__USER_DS),%eax # DS/ES contains default USER segment
292 movl %eax,%ds
293 movl %eax,%es
295 movl $(__KERNEL_PERCPU), %eax
296 movl %eax,%fs # set this cpu's percpu