Displaying 1 result from an estimated 1 matches for "not_amd".
Did you mean:
hot_add
2002 Mar 08
0
PXELINUX: suggestion for improvement
...t;<21
+ jnz .do_cpuid
+ .done_cpuid:
+ mov si,trying_msg
+ call writestr
+ mov di,trackbuf
+ mov si,di
+ call writestr
+ call crlf
+ call open
+ popad
+ pop dword [di-8]
+ pop dword [di-4]
+ ret
+
+ .do_cpuid:
+ xor eax,eax
+ cpuid
+ cmp ecx,'cAMD'
+ jne .not_amd
+ mov byte [di-8],'a'
+ mov eax,80000001h
+ cpuid
+ shr eax,8
+ and ax,0Fh
+ add ax,'0'
+ mov byte [di-7],al
+ and edx,1<<29 ; x86-64 Long Mode
+ jz .smp_search
+ mov byte [di-7],'w'
+ jmp .smp_search
+ .not_amd:
+ mov eax,1
+ cpuid
+ mov ed...