Lines Matching refs:eax
95 movl $(__BOOT_DS),%eax
96 movl %eax,%ds
97 movl %eax,%es
98 movl %eax,%fs
99 movl %eax,%gs
106 xorl %eax,%eax
141 movl pa(boot_params + BP_hardware_subarch), %eax
142 cmpl $num_subarch_entries, %eax
145 movl pa(subarch_entries)(,%eax,4), %eax
146 subl $__PAGE_OFFSET, %eax
147 jmp *%eax
195 movl $PTE_IDENT_ATTR, %eax
204 xchgl %eax,%ebx
206 xchgl %eax,%ebx
207 addl $0x1000,%eax
215 cmpl %ebp,%eax
219 shrl $12, %eax
220 movl %eax, pa(max_pfn_mapped)
223 movl $pa(swapper_pg_fixmap)+PDE_IDENT_ATTR,%eax
224 movl %eax,pa(swapper_pg_pmd+0x1000*KPMDS-8)
232 movl $PTE_IDENT_ATTR, %eax
241 addl $0x1000,%eax
249 cmpl %ebp,%eax
252 shrl $12, %eax
253 movl %eax, pa(max_pfn_mapped)
256 movl $pa(swapper_pg_fixmap)+PDE_IDENT_ATTR,%eax
257 movl %eax,pa(swapper_pg_dir+0xffc)
276 movl $(__BOOT_DS),%eax
277 movl %eax,%ds
278 movl %eax,%es
279 movl %eax,%fs
280 movl %eax,%gs
302 movl %cr4,%eax # Turn on paging options (PSE,PAE,..)
303 orl %edx,%eax
304 movl %eax,%cr4
306 btl $5, %eax # check if PAE is enabled
310 movl $0x80000000, %eax
312 cmpl $0x80000000, %eax
314 mov $0x80000001, %eax
324 btsl $11, %eax
333 movl $pa(swapper_pg_dir),%eax
334 movl %eax,%cr3 /* set the page table pointer.. */
335 movl %cr0,%eax
336 orl $X86_CR0_PG,%eax
337 movl %eax,%cr0 /* ..and set paging (PG) bit */
377 popl %eax # get EFLAGS
378 movl %eax,%ecx # save original EFLAGS
379 xorl $0x240000,%eax # flip AC and ID bits in EFLAGS
380 pushl %eax # copy to EFLAGS
383 popl %eax # put it in eax
384 xorl %ecx,%eax # change in flags
387 testl $0x40000,%eax # check if AC bit changed
391 testl $0x200000,%eax # check if ID bit changed
395 xorl %eax,%eax # call CPUID with 0 -> return vendor ID
397 movl %eax,X86_CPUID # save CPUID level
402 orl %eax,%eax # do we have processor info as well?
405 movl $1,%eax # Use the CPUID instruction to get CPU type
421 2: movl %cr0,%eax
422 andl $0x80000011,%eax # Save PG,PE,ET
423 orl %ecx,%eax
424 movl %eax,%cr0
430 1: movl $(__KERNEL_DS),%eax # reload all the segment registers
431 movl %eax,%ss # after changing gdt.
432 movl %eax,%fs # gets reset once there's real percpu
466 movl %cr0,%eax /* no coprocessor: have to set bits */
467 xorl $4,%eax /* set EM */
468 movl %eax,%cr0
489 movl $(__KERNEL_CS << 16),%eax
496 movl %eax,(%edi)
504 movl $(__KERNEL_CS << 16),%eax
508 movl %eax,8*\trapno(%edi)
541 movl $(__KERNEL_DS),%eax
542 movl %eax,%ds
543 movl %eax,%es
547 movl %cr2,%eax
548 pushl %eax
567 pushl %eax
572 movl $(__KERNEL_DS),%eax
573 movl %eax,%ds
574 movl %eax,%es
593 popl %eax