summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i386/pc386
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/i386/pc386
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/i386/pc386')
-rw-r--r--c/src/lib/libbsp/i386/pc386/ChangeLog6
-rw-r--r--c/src/lib/libbsp/i386/pc386/include/bsp.h6
-rw-r--r--c/src/lib/libbsp/i386/pc386/startup/bspstart.c3
3 files changed, 6 insertions, 9 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/ChangeLog b/c/src/lib/libbsp/i386/pc386/ChangeLog
index 65327f640f..c4999b82a3 100644
--- a/c/src/lib/libbsp/i386/pc386/ChangeLog
+++ b/c/src/lib/libbsp/i386/pc386/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>
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
diff --git a/c/src/lib/libbsp/i386/pc386/include/bsp.h b/c/src/lib/libbsp/i386/pc386/include/bsp.h
index 216f445ae6..bd0f3551e8 100644
--- a/c/src/lib/libbsp/i386/pc386/include/bsp.h
+++ b/c/src/lib/libbsp/i386/pc386/include/bsp.h
@@ -62,12 +62,6 @@ extern "C" {
#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 1
-#if STACK_MINIMUM_SIZE < (4 * 1024)
-#define CONFIGURE_INTERRUPT_STACK_MEMORY (4 * 1024)
-#else
-#define CONFIGURE_INTERRUPT_STACK_MEMORY STACK_MINIMUM_SIZE
-#endif
-
/*
* Network driver configuration
*/
diff --git a/c/src/lib/libbsp/i386/pc386/startup/bspstart.c b/c/src/lib/libbsp/i386/pc386/startup/bspstart.c
index fe57d0d6f4..15dce5d31b 100644
--- a/c/src/lib/libbsp/i386/pc386/startup/bspstart.c
+++ b/c/src/lib/libbsp/i386/pc386/startup/bspstart.c
@@ -76,7 +76,6 @@ uint32_t rtemsFreeMemStart;
extern rtems_configuration_table Configuration;
rtems_configuration_table BSP_Configuration;
-rtems_cpu_table Cpu_table; /* CPU configuration table. */
char *rtems_progname; /* Program name - from main(). */
/*-------------------------------------------------------------------------+
@@ -180,8 +179,6 @@ void bsp_start_default( void )
/* set the value of start of free memory. */
rtemsFreeMemStart = (uint32_t)&_end + _stack_size;
- Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
-
/* Place RTEMS workspace at beginning of free memory. */
if (rtemsFreeMemStart & (CPU_ALIGNMENT - 1)) /* not aligned => align it */