diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-11 15:50:53 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-11 15:50:53 +0000 |
commit | 4e9893b19abbf3bd4633b3b986c011f66bcc1591 (patch) | |
tree | 4532deca8d4bc499d4c961b8a2fe5649a669fe95 /c/src/lib/libbsp/shared/bsplibc.c | |
parent | 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-4e9893b19abbf3bd4633b3b986c011f66bcc1591.tar.bz2 |
2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* bootcard.c, bsplibc.c: Eliminate copies of the Configuration Table.
Use the RTEMS provided accessor macros to obtain configuration
fields.
Diffstat (limited to 'c/src/lib/libbsp/shared/bsplibc.c')
-rw-r--r-- | c/src/lib/libbsp/shared/bsplibc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/shared/bsplibc.c b/c/src/lib/libbsp/shared/bsplibc.c index f5b4f3e68a..8bdc68f40d 100644 --- a/c/src/lib/libbsp/shared/bsplibc.c +++ b/c/src/lib/libbsp/shared/bsplibc.c @@ -9,8 +9,6 @@ #include <rtems/libio.h> #include <rtems/libcsupport.h> -extern rtems_configuration_table BSP_Configuration; - void bsp_libc_init( void *heap_start, uint32_t heap_size, @@ -31,7 +29,7 @@ void bsp_libc_init( * Set up for the libc handling. */ - if ( BSP_Configuration.ticks_per_timeslice > 0 ) + if ( rtems_configuration_get_ticks_per_timeslice() > 0 ) libc_init(1); /* reentrant if possible */ else libc_init(0); /* non-reentrant */ |