Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Feb 2016 07:47:52 +0000
From:      "adrian (Adrian Chadd)" <phabric-noreply@FreeBSD.org>
To:        freebsd-mips@freebsd.org
Subject:   [Differential] [Closed] D5077: Rename some CPU_MIPSxxx options and add new CPU_MIPSxxx options
Message-ID:  <0c5039cd7b9030b281816e6feb26724f@localhost.localdomain>
In-Reply-To: <differential-rev-PHID-DREV-5cnvllzxxw5m2qjr3fes-req@FreeBSD.org>
References:  <differential-rev-PHID-DREV-5cnvllzxxw5m2qjr3fes-req@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
This revision was automatically updated to reflect the committed changes.
Closed by commit rS295138: Rename some CPU_MIPSxxx options and add new CPU_MIPSxxx options (authored by adrian).

CHANGED PRIOR TO COMMIT
  https://reviews.freebsd.org/D5077?vs=12745&id=12944#toc

REPOSITORY
  rS FreeBSD src repository

CHANGES SINCE LAST UPDATE
  https://reviews.freebsd.org/D5077?vs=12745&id=12944

REVISION DETAIL
  https://reviews.freebsd.org/D5077

AFFECTED FILES
  head/sys/conf/options.mips
  head/sys/mips/conf/AR934X_BASE
  head/sys/mips/conf/QCA955X_BASE
  head/sys/mips/include/asm.h
  head/sys/mips/include/cpufunc.h
  head/sys/mips/include/cpuregs.h

CHANGE DETAILS
  diff --git a/head/sys/mips/include/cpuregs.h b/head/sys/mips/include/cpuregs.h
  --- a/head/sys/mips/include/cpuregs.h
  +++ b/head/sys/mips/include/cpuregs.h
  @@ -149,12 +149,12 @@
   #define	MIPS_CCA_CC	0x05	/* Cacheable Coherent. */
   #endif
   
  -#if defined(CPU_MIPS74KC)
  +#if defined(CPU_MIPS74K)
   #define	MIPS_CCA_UNCACHED	0x02
   #define	MIPS_CCA_CACHED		0x03
   #endif
   
  -#if defined(CPU_MIPS1004KC)
  +#if defined(CPU_MIPS1004K)
   #define	MIPS_CCA_UNCACHED	0x02
   #define	MIPS_CCA_CACHED		0x05
   #endif
  @@ -214,7 +214,7 @@
   #define	COP0_SYNC	.word 0xc0	/* ehb */
   #elif defined(CPU_SB1)
   #define COP0_SYNC  ssnop; ssnop; ssnop; ssnop; ssnop; ssnop; ssnop; ssnop; ssnop
  -#elif defined(CPU_MIPS74KC) || defined(CPU_MIPS1004KC)
  +#elif defined(CPU_MIPS74K) || defined(CPU_MIPS1004K)
   #define	COP0_SYNC	 .word 0xc0	/* ehb */
   #else
   /*
  diff --git a/head/sys/mips/include/cpufunc.h b/head/sys/mips/include/cpufunc.h
  --- a/head/sys/mips/include/cpufunc.h
  +++ b/head/sys/mips/include/cpufunc.h
  @@ -248,7 +248,7 @@
   #if defined(CPU_NLM) || defined(BERI_LARGE_TLB)
   MIPS_RW32_COP0_SEL(config6, MIPS_COP_0_CONFIG, 6);
   #endif
  -#if defined(CPU_NLM) || defined(CPU_MIPS1004KC)
  +#if defined(CPU_NLM) || defined(CPU_MIPS1004K)
   MIPS_RW32_COP0_SEL(config7, MIPS_COP_0_CONFIG, 7);
   #endif
   MIPS_RW32_COP0(count, MIPS_COP_0_COUNT);
  diff --git a/head/sys/mips/include/asm.h b/head/sys/mips/include/asm.h
  --- a/head/sys/mips/include/asm.h
  +++ b/head/sys/mips/include/asm.h
  @@ -700,7 +700,7 @@
   #elif defined(CPU_RMI)
   #define	HAZARD_DELAY
   #define	ITLBNOPFIX
  -#elif defined(CPU_MIPS74KC)
  +#elif defined(CPU_MIPS74K)
   #define	HAZARD_DELAY	sll $0,$0,3
   #define	ITLBNOPFIX	sll $0,$0,3
   #else
  diff --git a/head/sys/mips/conf/QCA955X_BASE b/head/sys/mips/conf/QCA955X_BASE
  --- a/head/sys/mips/conf/QCA955X_BASE
  +++ b/head/sys/mips/conf/QCA955X_BASE
  @@ -13,7 +13,7 @@
   
   machine         mips mips
   ident		QCA955X_BASE
  -cpu		CPU_MIPS74KC
  +cpu		CPU_MIPS74K
   makeoptions	KERNLOADADDR=0x80050000
   options 	HZ=1000
   
  diff --git a/head/sys/mips/conf/AR934X_BASE b/head/sys/mips/conf/AR934X_BASE
  --- a/head/sys/mips/conf/AR934X_BASE
  +++ b/head/sys/mips/conf/AR934X_BASE
  @@ -12,7 +12,7 @@
   
   machine         mips mips
   ident		AR934X_BASE
  -cpu		CPU_MIPS74KC
  +cpu		CPU_MIPS74K
   makeoptions	KERNLOADADDR=0x80050000
   options 	HZ=1000
   
  diff --git a/head/sys/conf/options.mips b/head/sys/conf/options.mips
  --- a/head/sys/conf/options.mips
  +++ b/head/sys/conf/options.mips
  @@ -29,9 +29,13 @@
   # $FreeBSD$
   
   CPU_MIPS4KC	opt_global.h
  -CPU_MIPS24KC	opt_global.h
  -CPU_MIPS74KC	opt_global.h
  -CPU_MIPS1004KC	opt_global.h
  +CPU_MIPS24K	opt_global.h
  +CPU_MIPS34K	opt_global.h
  +CPU_MIPS74K	opt_global.h
  +CPU_MIPS1004K	opt_global.h
  +CPU_MIPS1074K	opt_global.h
  +CPU_INTERAPTIV	opt_global.h
  +CPU_PROAPTIV	opt_global.h
   CPU_MIPS32	opt_global.h
   CPU_MIPS64	opt_global.h
   CPU_SENTRY5	opt_global.h

EMAIL PREFERENCES
  https://reviews.freebsd.org/settings/panel/emailpreferences/

To: Sgalabov_gmail.com, MIPS, imp, adrian
Cc: imp, freebsd-mips-list

[-- Attachment #2 --]
diff --git a/head/sys/mips/include/cpuregs.h b/head/sys/mips/include/cpuregs.h
--- a/head/sys/mips/include/cpuregs.h
+++ b/head/sys/mips/include/cpuregs.h
@@ -149,12 +149,12 @@
 #define	MIPS_CCA_CC	0x05	/* Cacheable Coherent. */
 #endif
 
