Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jun 2009 02:55:53 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r194322 - head/sys/arm/xscale/ixp425
Message-ID:  <200906170255.n5H2trDa060084@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sam
Date: Wed Jun 17 02:55:53 2009
New Revision: 194322
URL: http://svn.freebsd.org/changeset/base/194322

Log:
  remove IAL vestige for defining the max data/instruction memory size;
  instead of defining them according to ixp46x add new defines so we can
  do this at run time

Modified:
  head/sys/arm/xscale/ixp425/ixp425_npereg.h

Modified: head/sys/arm/xscale/ixp425/ixp425_npereg.h
==============================================================================
--- head/sys/arm/xscale/ixp425/ixp425_npereg.h	Wed Jun 17 02:53:05 2009	(r194321)
+++ head/sys/arm/xscale/ixp425/ixp425_npereg.h	Wed Jun 17 02:55:53 2009	(r194322)
@@ -95,7 +95,6 @@
 /*
  * Instruction and Data Memory Size (in words) for each NPE 
  */
-#ifndef __ixp46X
 #define IX_NPEDL_INS_MEMSIZE_WORDS_NPEA     4096
 #define IX_NPEDL_INS_MEMSIZE_WORDS_NPEB     2048
 #define IX_NPEDL_INS_MEMSIZE_WORDS_NPEC     2048
@@ -103,15 +102,9 @@
 #define IX_NPEDL_DATA_MEMSIZE_WORDS_NPEA    2048
 #define IX_NPEDL_DATA_MEMSIZE_WORDS_NPEB    2048
 #define IX_NPEDL_DATA_MEMSIZE_WORDS_NPEC    2048
-#else
-#define IX_NPEDL_INS_MEMSIZE_WORDS_NPEA     4096
-#define IX_NPEDL_INS_MEMSIZE_WORDS_NPEB     4096
-#define IX_NPEDL_INS_MEMSIZE_WORDS_NPEC     4096
 
-#define IX_NPEDL_DATA_MEMSIZE_WORDS_NPEA    4096
-#define IX_NPEDL_DATA_MEMSIZE_WORDS_NPEB    4096
-#define IX_NPEDL_DATA_MEMSIZE_WORDS_NPEC    4096
-#endif
+#define IXP46X_NPEDL_INS_MEMSIZE_WORDS      4096
+#define IXP46X_NPEDL_DATA_MEMSIZE_WORDS     4096
 
 /* BAR offsets */
 #define IX_NPEDL_REG_OFFSET_EXAD             0x00000000	/* Execution Address */



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