summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/leon2/include/bsp.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-12-09 08:05:57 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-12-10 08:32:36 +0100
commit37030e38c61c0d0a8b0742af75f115bda779c46d (patch)
treed71cd94cf9d534fd606fffd50a0f3256cc822be9 /c/src/lib/libbsp/sparc/leon2/include/bsp.h
parentbsps/sparc: Use default bsp_pretasking_hook() (diff)
downloadrtems-37030e38.tar.bz2
bsps: Call bsp_work_area_initialize() early
Call bsp_work_area_initialize() before bsp_start(). This allows bsp_start() to use malloc() etc. which is beneficial for systems with a plug-and-play hardware enumeration. Update #2408.
Diffstat (limited to 'c/src/lib/libbsp/sparc/leon2/include/bsp.h')
-rw-r--r--c/src/lib/libbsp/sparc/leon2/include/bsp.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/c/src/lib/libbsp/sparc/leon2/include/bsp.h b/c/src/lib/libbsp/sparc/leon2/include/bsp.h
index 09cf7f702a..acc310a6e1 100644
--- a/c/src/lib/libbsp/sparc/leon2/include/bsp.h
+++ b/c/src/lib/libbsp/sparc/leon2/include/bsp.h
@@ -117,13 +117,6 @@ void BSP_fatal_exit(uint32_t error);
void bsp_spurious_initialize( void );
-/* Allocate 8-byte aligned non-freeable pre-malloc() memory. The function
- * can be called at any time. The work-area will shrink when called before
- * bsp_work_area_initialize(). malloc() is called to get memory when this
- * function is called after bsp_work_area_initialize().
- */
-void *bsp_early_malloc(int size);
-
/* Interrupt Service Routine (ISR) pointer */
typedef void (*bsp_shared_isr)(void *arg);