diff options
Diffstat (limited to 'c/src/lib/libbsp/mips64orion/p4000')
-rw-r--r-- | c/src/lib/libbsp/mips64orion/p4000/include/bsp.h | 6 | ||||
-rw-r--r-- | c/src/lib/libbsp/mips64orion/p4000/startup/bspstart.c | 34 |
2 files changed, 2 insertions, 38 deletions
diff --git a/c/src/lib/libbsp/mips64orion/p4000/include/bsp.h b/c/src/lib/libbsp/mips64orion/p4000/include/bsp.h index d6dcc834f6..da700b8dba 100644 --- a/c/src/lib/libbsp/mips64orion/p4000/include/bsp.h +++ b/c/src/lib/libbsp/mips64orion/p4000/include/bsp.h @@ -102,12 +102,6 @@ extern rtems_configuration_table BSP_Configuration; * NOTE: Use the standard Clock driver entry */ -/* - * How many libio files we want - */ - -#define BSP_LIBIO_MAX_FDS 20 - /* miscellaneous stuff assumed to exist */ mips_isr_entry set_vector( /* returns old vector */ diff --git a/c/src/lib/libbsp/mips64orion/p4000/startup/bspstart.c b/c/src/lib/libbsp/mips64orion/p4000/startup/bspstart.c index 6a3b4378b4..bdd0c3074d 100644 --- a/c/src/lib/libbsp/mips64orion/p4000/startup/bspstart.c +++ b/c/src/lib/libbsp/mips64orion/p4000/startup/bspstart.c @@ -101,49 +101,19 @@ void bsp_start( void ) */ /* - * 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 * not malloc'ed. It is just "pulled from the air". */ - BSP_Configuration.work_space_start = (void *)((unsigned64)((&end) + LIBC_HEAP_SIZE + 0x2000) & ~0x7); + BSP_Configuration.work_space_start = + (void *)((unsigned64)((&end) + LIBC_HEAP_SIZE + 0x2000) & ~0x7); /* * 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. - */ - } |