Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/mips Add CPU_INFO_FLAGS / CPUF_PRESENT



details:   https://anonhg.NetBSD.org/src/rev/cd8bd8e102ea
branches:  trunk
changeset: 808776:cd8bd8e102ea
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Jun 02 05:10:57 2015 +0000

description:
Add CPU_INFO_FLAGS / CPUF_PRESENT

diffstat:

 sys/arch/mips/mips/genassym.cf |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r ab32ce51bdcb -r cd8bd8e102ea sys/arch/mips/mips/genassym.cf
--- a/sys/arch/mips/mips/genassym.cf    Tue Jun 02 05:10:18 2015 +0000
+++ b/sys/arch/mips/mips/genassym.cf    Tue Jun 02 05:10:57 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.54 2011/04/06 05:38:19 matt Exp $
+#      $NetBSD: genassym.cf,v 1.55 2015/06/02 05:10:57 matt Exp $
 #
 # Copyright (c) 1992, 1993
 #      The Regents of the University of California.  All rights reserved.
@@ -292,7 +292,10 @@
 define CPU_INFO_MTX_COUNT      offsetof(struct cpu_info, ci_mtx_count)
 define CPU_INFO_MTX_OLDSPL     offsetof(struct cpu_info, ci_mtx_oldspl)
 ifdef MULTIPROCESSOR
+define CPU_INFO_FLAGS          offsetof(struct cpu_info, ci_flags)
 define CPU_INFO_KSP_TLB_SLOT   offsetof(struct cpu_info, ci_ksp_tlb_slot)
+
+define CPUF_PRESENT            CPUF_PRESENT
 endif
 
 define IPL_NONE                IPL_NONE



Home | Main Index | Thread Index | Old Index