changeset 438:4ad7466aa844

Fix BD allocator problem.
author gthomas
date Tue, 26 Nov 2002 15:36:55 +0000
parents 9ba3f030fd83
children 3e3067d83e1f
files packages/hal/powerpc/quicc/current/ChangeLog packages/hal/powerpc/quicc/current/src/quicc_smc1.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/hal/powerpc/quicc/current/ChangeLog
+++ b/packages/hal/powerpc/quicc/current/ChangeLog
@@ -1,5 +1,9 @@
 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>
--- a/packages/hal/powerpc/quicc/current/src/quicc_smc1.c
+++ b/packages/hal/powerpc/quicc/current/src/quicc_smc1.c
@@ -136,7 +136,7 @@ static struct port_info ports[] = {
  * Reset the communications processor
  */
 
-static short nextBd;
+static short nextBd = QUICC_BD_BASE + 0x400;
 
 static void
 reset_cpm(void)