Module Name: src Committed By: msaitoh Date: Wed May 10 08:02:37 UTC 2017
Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: Print package ID, core ID and SMT ID. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/sys/arch/x86/x86/identcpu.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/x86/x86/identcpu.c diff -u src/sys/arch/x86/x86/identcpu.c:1.53 src/sys/arch/x86/x86/identcpu.c:1.54 --- src/sys/arch/x86/x86/identcpu.c:1.53 Thu Feb 16 15:00:30 2017 +++ src/sys/arch/x86/x86/identcpu.c Wed May 10 08:02:37 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: identcpu.c,v 1.53 2017/02/16 15:00:30 tls Exp $ */ +/* $NetBSD: identcpu.c,v 1.54 2017/05/10 08:02:37 msaitoh Exp $ */ /*- * Copyright (c) 1999, 2000, 2001, 2006, 2007, 2008 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: identcpu.c,v 1.53 2017/02/16 15:00:30 tls Exp $"); +__KERNEL_RCSID(0, "$NetBSD: identcpu.c,v 1.54 2017/05/10 08:02:37 msaitoh Exp $"); #include "opt_xen.h" @@ -949,7 +949,8 @@ cpu_identify(struct cpu_info *ci) if (ci->ci_signature != 0) aprint_normal(", id 0x%x", ci->ci_signature); aprint_normal("\n"); - + aprint_normal_dev(ci->ci_dev, "package %lu, core %lu, smt %lu\n", + ci->ci_package_id, ci->ci_core_id, ci->ci_smt_id); if (cpu_brand_string[0] == '\0') { strlcpy(cpu_brand_string, cpu_getmodel(), sizeof(cpu_brand_string));