summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/unix
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-04 22:22:26 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-04 22:22:26 +0000
commitd34d8692b674a3366e3cef11a33941e8160c338d (patch)
tree2a9254debb288cf2f5d2c896c1c8cf9dd67317e1 /c/src/lib/libbsp/unix
parent2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-d34d8692b674a3366e3cef11a33941e8160c338d.tar.bz2
2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h, startup/bspstart.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/unix')
-rw-r--r--c/src/lib/libbsp/unix/posix/ChangeLog6
-rw-r--r--c/src/lib/libbsp/unix/posix/include/bsp.h11
-rw-r--r--c/src/lib/libbsp/unix/posix/startup/bspstart.c12
3 files changed, 7 insertions, 22 deletions
diff --git a/c/src/lib/libbsp/unix/posix/ChangeLog b/c/src/lib/libbsp/unix/posix/ChangeLog
index e8719aa6d7..e4bd88520b 100644
--- a/c/src/lib/libbsp/unix/posix/ChangeLog
+++ b/c/src/lib/libbsp/unix/posix/ChangeLog
@@ -1,3 +1,9 @@
+2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * include/bsp.h, startup/bspstart.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>
* startup/bspstart.c: Moved most of the remaining CPU Table fields to
diff --git a/c/src/lib/libbsp/unix/posix/include/bsp.h b/c/src/lib/libbsp/unix/posix/include/bsp.h
index 20f13586c3..4e262de946 100644
--- a/c/src/lib/libbsp/unix/posix/include/bsp.h
+++ b/c/src/lib/libbsp/unix/posix/include/bsp.h
@@ -26,15 +26,6 @@ extern "C" {
#include <rtems/console.h>
#include <rtems/iosupp.h>
-/*
- * confdefs.h overrides for this BSP:
- * - number of termios serial ports (defaults to 1)
- * - Interrupt stack space is not minimum if defined.
- */
-
-/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
-#define CONFIGURE_INTERRUPT_STACK_MEMORY (4 * 1024)
-
#define RAM_START 0
#define RAM_END 0x100000
@@ -63,8 +54,6 @@ void bsp_cleanup( void );
/* miscellaneous stuff assumed to exist */
extern rtems_configuration_table BSP_Configuration; /* owned by BSP */
-extern rtems_cpu_table Cpu_table; /* owned by BSP */
-
extern int rtems_argc;
extern char **rtems_argv;
diff --git a/c/src/lib/libbsp/unix/posix/startup/bspstart.c b/c/src/lib/libbsp/unix/posix/startup/bspstart.c
index a9923db267..977b355ef6 100644
--- a/c/src/lib/libbsp/unix/posix/startup/bspstart.c
+++ b/c/src/lib/libbsp/unix/posix/startup/bspstart.c
@@ -33,7 +33,6 @@ extern rtems_configuration_table Configuration;
rtems_configuration_table BSP_Configuration;
rtems_multiprocessing_table BSP_Multiprocessing;
-rtems_cpu_table Cpu_table;
uint32_t bsp_isr_level;
uint32_t Heap_size;
int rtems_argc;
@@ -179,12 +178,6 @@ void bsp_start(void)
BSP_Configuration.work_space_start = (void *) workspace_ptr;
/*
- * XXX; interrupt stack not currently used, so this doesn't matter
- */
-
- Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
-
- /*
* Add 1 extension for MPCI_fatal
*/
@@ -198,8 +191,5 @@ void bsp_start(void)
* main() will start the rest
*/
- bsp_isr_level = rtems_initialize_executive_early(
- &BSP_Configuration,
- &Cpu_table
- );
+ bsp_isr_level = rtems_initialize_executive_early( &BSP_Configuration );
}