Lines Matching refs:eax
23 movl $0x80000000, %eax /* CPUID to check the highest leaf */
25 cmpl $0x8000001f, %eax /* See if 0x8000001f is available */
34 movl $0x8000001f, %eax
36 bt $1, %eax /* Check if SEV is available */
41 bt $MSR_AMD64_SEV_ENABLED_BIT, %eax /* Check if SEV is active */
44 movl %ebx, %eax
45 andl $0x3f, %eax /* Return the encryption bit location */
49 xor %eax, %eax
67 shll $30, %eax
68 orl $0x00000004, %eax
75 movl %eax, %ecx
80 andl $0xfff, %eax
81 cmpl $5, %eax
85 xorl %eax, %eax
89 movl $-1, %eax
94 pushl %eax
100 movl %eax, %ebx
106 movl $0, %eax # Request CPUID[fn].EAX
109 testl %eax, %eax # Check return code
113 movl $1, %eax # Request CPUID[fn].EBX
116 testl %eax, %eax # Check return code
120 movl $2, %eax # Request CPUID[fn].ECX
123 testl %eax, %eax # Check return code
127 movl $3, %eax # Request CPUID[fn].EDX
130 testl %eax, %eax # Check return code
157 popl %eax
168 movl $0x100, %eax
193 movl %eax, %edx
201 movl %eax, %edx
221 leal (startup32_vc_handler - 1b)(%ebp), %eax
261 movl (sev_status - 0b)(%ebp), %eax
262 testl %eax, %eax
270 1: rdrand %eax
277 movl %eax, 0(%ebp)
285 cmpl %eax, 0(%ebp)