-#if defined(CPU_MIPS74KC)
+#if defined(CPU_MIPS74K)
 #define	MIPS_CCA_UNCACHED	0x02
 #define	MIPS_CCA_CACHED		0x03
 #endif
 
-#if defined(CPU_MIPS1004KC)
+#if defined(CPU_MIPS1004K)
 #define	MIPS_CCA_UNCACHED	0x02
 #define	MIPS_CCA_CACHED		0x05
 #endif
@@ -214,7 +214,7 @@
 #define	COP0_SYNC	.word 0xc0	/* ehb */
 #elif defined(CPU_SB1)
 #define COP0_SYNC  ssnop; ssnop; ssnop; ssnop; ssnop; ssnop; ssnop; ssnop; ssnop
-#elif defined(CPU_MIPS74KC) || defined(CPU_MIPS1004KC)
+#elif defined(CPU_MIPS74K) || defined(CPU_MIPS1004K)
 #define	COP0_SYNC	 .word 0xc0	/* ehb */
 #else
 /*
diff --git a/head/sys/mips/include/cpufunc.h b/head/sys/mips/include/cpufunc.h
--- a/head/sys/mips/include/cpufunc.h
+++ b/head/sys/mips/include/cpufunc.h
@@ -248,7 +248,7 @@
 #if defined(CPU_NLM) || defined(BERI_LARGE_TLB)
 MIPS_RW32_COP0_SEL(config6, MIPS_COP_0_CONFIG, 6);
 #endif
-#if defined(CPU_NLM) || defined(CPU_MIPS1004KC)
+#if defined(CPU_NLM) || defined(CPU_MIPS1004K)
 MIPS_RW32_COP0_SEL(config7, MIPS_COP_0_CONFIG, 7);
 #endif
 MIPS_RW32_COP0(count, MIPS_COP_0_COUNT);
diff --git a/head/sys/mips/include/asm.h b/head/sys/mips/include/asm.h
--- a/head/sys/mips/include/asm.h
+++ b/head/sys/mips/include/asm.h
@@ -700,7 +700,7 @@
 #elif defined(CPU_RMI)
 #define	HAZARD_DELAY
 #define	ITLBNOPFIX
-#elif defined(CPU_MIPS74KC)
+#elif defined(CPU_MIPS74K)
 #define	HAZARD_DELAY	sll $0,$0,3
 #define	ITLBNOPFIX	sll $0,$0,3
 #else
diff --git a/head/sys/mips/conf/QCA955X_BASE b/head/sys/mips/conf/QCA955X_BASE
--- a/head/sys/mips/conf/QCA955X_BASE
+++ b/head/sys/mips/conf/QCA955X_BASE
@@ -13,7 +13,7 @@
 
 machine         mips mips
 ident		QCA955X_BASE
-cpu		CPU_MIPS74KC
+cpu		CPU_MIPS74K
 makeoptions	KERNLOADADDR=0x80050000
 options 	HZ=1000
 
diff --git a/head/sys/mips/conf/AR934X_BASE b/head/sys/mips/conf/AR934X_BASE
--- a/head/sys/mips/conf/AR934X_BASE
+++ b/head/sys/mips/conf/AR934X_BASE
@@ -12,7 +12,7 @@
 
 machine         mips mips
 ident		AR934X_BASE
-cpu		CPU_MIPS74KC
+cpu		CPU_MIPS74K
 makeoptions	KERNLOADADDR=0x80050000
 options 	HZ=1000
 
diff --git a/head/sys/conf/options.mips b/head/sys/conf/options.mips
--- a/head/sys/conf/options.mips
+++ b/head/sys/conf/options.mips
@@ -29,9 +29,13 @@
 # $FreeBSD$
 
 CPU_MIPS4KC	opt_global.h
-CPU_MIPS24KC	opt_global.h
-CPU_MIPS74KC	opt_global.h
-CPU_MIPS1004KC	opt_global.h
+CPU_MIPS24K	opt_global.h
+CPU_MIPS34K	opt_global.h
+CPU_MIPS74K	opt_global.h
+CPU_MIPS1004K	opt_global.h
+CPU_MIPS1074K	opt_global.h
+CPU_INTERAPTIV	opt_global.h
+CPU_PROAPTIV	opt_global.h
 CPU_MIPS32	opt_global.h
 CPU_MIPS64	opt_global.h
 CPU_SENTRY5	opt_global.h


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0c5039cd7b9030b281816e6feb26724f>