Date: Tue, 8 Apr 2003 22:38:16 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 28617 for review Message-ID: <200304090538.h395cGTX045232@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=28617 Change 28617 by peter@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304090538.h395cGTX045232>