diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-04 22:22:58 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-04 22:22:58 +0000 |
commit | 99f9b868c7d25b709d08fb58c413db459336070b (patch) | |
tree | f77b02ecbcfae829a761649530583d2c5403f194 /c/src/lib/libbsp | |
parent | 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-99f9b868c7d25b709d08fb58c413db459336070b.tar.bz2 |
2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* bootcard.c: Move interrupt_stack_size field from CPU Table to
Configuration Table. Eliminate CPU Table from all ports. Delete
references to CPU Table in all forms.
Diffstat (limited to 'c/src/lib/libbsp')
-rw-r--r-- | c/src/lib/libbsp/shared/ChangeLog | 6 | ||||
-rw-r--r-- | c/src/lib/libbsp/shared/bootcard.c | 13 |
2 files changed, 7 insertions, 12 deletions
diff --git a/c/src/lib/libbsp/shared/ChangeLog b/c/src/lib/libbsp/shared/ChangeLog index 74a2ecb58b..d9cd111ef5 100644 --- a/c/src/lib/libbsp/shared/ChangeLog +++ b/c/src/lib/libbsp/shared/ChangeLog @@ -1,3 +1,9 @@ +2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com> + + * bootcard.c: Move interrupt_stack_size field from CPU Table to + Configuration Table. Eliminate CPU Table from all ports. Delete + references to CPU Table in all forms. + 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com> * bsppredriverhook.c: New file. diff --git a/c/src/lib/libbsp/shared/bootcard.c b/c/src/lib/libbsp/shared/bootcard.c index 5685cbaffd..23086106dd 100644 --- a/c/src/lib/libbsp/shared/bootcard.c +++ b/c/src/lib/libbsp/shared/bootcard.c @@ -38,8 +38,6 @@ extern void bsp_cleanup( void ); extern rtems_configuration_table Configuration; extern rtems_configuration_table BSP_Configuration; -extern rtems_cpu_table Cpu_table; - rtems_api_configuration_table BSP_RTEMS_Configuration; #ifdef RTEMS_POSIX_API @@ -75,14 +73,6 @@ int boot_card(int argc, char **argv, char **envp) envp_p = envp; /* - * Set default values for the CPU Table fields all ports must have. - * These values can be overridden in bsp_start() but they are - * right most of the time. - */ - - Cpu_table.interrupt_stack_size = RTEMS_MINIMUM_STACK_SIZE; - - /* * Copy the configuration table so we and the BSP wants to change it. */ @@ -106,8 +96,7 @@ int boot_card(int argc, char **argv, char **envp) * Initialize RTEMS but do NOT start multitasking. */ - bsp_isr_level = - rtems_initialize_executive_early( &BSP_Configuration, &Cpu_table ); + bsp_isr_level = rtems_initialize_executive_early( &BSP_Configuration ); /* * Call c_rtems_main() and eventually let the first task or the real |