summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-04-15 20:50:31 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-04-15 20:50:31 +0000
commitbd9c3d1e76df8b4e774f50dbaf1bd5ebeeb7a154 (patch)
treea5409842b20b5263d7b14910033e728927dd4d41 /c/src/lib/libbsp/m68k
parentTransitioned to shared bsp_libc_init() and cleaned up comments. (diff)
downloadrtems-bd9c3d1e76df8b4e774f50dbaf1bd5ebeeb7a154.tar.bz2
Numerous changes which in total greatly reduced the amount of source
code in each BSP's bspstart.c. These changes were: + confdefs.h now knows libio's semaphore requirements + shared/main.c now copies Configuration to BSP_Configuration + shared/main.c fills in the Cpu_table with default values This removed the need for rtems_libio_config() and the constant BSP_LIBIO_MAX_FDS in every BSP. Plus now the maximum number of open files can now be set on the gcc command line.
Diffstat (limited to 'c/src/lib/libbsp/m68k')
-rw-r--r--c/src/lib/libbsp/m68k/dmv152/include/bsp.h6
-rw-r--r--c/src/lib/libbsp/m68k/dmv152/startup/bspstart.c23
-rw-r--r--c/src/lib/libbsp/m68k/efi332/include/bsp.h6
-rw-r--r--c/src/lib/libbsp/m68k/efi332/startup/bspstart.c23
-rw-r--r--c/src/lib/libbsp/m68k/efi68k/include/bsp.h6
-rw-r--r--c/src/lib/libbsp/m68k/efi68k/startup/bspstart.c23
-rw-r--r--c/src/lib/libbsp/m68k/gen68302/include/bsp.h6
-rw-r--r--c/src/lib/libbsp/m68k/gen68302/startup/bspstart.c32
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/include/bsp.h6
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/startup/bspstart.c30
-rw-r--r--c/src/lib/libbsp/m68k/idp/include/bsp.h6
-rw-r--r--c/src/lib/libbsp/m68k/idp/startup/bspstart.c23
-rw-r--r--c/src/lib/libbsp/m68k/mvme136/include/bsp.h6
-rw-r--r--c/src/lib/libbsp/m68k/mvme136/startup/bspstart.c22
-rw-r--r--c/src/lib/libbsp/m68k/mvme147/include/bsp.h6
-rw-r--r--c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c22
-rw-r--r--c/src/lib/libbsp/m68k/mvme147s/include/bsp.h6
-rw-r--r--c/src/lib/libbsp/m68k/mvme147s/startup/bspstart.c22
-rw-r--r--c/src/lib/libbsp/m68k/mvme162/include/bsp.h6
-rw-r--r--c/src/lib/libbsp/m68k/mvme162/startup/bspstart.c23
-rw-r--r--c/src/lib/libbsp/m68k/ods68302/include/bsp.h6
-rw-r--r--c/src/lib/libbsp/m68k/ods68302/startup/bspstart.c31
22 files changed, 1 insertions, 339 deletions
diff --git a/c/src/lib/libbsp/m68k/dmv152/include/bsp.h b/c/src/lib/libbsp/m68k/dmv152/include/bsp.h
index 746cfa812f..3553c9c0c9 100644
--- a/c/src/lib/libbsp/m68k/dmv152/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/dmv152/include/bsp.h
@@ -154,12 +154,6 @@ extern m68k_isr_entry M68Kvec[]; /* vector table address */
* NOTE: Use the standard Clock driver entry
*/
-/*
- * How many libio files we want
- */
-
-#define BSP_LIBIO_MAX_FDS 20
-
/* functions */
void bsp_cleanup( void );
diff --git a/c/src/lib/libbsp/m68k/dmv152/startup/bspstart.c b/c/src/lib/libbsp/m68k/dmv152/startup/bspstart.c
index fef39736d1..0de6b80078 100644
--- a/c/src/lib/libbsp/m68k/dmv152/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/dmv152/startup/bspstart.c
@@ -116,28 +116,13 @@ void bsp_start( void )
*/
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
-
- Cpu_table.predriver_hook = NULL;
-
Cpu_table.postdriver_hook = bsp_postdriver_hook;
-
- Cpu_table.idle_task = NULL; /* do not override system IDLE task */
-
Cpu_table.do_zero_of_workspace = TRUE;
+ Cpu_table.interrupt_stack_size = 4096;
m68k_get_vbr( vbr );
Cpu_table.interrupt_vector_table = vbr;
- Cpu_table.interrupt_stack_size = 4096;
-
- Cpu_table.extra_mpci_receive_server_stack = 0;
-
- /*
- * Copy the table
- */
-
- BSP_Configuration = Configuration;
-
BSP_Configuration.work_space_start = (void *)
(RAM_END - BSP_Configuration.work_space_size);
@@ -147,11 +132,5 @@ void bsp_start( void )
console_reserve_resources( &BSP_Configuration );
- /*
- * Tell libio how many fd's we want and allow it to tweak config
- */
-
- rtems_libio_config(&BSP_Configuration, BSP_LIBIO_MAX_FDS);
-
/* Clock_exit is done as an atexit() function */
}
diff --git a/c/src/lib/libbsp/m68k/efi332/include/bsp.h b/c/src/lib/libbsp/m68k/efi332/include/bsp.h
index b25768000a..1279d32c39 100644
--- a/c/src/lib/libbsp/m68k/efi332/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/efi332/include/bsp.h
@@ -130,12 +130,6 @@ extern int stack_start;
* NOTE: Use the standard Clock driver entry
*/
-/*
- * How many libio files we want
- */
-
-#define BSP_LIBIO_MAX_FDS 20
-
/* functions */
void bsp_cleanup( void );
diff --git a/c/src/lib/libbsp/m68k/efi332/startup/bspstart.c b/c/src/lib/libbsp/m68k/efi332/startup/bspstart.c
index c2fc402aeb..533684193c 100644
--- a/c/src/lib/libbsp/m68k/efi332/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/efi332/startup/bspstart.c
@@ -92,37 +92,14 @@ void bsp_start( void )
*/
Cpu_table.pretasking_hook = bsp_pretasking_hook;
-
- Cpu_table.predriver_hook = NULL;
-
Cpu_table.postdriver_hook = bsp_postdriver_hook;
- Cpu_table.idle_task = NULL; /* do not override system IDLE task */
-
- Cpu_table.do_zero_of_workspace = TRUE;
-
m68k_get_vbr( vbr );
Cpu_table.interrupt_vector_table = vbr;
- Cpu_table.interrupt_stack_size = 0;
-
- Cpu_table.extra_mpci_receive_server_stack = 0;
-
- /*
- * Copy the table
- */
-
- BSP_Configuration = Configuration;
-
BSP_Configuration.work_space_start = (void *)
(((unsigned int)_end + STACK_SIZE + 0x100) & 0xffffff00);
- /*
- * Tell libio how many fd's we want and allow it to tweak config
- */
-
- rtems_libio_config(&BSP_Configuration, BSP_LIBIO_MAX_FDS);
-
/* Clock_exit is done as an atexit() function */
}
diff --git a/c/src/lib/libbsp/m68k/efi68k/include/bsp.h b/c/src/lib/libbsp/m68k/efi68k/include/bsp.h
index 91d36ac465..de2ea0461b 100644
--- a/c/src/lib/libbsp/m68k/efi68k/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/efi68k/include/bsp.h
@@ -132,12 +132,6 @@ extern rtems_unsigned32 Timer_interrupts;
* NOTE: Use the standard Clock driver entry
*/
-/*
- * How many libio files we want
- */
-
-#define BSP_LIBIO_MAX_FDS 20
-
/* functions */
void bsp_cleanup( void );
diff --git a/c/src/lib/libbsp/m68k/efi68k/startup/bspstart.c b/c/src/lib/libbsp/m68k/efi68k/startup/bspstart.c
index 8c382683b5..4b89a87499 100644
--- a/c/src/lib/libbsp/m68k/efi68k/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/efi68k/startup/bspstart.c
@@ -100,37 +100,14 @@ void bsp_start( void )
*/
Cpu_table.pretasking_hook = bsp_pretasking_hook;
-
- Cpu_table.predriver_hook = NULL;
-
Cpu_table.postdriver_hook = bsp_postdriver_hook;
- Cpu_table.idle_task = NULL; /* do not override system IDLE task */
-
- Cpu_table.do_zero_of_workspace = TRUE;
-
m68k_get_vbr( vbr );
Cpu_table.interrupt_vector_table = vbr;
- Cpu_table.interrupt_stack_size = 0;
-
- Cpu_table.extra_mpci_receive_server_stack = 0;
-
- /*
- * Copy the table
- */
-
- BSP_Configuration = Configuration;
-
BSP_Configuration.work_space_start = (void *)
(((unsigned int)_end + STACK_SIZE + 0x100) & 0xffffff00);
- /*
- * Tell libio how many fd's we want and allow it to tweak config
- */
-
- rtems_libio_config(&BSP_Configuration, BSP_LIBIO_MAX_FDS);
-
/* Clock_exit is done as an atexit() function */
}
diff --git a/c/src/lib/libbsp/m68k/gen68302/include/bsp.h b/c/src/lib/libbsp/m68k/gen68302/include/bsp.h
index 1f52cc01cc..8c97c0891a 100644
--- a/c/src/lib/libbsp/m68k/gen68302/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/gen68302/include/bsp.h
@@ -95,12 +95,6 @@ extern "C" {
* NOTE: Use the standard Clock driver entry
*/
-/*
- * How many libio files we want
- */
-
-#define BSP_LIBIO_MAX_FDS 20
-
/* miscellaneous stuff assumed to exist */
extern rtems_configuration_table BSP_Configuration;
diff --git a/c/src/lib/libbsp/m68k/gen68302/startup/bspstart.c b/c/src/lib/libbsp/m68k/gen68302/startup/bspstart.c
index ddf6cde530..aa71c6faab 100644
--- a/c/src/lib/libbsp/m68k/gen68302/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/gen68302/startup/bspstart.c
@@ -92,19 +92,6 @@ void bsp_start( void )
Cpu_table.interrupt_vector_table = (mc68000_isr *) 0/*&M68Kvec*/;
#endif
-
- /*
- * Copy the Configuration Table .. so we can change it
- */
-
- BSP_Configuration = Configuration;
-
- /*
- * Tell libio how many fd's we want and allow it to tweak config
- */
-
- rtems_libio_config(&BSP_Configuration, BSP_LIBIO_MAX_FDS);
-
/*
* Need to "allocate" the memory for the RTEMS Workspace and
* tell the RTEMS configuration where it is. This memory is
@@ -118,26 +105,7 @@ void bsp_start( void )
* initialize the CPU table for this BSP
*/
- /*
- * we do not use the pretasking_hook
- */
-
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
-
- Cpu_table.predriver_hook = NULL;
-
Cpu_table.postdriver_hook = bsp_postdriver_hook;
-
- Cpu_table.idle_task = NULL; /* do not override system IDLE task */
-
- Cpu_table.do_zero_of_workspace = TRUE;
-
Cpu_table.interrupt_stack_size = 4096;
-
- Cpu_table.extra_mpci_receive_server_stack = 0;
-
- /*
- * Don't forget the other CPU Table entries.
- */
-
}
diff --git a/c/src/lib/libbsp/m68k/gen68360/include/bsp.h b/c/src/lib/libbsp/m68k/gen68360/include/bsp.h
index 7bc9cf164d..a52dc1e69c 100644
--- a/c/src/lib/libbsp/m68k/gen68360/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/gen68360/include/bsp.h
@@ -94,12 +94,6 @@ extern "C" {
* NOTE: Use the standard Clock driver entry
*/
-/*
- * How many libio files we want
- */
-
-#define BSP_LIBIO_MAX_FDS 20
-
/* miscellaneous stuff assumed to exist */
extern rtems_configuration_table BSP_Configuration;
diff --git a/c/src/lib/libbsp/m68k/gen68360/startup/bspstart.c b/c/src/lib/libbsp/m68k/gen68360/startup/bspstart.c
index 3a693e1fe5..8ccbd4b78c 100644
--- a/c/src/lib/libbsp/m68k/gen68360/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/gen68360/startup/bspstart.c
@@ -88,19 +88,6 @@ void bsp_start( void )
Cpu_table.interrupt_vector_table = (mc68000_isr *) 0/*&M68Kvec*/;
#endif
-
- /*
- * Copy the Configuration Table .. so we can change it
- */
-
- BSP_Configuration = Configuration;
-
- /*
- * Tell libio how many fd's we want and allow it to tweak config
- */
-
- rtems_libio_config(&BSP_Configuration, BSP_LIBIO_MAX_FDS);
-
/*
* Need to "allocate" the memory for the RTEMS Workspace and
* tell the RTEMS configuration where it is. This memory is
@@ -113,25 +100,8 @@ void bsp_start( void )
* initialize the CPU table for this BSP
*/
- /*
- * we do not use the pretasking_hook
- */
-
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
-
- Cpu_table.predriver_hook = NULL;
-
Cpu_table.postdriver_hook = bsp_postdriver_hook;
-
- Cpu_table.idle_task = NULL; /* do not override system IDLE task */
-
Cpu_table.do_zero_of_workspace = TRUE;
-
Cpu_table.interrupt_stack_size = 4096;
-
- Cpu_table.extra_mpci_receive_server_stack = 0;
-
- /*
- * Don't forget the other CPU Table entries.
- */
}
diff --git a/c/src/lib/libbsp/m68k/idp/include/bsp.h b/c/src/lib/libbsp/m68k/idp/include/bsp.h
index f58ea8fa17..25dcfd5def 100644
--- a/c/src/lib/libbsp/m68k/idp/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/idp/include/bsp.h
@@ -67,12 +67,6 @@
* NOTE: Use the standard Clock driver entry
*/
-/*
- * How many libio files we want
- */
-
-#define BSP_LIBIO_MAX_FDS 20
-
/* miscellaneous stuff assumed to exist */
extern rtems_configuration_table BSP_Configuration;
diff --git a/c/src/lib/libbsp/m68k/idp/startup/bspstart.c b/c/src/lib/libbsp/m68k/idp/startup/bspstart.c
index 8bd79b215e..858de3fbfb 100644
--- a/c/src/lib/libbsp/m68k/idp/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/idp/startup/bspstart.c
@@ -123,36 +123,13 @@ void bsp_start( void )
*/
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
-
- Cpu_table.predriver_hook = NULL;
-
Cpu_table.postdriver_hook = bsp_postdriver_hook;
-
- Cpu_table.idle_task = NULL; /* do not override system IDLE task */
-
- Cpu_table.do_zero_of_workspace = TRUE;
-
Cpu_table.interrupt_vector_table = (m68k_isr_entry *) &M68Kvec;
-
Cpu_table.interrupt_stack_size = 4096;
- Cpu_table.extra_mpci_receive_server_stack = 0;
-
- /*
- * Copy the table
- */
-
- BSP_Configuration = Configuration;
-
BSP_Configuration.work_space_start = (void *)
(RAM_END - BSP_Configuration.work_space_size);
- /*
- * Tell libio how many fd's we want and allow it to tweak config
- */
-
- rtems_libio_config(&BSP_Configuration, BSP_LIBIO_MAX_FDS);
-
/* led_putnum('e'); * for debugging purposes only */
/* Clock_exit is done as an atexit() function */
diff --git a/c/src/lib/libbsp/m68k/mvme136/include/bsp.h b/c/src/lib/libbsp/m68k/mvme136/include/bsp.h
index 148bd79264..e88bf90c4c 100644
--- a/c/src/lib/libbsp/m68k/mvme136/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/mvme136/include/bsp.h
@@ -138,12 +138,6 @@ extern m68k_isr_entry M68Kvec[]; /* vector table address */
* NOTE: Use the standard Clock driver entry
*/
-/*
- * How many libio files we want
- */
-
-#define BSP_LIBIO_MAX_FDS 20
-
/* functions */
void bsp_cleanup( void );
diff --git a/c/src/lib/libbsp/m68k/mvme136/startup/bspstart.c b/c/src/lib/libbsp/m68k/mvme136/startup/bspstart.c
index 916aa3accd..b7890f4598 100644
--- a/c/src/lib/libbsp/m68k/mvme136/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/mvme136/startup/bspstart.c
@@ -106,33 +106,11 @@ void bsp_start( void )
*/
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
-
- Cpu_table.predriver_hook = NULL;
-
Cpu_table.postdriver_hook = bsp_postdriver_hook;
-
- Cpu_table.idle_task = NULL; /* do not override system IDLE task */
-
- Cpu_table.do_zero_of_workspace = TRUE;
-
Cpu_table.interrupt_vector_table = (m68k_isr_entry *) &M68Kvec;
-
Cpu_table.interrupt_stack_size = 4096;
- Cpu_table.extra_mpci_receive_server_stack = 0;
-
- /*
- * Copy the table
- */
-
- BSP_Configuration = Configuration;
-
BSP_Configuration.work_space_start = (void *)
(RAM_END - BSP_Configuration.work_space_size);
- /*
- * Tell libio how many fd's we want and allow it to tweak config
- */
-
- rtems_libio_config(&BSP_Configuration, BSP_LIBIO_MAX_FDS);
}
diff --git a/c/src/lib/libbsp/m68k/mvme147/include/bsp.h b/c/src/lib/libbsp/m68k/mvme147/include/bsp.h
index d0de0890a9..3868406a97 100644
--- a/c/src/lib/libbsp/m68k/mvme147/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/mvme147/include/bsp.h
@@ -164,12 +164,6 @@ extern m68k_isr_entry M68Kvec[]; /* vector table address */
* NOTE: Use the standard Clock driver entry
*/
-/*
- * How many libio files we want
- */
-
-#define BSP_LIBIO_MAX_FDS 20
-
/* functions */
void bsp_cleanup( void );
diff --git a/c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c b/c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c
index 47644874ae..2fd917d6f0 100644
--- a/c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c
@@ -112,33 +112,11 @@ void bsp_start( void )
*/
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
-
- Cpu_table.predriver_hook = NULL;
-
Cpu_table.postdriver_hook = bsp_postdriver_hook;
-
- Cpu_table.idle_task = NULL; /* do not override system IDLE task */
-
- Cpu_table.do_zero_of_workspace = TRUE;
-
Cpu_table.interrupt_vector_table = (m68k_isr_entry *) &M68Kvec;
-
Cpu_table.interrupt_stack_size = 4096;
- Cpu_table.extra_mpci_receive_server_stack = 0;
-
- /*
- * Copy the table
- */
-
- BSP_Configuration = Configuration;
-
BSP_Configuration.work_space_start = (void *)
(RAM_END - BSP_Configuration.work_space_size);
- /*
- * Tell libio how many fd's we want and allow it to tweak config
- */
-
- rtems_libio_config(&BSP_Configuration, BSP_LIBIO_MAX_FDS);
}
diff --git a/c/src/lib/libbsp/m68k/mvme147s/include/bsp.h b/c/src/lib/libbsp/m68k/mvme147s/include/bsp.h
index 8eea282cdb..be58a3c445 100644
--- a/c/src/lib/libbsp/m68k/mvme147s/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/mvme147s/include/bsp.h
@@ -228,12 +228,6 @@ extern m68k_isr_entry M68Kvec[]; /* vector table address */
* NOTE: Use the standard Clock driver entry
*/
-/*
- * How many libio files we want
- */
-
-#define BSP_LIBIO_MAX_FDS 20
-
/* functions */
void bsp_cleanup( void );
diff --git a/c/src/lib/libbsp/m68k/mvme147s/startup/bspstart.c b/c/src/lib/libbsp/m68k/mvme147s/startup/bspstart.c
index 2e61a621c0..85e6d8fb2a 100644
--- a/c/src/lib/libbsp/m68k/mvme147s/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/mvme147s/startup/bspstart.c
@@ -171,33 +171,11 @@ void bsp_start( void )
*/
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
-
- Cpu_table.predriver_hook = NULL;
-
Cpu_table.postdriver_hook = bsp_postdriver_hook;
-
- Cpu_table.idle_task = NULL; /* do not override system IDLE task */
-
- Cpu_table.do_zero_of_workspace = TRUE;
-
Cpu_table.interrupt_vector_table = (m68k_isr_entry *) &M68Kvec;
-
Cpu_table.interrupt_stack_size = 4096;
- Cpu_table.extra_mpci_receive_server_stack = 0;
-
- /*
- * Copy the table
- */
-
- BSP_Configuration = Configuration;
-
BSP_Configuration.work_space_start = (void *)
(RAM_END - BSP_Configuration.work_space_size);
- /*
- * Tell libio how many fd's we want and allow it to tweak config
- */
-
- rtems_libio_config(&BSP_Configuration, BSP_LIBIO_MAX_FDS);
}
diff --git a/c/src/lib/libbsp/m68k/mvme162/include/bsp.h b/c/src/lib/libbsp/m68k/mvme162/include/bsp.h
index 3c5bb7d1d3..b362a2b94c 100644
--- a/c/src/lib/libbsp/m68k/mvme162/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/mvme162/include/bsp.h
@@ -270,12 +270,6 @@ typedef volatile struct gcsr_regs {
* NOTE: Use the standard Clock driver entry
*/
-/*
- * How many libio files we want
- */
-
-#define BSP_LIBIO_MAX_FDS 20
-
/* miscellaneous stuff assumed to exist */
extern rtems_configuration_table BSP_Configuration;
diff --git a/c/src/lib/libbsp/m68k/mvme162/startup/bspstart.c b/c/src/lib/libbsp/m68k/mvme162/startup/bspstart.c
index 1e304b1a1d..4c5c359ebb 100644
--- a/c/src/lib/libbsp/m68k/mvme162/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/mvme162/startup/bspstart.c
@@ -129,33 +129,10 @@ void bsp_start( void )
*/
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
-
- Cpu_table.predriver_hook = NULL;
-
Cpu_table.postdriver_hook = bsp_postdriver_hook;
-
- Cpu_table.idle_task = NULL; /* do not override system IDLE task */
-
- Cpu_table.do_zero_of_workspace = TRUE;
-
Cpu_table.interrupt_vector_table = (m68k_isr_entry *) &M68Kvec;
-
Cpu_table.interrupt_stack_size = 4096;
- Cpu_table.extra_mpci_receive_server_stack = 0;
-
- /*
- * Copy the table
- */
-
- BSP_Configuration = Configuration;
-
- /*
- * Tell libio how many fd's we want and allow it to tweak config
- */
-
- rtems_libio_config(&BSP_Configuration, BSP_LIBIO_MAX_FDS);
-
BSP_Configuration.work_space_start = (void *)
(RAM_END - BSP_Configuration.work_space_size);
}
diff --git a/c/src/lib/libbsp/m68k/ods68302/include/bsp.h b/c/src/lib/libbsp/m68k/ods68302/include/bsp.h
index 6c11ced33a..11b9f4cbd7 100644
--- a/c/src/lib/libbsp/m68k/ods68302/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/ods68302/include/bsp.h
@@ -109,12 +109,6 @@ extern "C" {
* NOTE: Use the standard Clock driver entry
*/
-/*
- * How many libio files we want
- */
-
-#define BSP_LIBIO_MAX_FDS 20
-
/* miscellaneous stuff assumed to exist */
extern rtems_configuration_table BSP_Configuration;
diff --git a/c/src/lib/libbsp/m68k/ods68302/startup/bspstart.c b/c/src/lib/libbsp/m68k/ods68302/startup/bspstart.c
index 4b25d1bc96..a1f9e1dc3c 100644
--- a/c/src/lib/libbsp/m68k/ods68302/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/ods68302/startup/bspstart.c
@@ -91,19 +91,6 @@ void bsp_start( void )
Cpu_table.interrupt_vector_table = (mc68000_isr *) 0/*&M68Kvec*/;
#endif
-
- /*
- * Copy the Configuration Table .. so we can change it
- */
-
- BSP_Configuration = Configuration;
-
- /*
- * Tell libio how many fd's we want and allow it to tweak config
- */
-
- rtems_libio_config(&BSP_Configuration, BSP_LIBIO_MAX_FDS);
-
/*
* Need to "allocate" the memory for the RTEMS Workspace and
* tell the RTEMS configuration where it is. This memory is
@@ -117,25 +104,7 @@ void bsp_start( void )
* initialize the CPU table for this BSP
*/
- /*
- * we do not use the pretasking_hook
- */
-
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
-
- Cpu_table.predriver_hook = NULL;
-
Cpu_table.postdriver_hook = bsp_postdriver_hook;
-
- Cpu_table.idle_task = NULL; /* do not override system IDLE task */
-
- Cpu_table.do_zero_of_workspace = TRUE;
-
Cpu_table.interrupt_stack_size = 4096;
-
- Cpu_table.extra_mpci_receive_server_stack = 0;
-
- /*
- * Don't forget the other CPU Table entries.
- */
}