Home
last modified time | relevance | path

Searched refs:eax (Results 1 – 25 of 69) sorted by relevance

123

/openbmc/u-boot/arch/x86/cpu/intel_common/
H A Dcar.S46 movl $0x000C4500, %eax
48 movl %eax, (%esi)
53 movl $_dt_ucode_base_size, %eax
54 movl (%eax), %eax
55 addl $UCODE_HEADER_LEN, %eax
62 xorl %eax, %eax
76 andl $(~0x00000cff), %eax
82 movl $(CACHE_AS_RAM_BASE | MTRR_TYPE_WRBACK), %eax
89 movl $(~(CACHE_AS_RAM_SIZE - 1) | MTRR_PHYS_MASK_VALID), %eax
98 orl $MTRR_DEF_TYPE_EN, %eax
[all …]
/openbmc/u-boot/arch/x86/cpu/i386/
H A Dcall64.S26 mov %eax, %ebx
29 leal gdt, %eax
30 movl %eax, gdt+2
34 movl $(X86_CR4_PAE), %eax
35 movl %eax, %cr4
38 leal (%ebx), %eax
39 movl %eax, %cr3
44 btsl $_EFER_LME, %eax
48 xorl %eax, %eax
50 movl $0x20, %eax
[all …]
/openbmc/qemu/pc-bios/optionrom/
H A Dmultiboot.S38 mov %cs, %eax
39 shl $0x4, %eax
55 add %eax, %ebx
64 add %eax, %ebx
67 xor %eax, %eax
68 mov %eax, %es
75 shr $4, %eax
83 movl %eax, %fs:4
86 mov %fs:48, %eax
87 shr $4, %eax
[all …]
H A Dlinuxboot.S39 mov %eax, %ebx
55 mov %eax, %ebx
57 sub %eax, %ebx
67 xor %eax, %eax
81 shr $4, %eax
82 mov %eax, %es
93 mov %eax, %edi // (load_kernel wants it in %edi)
95 add %edi, %eax
96 xor %es:0x22c, %eax // if it matches es:0x22c
97 and $-4096, %eax // (apart from padding for page)
[all …]
H A Dkvmvapic.S107 fs/movzbl pcr_cpu, %eax
110 shl %cl, %eax
111 testb $1, vapic+4(%eax) ; fixup delta=-5
113 movzbl vapic(%eax), %eax ; fixup
121 mov real_tpr, %eax ; fixup
122 mov (%eax), %eax
126 mov %eax, %ebx
128 xchg %eax, %ebx
132 mov %eax, %ecx
134 xchg %eax, %ecx
[all …]
H A Doptionrom.h67 shl $8, %eax
69 shl $8, %eax
71 shl $8, %eax
73 bswap %eax
87 xorl %eax, %eax
88 pushl %eax
90 outl %eax, (%dx)
97 movl $(\VAR << 16) | (FW_CFG_DMA_CTL_READ | FW_CFG_DMA_CTL_SELECT), %eax
98 bswapl %eax
99 pushl %eax
[all …]
H A Dpvh.S61 mov %cs, %eax
62 shl $0x4, %eax
78 add %eax, %ebx
87 add %eax, %ebx
93 mov $pvh_e820, %eax
94 shr $4, %eax
111 movl $0x0000e820, %eax
142 movl $1, %eax
143 movl %eax, %cr0
153 movl $0x10, %eax
[all …]
/openbmc/u-boot/arch/x86/cpu/quark/
H A Dcar.S26 mov $((MSG_PORT_HOST_BRIDGE << 16) | (HM_BOUND << 8)), %eax
33 mov $((MSG_PORT_MEM_MGR << 16) | (ESRAM_BLK_CTRL << 8)), %eax
54 or $((MSG_OP_READ << 24) | MSG_BYTE_ENABLE), %eax
55 mov %eax, %ebx
58 mov $(PCI_CFG_EN | MSG_CTRL_REG), %eax
60 out %eax, %dx
62 mov %ebx, %eax
63 out %eax, %dx
66 mov $(PCI_CFG_EN | MSG_DATA_REG), %eax
68 out %eax, %dx
[all …]
/openbmc/u-boot/arch/x86/lib/
H A Dbios_asm.S33 movl 44(%ebp), %eax
34 movl %eax, __registers + 0 /* eax */
35 movl 48(%ebp), %eax
36 movl %eax, __registers + 4 /* ebx */
37 movl 52(%ebp), %eax
38 movl %eax, __registers + 8 /* ecx */
39 movl 56(%ebp), %eax
40 movl %eax, __registers + 12 /* edx */
41 movl 60(%ebp), %eax
42 movl %eax, __registers + 16 /* esi */
[all …]
H A Dcrt0_ia32_efi.S22 0: popl %eax
23 movl %eax,%ebx
25 addl $image_base-0b,%eax # %eax = ldbase
29 pushl %eax # pass ldbase as first argument
33 testl %eax,%eax
/openbmc/u-boot/arch/x86/cpu/
H A Dsipi_vector.S39 xorl %eax, %eax
40 movl %eax, %cr3 /* Invalidate TLB */
52 movl %cr0, %eax
54 X86_CR0_TS | X86_CR0_EM | X86_CR0_MP)), %eax
55 orl $(X86_CR0_NW | X86_CR0_CD | X86_CR0_PE), %eax
56 movl %eax, %cr0
58 movl $ap_start_jmp, %eax
59 subl $ap_start16, %eax
103 movl ap_count, %eax
105 movl %eax, %ecx
[all …]
H A Dstart16.S24 movl %eax, %ecx
29 xorl %eax, %eax
30 movl %eax, %cr3 /* Invalidate TLB */
33 movl %cr0, %eax
34 orl $(X86_CR0_NW | X86_CR0_CD), %eax
35 movl %eax, %cr0
43 movl %cr0, %eax
44 orl $X86_CR0_PE, %eax
45 movl %eax, %cr0
54 movl %ecx, %eax
H A Dcall32.S43 movl %cr0, %eax
44 andl $~X86_CR0_PG, %eax
45 movl %eax, %cr0
48 xorl %eax, %eax
49 movl %eax, %cr3
54 btr $_EFER_LME, %eax
H A Dstart.S38 movl %cr0, %eax
39 orl $(X86_CR0_NW | X86_CR0_CD), %eax
40 movl %eax, %cr0
65 movl %eax, %ebp
76 movl $(X86_GDT_ENTRY_32BIT_DS * X86_GDT_ENTRY_SIZE), %eax
129 mov %esp, %eax
131 mov %eax, %esp
164 xorl %eax, %eax
185 movl %eax, %esp
H A Dwakeup.S21 mov 0x4(%esp), %eax /* vector */
25 mov 0x4(%esp), %eax
27 shr $4, %eax
49 movl %cr0, %eax
50 andl $~X86_CR0_PE, %eax
51 movl %eax, %cr0
/openbmc/u-boot/board/google/common/
H A Dearly_init.S12 and $0x100, %eax
13 test %eax, %eax
16 mov $0x8000f8f0, %eax
18 out %eax, (%dx)
19 mov $0xfed1c001, %eax
21 out %eax, (%dx)
23 mov (%esp), %eax
24 and $0xfffffffb, %eax
25 mov %eax, (%esp)
/openbmc/qemu/tests/qtest/migration/i386/
H A Da-b-bootblock.S39 mov $1,%eax
40 mov %eax,%cr0 # Protected mode enable
51 mov $16,%eax
52 mov %eax,%ds
66 mov $TEST_MEM_START,%eax
68 movb $0, (%eax)
69 add $4096,%eax
70 cmp $TEST_MEM_END,%eax
74 mov $TEST_MEM_START,%eax
76 incb (%eax)
[all …]
/openbmc/u-boot/arch/x86/include/asm/
H A Dcpu.h61 uint32_t eax; member
78 : "=a" (result.eax), in cpuid()
98 : "=a" (result.eax), in cpuid_ext()
112 unsigned int eax; in cpuid_eax() local
117 : "=a" (eax) in cpuid_eax()
120 return eax; in cpuid_eax()
125 unsigned int eax, ebx; in cpuid_ebx() local
131 : "=a" (eax), "=S" (ebx) in cpuid_ebx()
139 unsigned int eax, ecx; in cpuid_ecx() local
144 : "=a" (eax), "=c" (ecx) in cpuid_ecx()
[all …]
/openbmc/qemu/tests/tcg/x86_64/system/
H A Dboot.S84 mov $0x10,%eax
85 mov %eax,%ds
86 mov %eax,%es
87 mov %eax,%fs
88 mov %eax,%gs
89 mov %eax,%ss
92 mov %cr4, %eax
93 btsl $5, %eax
94 mov %eax, %cr4
101 btsl $8, %eax
[all …]
/openbmc/qemu/target/i386/hvf/
H A Dx86_cpuid.c62 uint32_t eax, ebx, ecx, edx; in hvf_get_supported_cpuid() local
65 host_cpuid(func, idx, &eax, &ebx, &ecx, &edx); in hvf_get_supported_cpuid()
69 eax = eax < (uint32_t)0xd ? eax : (uint32_t)0xd; in hvf_get_supported_cpuid()
86 eax = CPUID_6_EAX_ARAT; in hvf_get_supported_cpuid()
119 eax = 0; in hvf_get_supported_cpuid()
124 eax = ebx = ecx = edx = 0; in hvf_get_supported_cpuid()
129 eax = supported_xcr0; in hvf_get_supported_cpuid()
132 eax &= CPUID_XSAVE_XSAVEOPT | CPUID_XSAVE_XGETBV1; in hvf_get_supported_cpuid()
134 eax &= ~CPUID_XSAVE_XSAVES; in hvf_get_supported_cpuid()
161 eax = ebx = ecx = 0; in hvf_get_supported_cpuid()
[all …]
/openbmc/qemu/target/i386/
H A Dhost-cpu.c20 uint32_t eax; in host_cpu_phys_bits() local
23 host_cpuid(0x80000000, 0, &eax, NULL, NULL, NULL); in host_cpu_phys_bits()
24 if (eax >= 0x80000008) { in host_cpu_phys_bits()
25 host_cpuid(0x80000008, 0, &eax, NULL, NULL, NULL); in host_cpu_phys_bits()
32 host_phys_bits = eax & 0xff; in host_cpu_phys_bits()
94 uint32_t eax = 0, ebx = 0, ecx = 0, edx = 0; in host_cpu_fill_model_id() local
98 host_cpuid(0x80000002 + i, 0, &eax, &ebx, &ecx, &edx); in host_cpu_fill_model_id()
99 memcpy(str + i * 16 + 0, &eax, 4); in host_cpu_fill_model_id()
109 uint32_t eax, ebx, ecx, edx; in host_cpu_vendor_fms() local
118 host_cpuid(0x1, 0, &eax, &ebx, &ecx, &edx); in host_cpu_vendor_fms()
[all …]
/openbmc/qemu/tests/tcg/i386/system/
H A Dboot.S48 mov $0x10,%eax
49 mov %eax,%ds
50 mov %eax,%es
51 mov %eax,%fs
52 mov %eax,%gs
53 mov %eax,%ss
58 mov idt_00(,%ebx,8),%eax
59 shr $16,%eax
86 mov $0x2000,%eax
/openbmc/u-boot/arch/x86/lib/fsp/
H A Dfsp_car.S28 mov %eax, %ebp
31 cmp $CONFIG_FSP_ADDR, %eax
35 mov 0x30(%ebp), %eax
36 add 0x1c(%ebp), %eax
40 jmp *%eax
44 cmp $0, %eax
69 movl %eax, %esi
/openbmc/qemu/linux-user/x86_64/
H A Dvdso.S24 mov $\nr, %eax
60 mov %ecx, %eax
61 and $0xfff, %eax
62 mov %eax, (%rdi)
70 2: xor %eax, %eax
/openbmc/qemu/common-user/host/i386/
H A Dsafe-syscall.inc.S68 mov 4+16(%esp), %eax /* signal_pending */
69 cmpl $0, (%eax)
71 mov 8+16(%esp), %eax /* syscall number */
78 cmp $-4095, %eax
103 0: neg %eax
108 2: mov $QEMU_ERESTARTSYS, %eax
123 mov %eax, 4(%esp)

123