[rtems commit] sapi: Use rtems_configuration_get_work_space_size

Sebastian Huber sebh at rtems.org
Wed Nov 7 14:07:17 UTC 2012


Module:    rtems
Branch:    master
Commit:    c4794975e94d0a947328fd80d2cd44069f2e92e8
Changeset: http://git.rtems.org/rtems/commit/?id=c4794975e94d0a947328fd80d2cd44069f2e92e8

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Nov  6 12:01:19 2012 +0100

sapi: Use rtems_configuration_get_work_space_size

---

 .../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




More information about the vc mailing list