[PATCH 15/23] sapi: Use rtems_configuration_get_work_space_size

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Nov 6 12:56:37 UTC 2012


---
 .../lib/libbsp/powerpc/beatnik/startup/bspstart.c  |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.c b/c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.c
index c558eef..feda093 100644
--- a/c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.c
@@ -350,7 +350,10 @@ void bsp_start( void )
   bsp_clicks_per_usec = BSP_bus_frequency/(BSP_time_base_divisor * 1000);
 
 #ifdef SHOW_MORE_INIT_SETTINGS
-  printk("Configuration.work_space_size = %x\n", Configuration.work_space_size); 
+  printk(
+    "Configuration.work_space_size = %x\n",
+    rtems_configuration_get_work_space_size()
+  );
 #endif
 
   /* Activate the page table mappings only after
-- 
1.7.7




More information about the devel mailing list