Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/include style and fix typo



details:   https://anonhg.NetBSD.org/src/rev/5a64bf0265cd
branches:  trunk
changeset: 973059:5a64bf0265cd
user:      maxv <maxv%NetBSD.org@localhost>
date:      Thu Jun 18 16:27:24 2020 +0000

description:
style and fix typo

diffstat:

 sys/arch/x86/include/specialreg.h |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (37 lines):

diff -r 4401cfbe1c3a -r 5a64bf0265cd sys/arch/x86/include/specialreg.h
--- a/sys/arch/x86/include/specialreg.h Thu Jun 18 16:23:43 2020 +0000
+++ b/sys/arch/x86/include/specialreg.h Thu Jun 18 16:27:24 2020 +0000
@@ -1,7 +1,7 @@
-/*     $NetBSD: specialreg.h,v 1.167 2020/06/10 03:39:03 msaitoh Exp $ */
+/*     $NetBSD: specialreg.h,v 1.168 2020/06/18 16:27:24 maxv Exp $    */
 
 /*
- * Copyright (c) 2014-2019 The NetBSD Foundation, Inc.
+ * Copyright (c) 2014-2020 The NetBSD Foundation, Inc.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -294,10 +294,10 @@
                ? 0 : (CPUID_TO_EXTMODEL(cpuid) << 4)))
 
 /* CPUID Fn00000001 %ebx */
-#define        CPUID_BRAND_INDEX       __BITS(7,0)
-#define        CPUID_CLFLUSH_SIZE      __BITS(15,8)
-#define        CPUID_HTT_CORES         __BITS(23,16)
-#define        CPUID_LOCAL_APIC_ID     __BITS(31,24)
+#define CPUID_BRAND_INDEX      __BITS(7,0)
+#define CPUID_CLFLUSH_SIZE     __BITS(15,8)
+#define CPUID_HTT_CORES                __BITS(23,16)
+#define CPUID_LOCAL_APIC_ID    __BITS(31,24)
 
 /*
  * Intel Deterministic Cache Parameter Leaf
@@ -389,7 +389,7 @@
 
 /*
  * Intel/AMD Structured Extended Feature leaf Fn0000_0007
- * %eax == 0: Subleaf 0
+ * %ecx == 0: Subleaf 0
  *     %eax: The Maximum input value for supported subleaf.
  *     %ebx: Feature bits.
  *     %ecx: Feature bits.



Home | Main Index | Thread Index | Old Index