Lines Matching refs:eax

72 	movl $(__BOOT_DS),%eax
73 movl %eax,%ds
74 movl %eax,%es
75 movl %eax,%fs
76 movl %eax,%gs
77 movl %eax,%ss
84 xorl %eax,%eax
112 movl %cr3, %eax
113 movl %eax, pa(olpc_ofw_pgd)
120 movl $pa(initial_pg_fixmap)+PDE_IDENT_ATTR,%eax
123 movl %eax,pa(initial_pg_pmd+0x1000*KPMDS-8)
125 movl %eax,pa(initial_page_table+0xffc)
141 movl $(__BOOT_DS),%eax
142 movl %eax,%ds
143 movl %eax,%es
144 movl %eax,%fs
145 movl %eax,%gs
147 movl %eax,%ss
151 movl $(CR0_STATE & ~X86_CR0_PG),%eax
152 movl %eax,%cr0
175 popl %eax # get EFLAGS
176 testl $X86_EFLAGS_ID,%eax # did EFLAGS.ID remained set?
180 xorl %eax,%eax
182 movl %eax,pa(X86_CPUID) # save largest std CPUID function
184 movl $1,%eax
189 movl pa(mmu_cr4_features),%eax
190 movl %eax,%cr4
196 movl $0x80000000, %eax
199 subl $0x80000001, %eax
200 cmpl $(0x8000ffff-0x80000001), %eax
206 mov $0x80000001, %eax
216 btsl $_EFER_NX, %eax
225 movl $pa(initial_page_table), %eax
226 movl %eax,%cr3 /* set the page table pointer.. */
227 movl $CR0_STATE,%eax
228 movl %eax,%cr0 /* ..and set paging (PG) bit */
242 xorl %eax,%eax # call CPUID with 0 -> return vendor ID
244 movl %eax,X86_CPUID # save CPUID level
249 orl %eax,%eax # do we have processor info as well?
252 movl $1,%eax # Use the CPUID instruction to get CPU type
266 movl %cr0,%eax
267 andl $0x80000011,%eax # Save PG,PE,ET
268 orl %ecx,%eax
269 movl %eax,%cr0
273 1: movl $(__KERNEL_DS),%eax # reload all the segment registers
274 movl %eax,%ss # after changing gdt.
276 movl $(__USER_DS),%eax # DS/ES contains default USER segment
277 movl %eax,%ds
278 movl %eax,%es
280 movl $(__KERNEL_PERCPU), %eax
281 movl %eax,%fs # set this cpu's percpu