PERFORCE change 28617 for review
Peter Wemm
peter at FreeBSD.org
Tue Apr 8 22:38:20 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=28617
Change 28617 by peter at peter_daintree on 2003/04/08 22:37:49
kill asm version of identify_cpu.
Affected files ...
.. //depot/projects/hammer/sys/x86_64/x86_64/locore.s#34 edit
Differences ...
==== //depot/projects/hammer/sys/x86_64/x86_64/locore.s#34 (text+ko) ====
@@ -102,28 +102,3 @@
call mi_startup /* autoconfiguration, mountroot etc */
0: hlt
jmp 0b
-
-
-#if 0
-/**********************************************************************
- *
- * Identify the CPU and initialize anything special about it
- *
- */
-identify_cpu:
-
- xorl %eax,%eax
- cpuid # cpuid 0
- movl %eax,cpu_high # highest capability
- movl %ebx,cpu_vendor # store vendor string
- movl %edx,cpu_vendor+4
- movl %ecx,cpu_vendor+8
- movb $0,cpu_vendor+12
-
- movl $1,%eax
- cpuid # cpuid 1
- movl %eax,cpu_id # store cpu_id
- movl %ebx,cpu_procinfo # store cpu_procinfo
- movl %edx,cpu_feature # store cpu_feature
- ret
-#endif
More information about the p4-projects
mailing list