Lines Matching refs:eax
19 xor %eax, %eax
26 movl $0x80000000, %eax /* CPUID to check the highest leaf */
28 cmpl $0x8000001f, %eax /* See if 0x8000001f is available */
37 movl $0x8000001f, %eax
39 bt $1, %eax /* Check if SEV is available */
44 bt $MSR_AMD64_SEV_ENABLED_BIT, %eax /* Check if SEV is active */
47 movl %ebx, %eax
48 andl $0x3f, %eax /* Return the encryption bit location */
52 xor %eax, %eax
75 shll $30, %eax
76 orl $0x00000004, %eax
83 movl %eax, %ecx
88 andl $0xfff, %eax
89 cmpl $5, %eax
93 xorl %eax, %eax
97 movl $-1, %eax
102 pushl %eax
108 movl %eax, %ebx
114 movl $0, %eax # Request CPUID[fn].EAX
117 testl %eax, %eax # Check return code
121 movl $1, %eax # Request CPUID[fn].EBX
124 testl %eax, %eax # Check return code
128 movl $2, %eax # Request CPUID[fn].ECX
131 testl %eax, %eax # Check return code
135 movl $3, %eax # Request CPUID[fn].EDX
138 testl %eax, %eax # Check return code
165 popl %eax
176 movl $0x100, %eax
198 testl %eax, %eax