summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/mips
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-05-15 15:55:28 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-05-15 15:55:28 +0000
commitdde1fedb0930f0c9ef02f7d76fdb086f3b22bd4a (patch)
tree8c58dab3ed7b9cf33cf720006ff0963dd9c3c151 /c/src/lib/libbsp/mips
parent2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-dde1fedb0930f0c9ef02f7d76fdb086f3b22bd4a.tar.bz2
2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: Add capability for bootcard.c BSP Initialization Framework to ask the BSP where it has memory for the RTEMS Workspace and C Program Heap. These collectively are referred to as work area. If the BSP supports this, then it does not have to include code to split the available memory between the two areas. This reduces the amount of code in the BSP specific bspstart.c file. Additionally, the shared framework can initialize the C Library, call rtems_debug_enable(), and dirty the work area memory. Until most/all BSPs support this new capability, if the BSP supports this, it should call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac. When the transition is complete, this autoconf macro can be removed.
Diffstat (limited to 'c/src/lib/libbsp/mips')
-rw-r--r--c/src/lib/libbsp/mips/csb350/ChangeLog14
-rw-r--r--c/src/lib/libbsp/mips/csb350/startup/bspstart.c5
-rw-r--r--c/src/lib/libbsp/mips/genmongoosev/ChangeLog14
-rw-r--r--c/src/lib/libbsp/mips/genmongoosev/startup/bspstart.c5
-rw-r--r--c/src/lib/libbsp/mips/hurricane/ChangeLog14
-rw-r--r--c/src/lib/libbsp/mips/hurricane/startup/bspstart.c4
-rw-r--r--c/src/lib/libbsp/mips/rbtx4925/ChangeLog14
-rw-r--r--c/src/lib/libbsp/mips/rbtx4925/startup/bspstart.c5
-rw-r--r--c/src/lib/libbsp/mips/rbtx4938/ChangeLog14
-rw-r--r--c/src/lib/libbsp/mips/rbtx4938/startup/bspstart.c5
10 files changed, 70 insertions, 24 deletions
diff --git a/c/src/lib/libbsp/mips/csb350/ChangeLog b/c/src/lib/libbsp/mips/csb350/ChangeLog
index a8cac788bc..c44ead42ff 100644
--- a/c/src/lib/libbsp/mips/csb350/ChangeLog
+++ b/c/src/lib/libbsp/mips/csb350/ChangeLog
@@ -1,3 +1,17 @@
+2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * startup/bspstart.c: Add capability for bootcard.c BSP Initialization
+ Framework to ask the BSP where it has memory for the RTEMS Workspace
+ and C Program Heap. These collectively are referred to as work area.
+ If the BSP supports this, then it does not have to include code to
+ split the available memory between the two areas. This reduces the
+ amount of code in the BSP specific bspstart.c file. Additionally, the
+ shared framework can initialize the C Library, call
+ rtems_debug_enable(), and dirty the work area memory. Until most/all
+ BSPs support this new capability, if the BSP supports this, it should
+ call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac.
+ When the transition is complete, this autoconf macro can be removed.
+
2008-05-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Rework to avoid .rel files.
diff --git a/c/src/lib/libbsp/mips/csb350/startup/bspstart.c b/c/src/lib/libbsp/mips/csb350/startup/bspstart.c
index 6d0ca0644b..b1c3f25c7d 100644
--- a/c/src/lib/libbsp/mips/csb350/startup/bspstart.c
+++ b/c/src/lib/libbsp/mips/csb350/startup/bspstart.c
@@ -69,11 +69,6 @@ void bsp_pretasking_hook(void)
/* call rtems lib init - malloc stuff */
bsp_libc_init((void *)heap_start, heap_size, 0);
-
-#ifdef RTEMS_DEBUG
- rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
-#endif
-
}
/*
diff --git a/c/src/lib/libbsp/mips/genmongoosev/ChangeLog b/c/src/lib/libbsp/mips/genmongoosev/ChangeLog
index fa791a6f9e..c5d176402d 100644
--- a/c/src/lib/libbsp/mips/genmongoosev/ChangeLog
+++ b/c/src/lib/libbsp/mips/genmongoosev/ChangeLog
@@ -1,3 +1,17 @@
+2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * startup/bspstart.c: Add capability for bootcard.c BSP Initialization
+ Framework to ask the BSP where it has memory for the RTEMS Workspace
+ and C Program Heap. These collectively are referred to as work area.
+ If the BSP supports this, then it does not have to include code to
+ split the available memory between the two areas. This reduces the
+ amount of code in the BSP specific bspstart.c file. Additionally, the
+ shared framework can initialize the C Library, call
+ rtems_debug_enable(), and dirty the work area memory. Until most/all
+ BSPs support this new capability, if the BSP supports this, it should
+ call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac.
+ When the transition is complete, this autoconf macro can be removed.
+
2008-05-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Rework to avoid .rel files.
diff --git a/c/src/lib/libbsp/mips/genmongoosev/startup/bspstart.c b/c/src/lib/libbsp/mips/genmongoosev/startup/bspstart.c
index ec9d48bf10..f2aa325754 100644
--- a/c/src/lib/libbsp/mips/genmongoosev/startup/bspstart.c
+++ b/c/src/lib/libbsp/mips/genmongoosev/startup/bspstart.c
@@ -53,11 +53,6 @@ void bsp_pretasking_hook(void)
unsigned long heapSize = (unsigned long)&HeapSize;
bsp_libc_init(heapStart, (uint32_t) heapSize, 0);
-
-#ifdef RTEMS_DEBUG
- rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
-#endif
-
}
/*
diff --git a/c/src/lib/libbsp/mips/hurricane/ChangeLog b/c/src/lib/libbsp/mips/hurricane/ChangeLog
index 025a9cde01..152a901728 100644
--- a/c/src/lib/libbsp/mips/hurricane/ChangeLog
+++ b/c/src/lib/libbsp/mips/hurricane/ChangeLog
@@ -1,3 +1,17 @@
+2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * startup/bspstart.c: Add capability for bootcard.c BSP Initialization
+ Framework to ask the BSP where it has memory for the RTEMS Workspace
+ and C Program Heap. These collectively are referred to as work area.
+ If the BSP supports this, then it does not have to include code to
+ split the available memory between the two areas. This reduces the
+ amount of code in the BSP specific bspstart.c file. Additionally, the
+ shared framework can initialize the C Library, call
+ rtems_debug_enable(), and dirty the work area memory. Until most/all
+ BSPs support this new capability, if the BSP supports this, it should
+ call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac.
+ When the transition is complete, this autoconf macro can be removed.
+
2008-05-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Rework to avoid .rel files.
diff --git a/c/src/lib/libbsp/mips/hurricane/startup/bspstart.c b/c/src/lib/libbsp/mips/hurricane/startup/bspstart.c
index de8df883d1..ac61c2c0f8 100644
--- a/c/src/lib/libbsp/mips/hurricane/startup/bspstart.c
+++ b/c/src/lib/libbsp/mips/hurricane/startup/bspstart.c
@@ -56,10 +56,6 @@ void bsp_pretasking_hook(void)
heap_start = (heap_start + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1);
bsp_libc_init((void *) heap_start, LIBC_HEAP_SIZE, 0);
-
-#ifdef RTEMS_DEBUG
- rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
-#endif
}
extern int end; /* defined by linker */
diff --git a/c/src/lib/libbsp/mips/rbtx4925/ChangeLog b/c/src/lib/libbsp/mips/rbtx4925/ChangeLog
index 24d4f3c485..356f70bf25 100644
--- a/c/src/lib/libbsp/mips/rbtx4925/ChangeLog
+++ b/c/src/lib/libbsp/mips/rbtx4925/ChangeLog
@@ -1,3 +1,17 @@
+2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * startup/bspstart.c: Add capability for bootcard.c BSP Initialization
+ Framework to ask the BSP where it has memory for the RTEMS Workspace
+ and C Program Heap. These collectively are referred to as work area.
+ If the BSP supports this, then it does not have to include code to
+ split the available memory between the two areas. This reduces the
+ amount of code in the BSP specific bspstart.c file. Additionally, the
+ shared framework can initialize the C Library, call
+ rtems_debug_enable(), and dirty the work area memory. Until most/all
+ BSPs support this new capability, if the BSP supports this, it should
+ call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac.
+ When the transition is complete, this autoconf macro can be removed.
+
2008-05-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Rework to avoid .rel files.
diff --git a/c/src/lib/libbsp/mips/rbtx4925/startup/bspstart.c b/c/src/lib/libbsp/mips/rbtx4925/startup/bspstart.c
index 0bb78d79e4..78447b3c64 100644
--- a/c/src/lib/libbsp/mips/rbtx4925/startup/bspstart.c
+++ b/c/src/lib/libbsp/mips/rbtx4925/startup/bspstart.c
@@ -55,11 +55,6 @@ void bsp_pretasking_hook(void)
heap_start = (heap_start + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1);
bsp_libc_init((void *) heap_start, LIBC_HEAP_SIZE, 0);
-
-#ifdef RTEMS_DEBUG
- rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
-#endif
-
}
/*
diff --git a/c/src/lib/libbsp/mips/rbtx4938/ChangeLog b/c/src/lib/libbsp/mips/rbtx4938/ChangeLog
index 0a29736291..b5f5e83dad 100644
--- a/c/src/lib/libbsp/mips/rbtx4938/ChangeLog
+++ b/c/src/lib/libbsp/mips/rbtx4938/ChangeLog
@@ -1,3 +1,17 @@
+2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * startup/bspstart.c: Add capability for bootcard.c BSP Initialization
+ Framework to ask the BSP where it has memory for the RTEMS Workspace
+ and C Program Heap. These collectively are referred to as work area.
+ If the BSP supports this, then it does not have to include code to
+ split the available memory between the two areas. This reduces the
+ amount of code in the BSP specific bspstart.c file. Additionally, the
+ shared framework can initialize the C Library, call
+ rtems_debug_enable(), and dirty the work area memory. Until most/all
+ BSPs support this new capability, if the BSP supports this, it should
+ call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac.
+ When the transition is complete, this autoconf macro can be removed.
+
2008-05-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Rework to avoid .rel files.
diff --git a/c/src/lib/libbsp/mips/rbtx4938/startup/bspstart.c b/c/src/lib/libbsp/mips/rbtx4938/startup/bspstart.c
index 0bb78d79e4..78447b3c64 100644
--- a/c/src/lib/libbsp/mips/rbtx4938/startup/bspstart.c
+++ b/c/src/lib/libbsp/mips/rbtx4938/startup/bspstart.c
@@ -55,11 +55,6 @@ void bsp_pretasking_hook(void)
heap_start = (heap_start + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1);
bsp_libc_init((void *) heap_start, LIBC_HEAP_SIZE, 0);
-
-#ifdef RTEMS_DEBUG
- rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
-#endif
-
}
/*