Lines Matching refs:eax

98 	leal	rva(gdt)(%ebp), %eax
99 movl %eax, 2(%eax)
100 lgdt (%eax)
103 movl $__BOOT_DS, %eax
104 movl %eax, %ds
105 movl %eax, %es
106 movl %eax, %fs
107 movl %eax, %gs
108 movl %eax, %ss
114 testl %eax, %eax
141 movl BP_kernel_alignment(%esi), %eax
142 decl %eax
143 addl %eax, %ebx
144 notl %eax
145 andl %eax, %ebx
161 movl %cr4, %eax
162 orl $X86_CR4_PAE, %eax
163 movl %eax, %cr4
176 testl %eax, %eax
178 subl $32, %eax /* Encryption bit is always above bit 31 */
179 bts %eax, %edx /* Set encryption mask for page tables */
193 xorl %eax, %eax
199 leal 0x1007 (%edi), %eax
200 movl %eax, 0(%edi)
205 leal 0x1007(%edi), %eax
207 1: movl %eax, 0x00(%edi)
209 addl $0x00001000, %eax
216 movl $0x00000183, %eax
218 1: movl %eax, 0(%edi)
220 addl $0x00200000, %eax
226 leal rva(pgtable)(%ebx), %eax
227 movl %eax, %cr3
232 btsl $_EFER_LME, %eax
236 xorl %eax, %eax
238 movl $__BOOT_TSS, %eax
251 leal rva(startup_64)(%ebp), %eax
256 leal rva(efi64_stub_entry)(%ebp), %eax
269 leal rva(efi_pe_entry)(%ebp), %eax
278 pushl %eax
281 movl $(X86_CR0_PG | X86_CR0_PE), %eax /* Enable Paging and Protected mode */
282 movl %eax, %cr0
312 movl %cr0, %eax
313 btrl $X86_CR0_PG_BIT, %eax
314 movl %eax, %cr0
338 xorl %eax, %eax
339 movl %eax, %ds
340 movl %eax, %es
341 movl %eax, %ss
342 movl %eax, %fs
343 movl %eax, %gs
371 movl image_offset(%rip), %eax
375 movl BP_kernel_alignment(%rsi), %eax
376 decl %eax
541 xorl %eax, %eax
595 movl $__KERNEL_DS, %eax
596 movl %eax, %ds
597 movl %eax, %ss
603 movl %cr0, %eax
604 btrl $X86_CR0_PG_BIT, %eax
605 movl %eax, %cr0
612 movl %cr4, %eax
613 testl $X86_CR4_LA57, %eax
618 movl %cr4, %eax
619 testl $X86_CR4_LA57, %eax
623 leal TRAMPOLINE_32BIT_PGTABLE_OFFSET(%ecx), %eax
624 movl %eax, %cr3
631 btsl $_EFER_LME, %eax
637 movl $X86_CR4_PAE, %eax
640 orl $X86_CR4_LA57, %eax
642 movl %eax, %cr4
645 leal .Lpaging_enabled - trampoline_32bit_src + TRAMPOLINE_32BIT_CODE_OFFSET(%ecx), %eax
649 pushl %eax
652 movl $(X86_CR0_PG | X86_CR0_PE), %eax
653 movl %eax, %cr0
731 pushl %eax // dummy push to allocate loaded_image
737 testl %eax, %eax
738 movl $0x80000003, %eax // EFI_UNSUPPORTED
746 leal -4(%ebp), %eax
747 pushl %eax // &loaded_image
748 leal rva(loaded_image_proto)(%ebx), %eax
749 pushl %eax // pass the GUID address
766 movl 12(%ebp), %eax // sys_table
767 movl ST32_boottime(%eax), %eax // sys_table->boottime
768 call *BS32_handle_protocol(%eax) // sys_table->boottime->handle_protocol
770 testl %eax, %eax
823 pushl %eax
829 movl rva(sev_status)(%ebp), %eax
830 testl %eax, %eax
838 1: rdrand %eax
844 movl %eax, rva(sev_check_data)(%ebp)
852 cmpl %eax, rva(sev_check_data)(%ebp)
869 popl %eax