This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
QUICC - BD allocator dix
- From: Gary Thomas <gthomas at ecoscentric dot com>
- To: eCos patches <ecos-patches at sources dot redhat dot com>
- Date: 26 Nov 2002 08:37:24 -0700
- Subject: QUICC - BD allocator dix
Index: hal/powerpc/quicc/current/ChangeLog
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/hal/powerpc/quicc/current/ChangeLog,v
retrieving revision 1.26
diff -u -5 -p -r1.26 ChangeLog
--- hal/powerpc/quicc/current/ChangeLog 26 Nov 2002 13:48:18 -0000 1.26
+++ hal/powerpc/quicc/current/ChangeLog 26 Nov 2002 15:36:09 -0000
@@ -1,7 +1,11 @@
2002-11-26 Gary Thomas <gthomas@ecoscentric.com>
+ * src/quicc_smc1.c: Initialize BD allocation point. Note that it is
+ different from when the CPM get's reset directly. This is to allow
+ sharing of the space between ROM (RedBoot) code and applications.
+
* cdl/hal_powerpc_quicc.cdl: Move platform define here, where it belongs.
2002-11-25 Gary Thomas <gthomas@ecoscentric.com>
* src/quicc_smc1.c: Support any combination of SMC1/SMC2 and
Index: hal/powerpc/quicc/current/src/quicc_smc1.c
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/hal/powerpc/quicc/current/src/quicc_smc1.c,v
retrieving revision 1.22
diff -u -5 -p -r1.22 quicc_smc1.c
--- hal/powerpc/quicc/current/src/quicc_smc1.c 25 Nov 2002 23:20:53 -0000 1.22
+++ hal/powerpc/quicc/current/src/quicc_smc1.c 26 Nov 2002 15:32:34 -0000
@@ -134,11 +134,11 @@ static struct port_info ports[] = {
/*
* Reset the communications processor
*/
-static short nextBd;
+static short nextBd = QUICC_BD_BASE + 0x400;
static void
reset_cpm(void)
{
EPPC *eppc = eppc_base();
--
------------------------------------------------------------
Gary Thomas |
eCosCentric, Ltd. |
+1 (970) 229-1963 | eCos & RedBoot experts
gthomas@ecoscentric.com |
http://www.ecoscentric.com/ |
------------------------------------------------------------