forked from Imagelibrary/rtems
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU Table fields to the Configuration Table. This included pretasking_hook, predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace, extra_mpci_receive_server_stack, stack_allocate_hook, and stack_free_hook. As a side-effect of this effort some multiprocessing code was made conditional and some style clean up occurred.
This commit is contained in:
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
|
2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
PR 1257/bsps
|
PR 1257/bsps
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ dist_project_lib_DATA += startup/linkcmds
|
|||||||
|
|
||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
|
startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
|
||||||
|
../../shared/bsppredriverhook.c \
|
||||||
startup/bspstart.c startup/exit.c startup/memmap.c \
|
startup/bspstart.c startup/exit.c startup/memmap.c \
|
||||||
../../shared/bootcard.c ../../shared/sbrk.c \
|
../../shared/bootcard.c ../../shared/sbrk.c \
|
||||||
../../shared/gnatinstallhandler.c
|
../../shared/gnatinstallhandler.c
|
||||||
|
|||||||
@@ -112,10 +112,6 @@ void bsp_start_default( void )
|
|||||||
/* Set interrupt priority to -1 (allow all priorities) */
|
/* Set interrupt priority to -1 (allow all priorities) */
|
||||||
MC9328MXL_AITC_NIMASK = 0x1f;
|
MC9328MXL_AITC_NIMASK = 0x1f;
|
||||||
|
|
||||||
/* tell rtems about the hooks we are using */
|
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook;
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
|
|
||||||
/* Place RTEMS workspace at beginning of free memory. */
|
/* Place RTEMS workspace at beginning of free memory. */
|
||||||
BSP_Configuration.work_space_start = (void *)&_bss_free_start;
|
BSP_Configuration.work_space_start = (void *)&_bss_free_start;
|
||||||
|
|
||||||
@@ -123,7 +119,6 @@ void bsp_start_default( void )
|
|||||||
BSP_Configuration.work_space_size);
|
BSP_Configuration.work_space_size);
|
||||||
|
|
||||||
free_mem_end = ((uint32_t)&_sdram_base + (uint32_t)&_sdram_size);
|
free_mem_end = ((uint32_t)&_sdram_base + (uint32_t)&_sdram_size);
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Init rtems exceptions management
|
* Init rtems exceptions management
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
|
2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
PR 1257/bsps
|
PR 1257/bsps
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ dist_project_lib_DATA += startup/linkcmds
|
|||||||
|
|
||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
|
startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
|
||||||
|
../../shared/bsppredriverhook.c \
|
||||||
startup/bspstart.c startup/exit.c startup/memmap.c \
|
startup/bspstart.c startup/exit.c startup/memmap.c \
|
||||||
../../shared/bootcard.c ../../shared/sbrk.c \
|
../../shared/bootcard.c ../../shared/sbrk.c \
|
||||||
../../shared/gnatinstallhandler.c
|
../../shared/gnatinstallhandler.c
|
||||||
|
|||||||
@@ -100,10 +100,6 @@ void bsp_start_default( void )
|
|||||||
*/
|
*/
|
||||||
fix_mac_addr();
|
fix_mac_addr();
|
||||||
|
|
||||||
/* tell RTEMS about the hooks we are using */
|
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook;
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
|
|
||||||
/* Place RTEMS workspace at beginning of free memory. */
|
/* Place RTEMS workspace at beginning of free memory. */
|
||||||
BSP_Configuration.work_space_start = (void *)&_bss_free_start;
|
BSP_Configuration.work_space_start = (void *)&_bss_free_start;
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
|
2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
PR 1257/bsps
|
PR 1257/bsps
|
||||||
|
|||||||
@@ -29,9 +29,9 @@ dist_project_lib_DATA += startup/linkcmds
|
|||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
include_HEADERS += ../../arm/shared/comm/uart.h
|
include_HEADERS += ../../arm/shared/comm/uart.h
|
||||||
startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
|
startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
|
||||||
|
../../shared/bsppredriverhook.c \
|
||||||
startup/bspstart.c startup/exit.c ../../shared/bootcard.c \
|
startup/bspstart.c startup/exit.c ../../shared/bootcard.c \
|
||||||
../../shared/sbrk.c \
|
../../shared/sbrk.c ../../shared/gnatinstallhandler.c
|
||||||
../../shared/gnatinstallhandler.c
|
|
||||||
startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
||||||
startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||||
|
|
||||||
|
|||||||
@@ -128,8 +128,6 @@ void bsp_start_default( void )
|
|||||||
/* disable interrupts */
|
/* disable interrupts */
|
||||||
*EP7312_INTMR1 = 0;
|
*EP7312_INTMR1 = 0;
|
||||||
*EP7312_INTMR2 = 0;
|
*EP7312_INTMR2 = 0;
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook;
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
|
|
||||||
/* Place RTEMS workspace at beginning of free memory. */
|
/* Place RTEMS workspace at beginning of free memory. */
|
||||||
BSP_Configuration.work_space_start = (void *)&_bss_free_start;
|
BSP_Configuration.work_space_start = (void *)&_bss_free_start;
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
|
2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
PR 1257/bsps
|
PR 1257/bsps
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ dist_project_lib_DATA += startup/linkcmds
|
|||||||
|
|
||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
|
startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
|
||||||
|
../../shared/bsppredriverhook.c \
|
||||||
startup/bspstart.c startup/exit.c startup/cpu.c startup/cpu_asm.S \
|
startup/bspstart.c startup/exit.c startup/cpu.c startup/cpu_asm.S \
|
||||||
../../shared/bootcard.c ../../shared/sbrk.c \
|
../../shared/bootcard.c ../../shared/sbrk.c \
|
||||||
../../shared/gnatinstallhandler.c
|
../../shared/gnatinstallhandler.c
|
||||||
|
|||||||
@@ -142,13 +142,7 @@ void bsp_start_default( void )
|
|||||||
rtemsFreeMemStart = (uint32_t)&_end;
|
rtemsFreeMemStart = (uint32_t)&_end;
|
||||||
|
|
||||||
/* If we don't have command line arguments set default program name. */
|
/* If we don't have command line arguments set default program name. */
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
|
||||||
Cpu_table.predriver_hook = NULL; /* use system's */
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
Cpu_table.idle_task = NULL; /* don't override system IDLE task */
|
|
||||||
Cpu_table.interrupt_stack_size = 0;
|
Cpu_table.interrupt_stack_size = 0;
|
||||||
Cpu_table.extra_mpci_receive_server_stack = 0;
|
|
||||||
|
|
||||||
|
|
||||||
/* Place RTEMS workspace at beginning of free memory. */
|
/* Place RTEMS workspace at beginning of free memory. */
|
||||||
BSP_Configuration.work_space_start = (void *)rtemsFreeMemStart;
|
BSP_Configuration.work_space_start = (void *)rtemsFreeMemStart;
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-09-24 Chris Johns <chrisj@rtems.org>
|
2007-09-24 Chris Johns <chrisj@rtems.org>
|
||||||
|
|
||||||
* include/bsp.h: Do not use C++ comments.
|
* include/bsp.h: Do not use C++ comments.
|
||||||
|
|||||||
@@ -28,9 +28,9 @@ dist_project_lib_DATA += startup/linkcmds
|
|||||||
|
|
||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
|
startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
|
||||||
startup/bspstart.c ../../shared/bspclean.c ../../shared/sbrk.c ../../shared/setvec.c \
|
../../shared/bsppredriverhook.c startup/bspstart.c \
|
||||||
../../shared/bootcard.c \
|
../../shared/bspclean.c ../../shared/sbrk.c ../../shared/setvec.c \
|
||||||
../../shared/gnatinstallhandler.c
|
../../shared/bootcard.c ../../shared/gnatinstallhandler.c
|
||||||
startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
||||||
startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||||
|
|
||||||
|
|||||||
@@ -163,8 +163,6 @@ void bsp_start( void )
|
|||||||
* initialize the CPU table for this BSP
|
* initialize the CPU table for this BSP
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
||||||
|
|
||||||
int i=0;
|
int i=0;
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-05-11 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2007-05-11 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* clock/clock.c: include <tic4x/c4xio.h>.
|
* clock/clock.c: include <tic4x/c4xio.h>.
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ dist_project_lib_DATA += startup/linkcmds
|
|||||||
|
|
||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
startup_rel_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
|
startup_rel_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
|
||||||
|
../../shared/bsppredriverhook.c \
|
||||||
../../shared/bsppost.c startup/bspstart.c \
|
../../shared/bsppost.c startup/bspstart.c \
|
||||||
../../shared/bootcard.c ../../shared/sbrk.c ../../shared/setvec.c \
|
../../shared/bootcard.c ../../shared/sbrk.c ../../shared/setvec.c \
|
||||||
../../c4x/shared/c3xspurious.c ../../c4x/shared/c4xspurious.c \
|
../../c4x/shared/c3xspurious.c ../../c4x/shared/c4xspurious.c \
|
||||||
|
|||||||
@@ -75,21 +75,6 @@ void bsp_start( void )
|
|||||||
{
|
{
|
||||||
extern void *_WorkspaceBase;
|
extern void *_WorkspaceBase;
|
||||||
extern uint32_t _WorkspaceMax;
|
extern uint32_t _WorkspaceMax;
|
||||||
/*
|
|
||||||
* Set up our hooks
|
|
||||||
* Make sure libc_init is done before drivers initialized so that
|
|
||||||
* they can use atexit()
|
|
||||||
*/
|
|
||||||
|
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* SIS does zero out memory BUT only when IT begins execution. Thus
|
|
||||||
* if we want to have a clean slate in the workspace each time we
|
|
||||||
* begin execution of OUR application, then we must zero the workspace.
|
|
||||||
*/
|
|
||||||
Cpu_table.do_zero_of_workspace = FALSE;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This should be enough interrupt stack.
|
* This should be enough interrupt stack.
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-05-03 Joel Sherrill <joel@OARcorp.com>
|
2007-05-03 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* startup/linkcmds: Handle .data.* sections
|
* startup/linkcmds: Handle .data.* sections
|
||||||
|
|||||||
@@ -27,9 +27,9 @@ dist_project_lib_DATA += startup/linkcmds
|
|||||||
|
|
||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
startup_rel_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
|
startup_rel_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
|
||||||
|
../../shared/bsppredriverhook.c \
|
||||||
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
|
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
|
||||||
../../shared/sbrk.c \
|
../../shared/sbrk.c ../../shared/gnatinstallhandler.c startup/__main.c
|
||||||
../../shared/gnatinstallhandler.c startup/__main.c
|
|
||||||
startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
||||||
startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||||
|
|
||||||
|
|||||||
@@ -82,10 +82,7 @@ void bsp_pretasking_hook(void)
|
|||||||
void bsp_start( void )
|
void bsp_start( void )
|
||||||
{
|
{
|
||||||
extern int WorkspaceBase;
|
extern int WorkspaceBase;
|
||||||
/* Configure Number of Register Caches */
|
|
||||||
|
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
Cpu_table.interrupt_stack_size = 4096;
|
Cpu_table.interrupt_stack_size = 4096;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* startup/bspstart.c: Eliminate the interrupt_table_segment and
|
* startup/bspstart.c: Eliminate the interrupt_table_segment and
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ dist_project_lib_DATA += startup/linkcmds
|
|||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
include_HEADERS += ../../i386/shared/comm/uart.h
|
include_HEADERS += ../../i386/shared/comm/uart.h
|
||||||
startup_rel_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
|
startup_rel_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
|
||||||
|
../../shared/bsppredriverhook.c \
|
||||||
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
|
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
|
||||||
../../shared/sbrk.c ../../i386/shared/irq/idt.c \
|
../../shared/sbrk.c ../../i386/shared/irq/idt.c \
|
||||||
../../i386/shared/irq/irq.c ../../i386/shared/irq/irq_init.c \
|
../../i386/shared/irq/irq.c ../../i386/shared/irq/irq_init.c \
|
||||||
|
|||||||
@@ -99,8 +99,6 @@ void bsp_start( void )
|
|||||||
* we do not use the pretasking_hook.
|
* we do not use the pretasking_hook.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
/* changed Sept 14 STACK_MINIMUM_SIZE */
|
/* changed Sept 14 STACK_MINIMUM_SIZE */
|
||||||
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* startup/bspstart.c: Eliminate the interrupt_table_segment and
|
* startup/bspstart.c: Eliminate the interrupt_table_segment and
|
||||||
|
|||||||
@@ -94,6 +94,7 @@ pci_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
|||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
include_HEADERS += ../../i386/shared/comm/uart.h
|
include_HEADERS += ../../i386/shared/comm/uart.h
|
||||||
startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
|
startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
|
||||||
|
../../shared/bsppredriverhook.c \
|
||||||
startup/bspstart.c startup/exit.c ../../i386/shared/irq/idt.c \
|
startup/bspstart.c startup/exit.c ../../i386/shared/irq/idt.c \
|
||||||
../../i386/shared/irq/irq.c ../../i386/shared/irq/irq_init.c \
|
../../i386/shared/irq/irq.c ../../i386/shared/irq/irq_init.c \
|
||||||
../../shared/bootcard.c ../../shared/sbrk.c \
|
../../shared/bootcard.c ../../shared/sbrk.c \
|
||||||
|
|||||||
@@ -180,15 +180,7 @@ void bsp_start_default( void )
|
|||||||
/* set the value of start of free memory. */
|
/* set the value of start of free memory. */
|
||||||
rtemsFreeMemStart = (uint32_t)&_end + _stack_size;
|
rtemsFreeMemStart = (uint32_t)&_end + _stack_size;
|
||||||
|
|
||||||
/* If we don't have command line arguments set default program name. */
|
|
||||||
|
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
|
||||||
Cpu_table.predriver_hook = NULL; /* use system's */
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
Cpu_table.idle_task = NULL;
|
|
||||||
/* do not override system IDLE task */
|
|
||||||
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
||||||
Cpu_table.extra_mpci_receive_server_stack = 0;
|
|
||||||
|
|
||||||
/* Place RTEMS workspace at beginning of free memory. */
|
/* Place RTEMS workspace at beginning of free memory. */
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* startup/bspstart.c: Eliminate the interrupt_table_segment and
|
* startup/bspstart.c: Eliminate the interrupt_table_segment and
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ dist_project_lib_DATA += startup/linkcmds
|
|||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
include_HEADERS += ../../i386/shared/comm/uart.h
|
include_HEADERS += ../../i386/shared/comm/uart.h
|
||||||
startup_rel_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
|
startup_rel_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
|
||||||
|
../../shared/bsppredriverhook.c \
|
||||||
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
|
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
|
||||||
../../shared/sbrk.c ../../i386/shared/irq/idt.c \
|
../../shared/sbrk.c ../../i386/shared/irq/idt.c \
|
||||||
../../i386/shared/irq/irq.c ../../i386/shared/irq/irq_init.c \
|
../../i386/shared/irq/irq.c ../../i386/shared/irq/irq_init.c \
|
||||||
|
|||||||
@@ -93,12 +93,6 @@ void bsp_start( void )
|
|||||||
{
|
{
|
||||||
void rtems_irq_mngt_init();
|
void rtems_irq_mngt_init();
|
||||||
|
|
||||||
/*
|
|
||||||
* we do not use the pretasking_hook.
|
|
||||||
*/
|
|
||||||
|
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
||||||
|
|
||||||
BSP_Configuration.work_space_start = (void *)
|
BSP_Configuration.work_space_start = (void *)
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* startup/bspstart.c: Fix spacing.
|
* startup/bspstart.c: Fix spacing.
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ project_lib_DATA = start.$(OBJEXT)
|
|||||||
dist_project_lib_DATA += startup/linkcmds
|
dist_project_lib_DATA += startup/linkcmds
|
||||||
|
|
||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
startup_rel_SOURCES = startup/bspclean.c \
|
startup_rel_SOURCES = startup/bspclean.c ../../shared/bsppredriverhook.c \
|
||||||
../../shared/bsplibc.c ../../shared/bsppost.c \
|
../../shared/bsplibc.c ../../shared/bsppost.c \
|
||||||
../../m68k/shared/m68kpretaskinghook.c \
|
../../m68k/shared/m68kpretaskinghook.c \
|
||||||
startup/init5282.c startup/bspstart.c \
|
startup/init5282.c startup/bspstart.c \
|
||||||
|
|||||||
@@ -189,8 +189,6 @@ void bsp_start( void )
|
|||||||
/*
|
/*
|
||||||
* initialize the CPU table for this BSP
|
* initialize the CPU table for this BSP
|
||||||
*/
|
*/
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
Cpu_table.interrupt_stack_size = 4096;
|
Cpu_table.interrupt_stack_size = 4096;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* startup/bspstart.c: Eliminate the interrupt_vector_table field in the
|
* startup/bspstart.c: Eliminate the interrupt_vector_table field in the
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ dist_project_lib_DATA += startup/linkcmds
|
|||||||
|
|
||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
|
startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
|
||||||
|
../../shared/bsppredriverhook.c \
|
||||||
../../shared/bsppost.c ../../m68k/shared/m68kpretaskinghook.c \
|
../../shared/bsppost.c ../../m68k/shared/m68kpretaskinghook.c \
|
||||||
startup/bspstart.c startup/init5272.c ../../shared/bootcard.c \
|
startup/bspstart.c startup/init5272.c ../../shared/bootcard.c \
|
||||||
../../shared/sbrk.c ../../m68k/shared/setvec.c \
|
../../shared/sbrk.c ../../m68k/shared/setvec.c \
|
||||||
|
|||||||
@@ -76,7 +76,5 @@ void bsp_start( void )
|
|||||||
/*
|
/*
|
||||||
* initialize the CPU table for this BSP
|
* initialize the CPU table for this BSP
|
||||||
*/
|
*/
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
Cpu_table.interrupt_stack_size = 4096;
|
Cpu_table.interrupt_stack_size = 4096;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* startup/bspstart.c: Eliminate the interrupt_vector_table field in the
|
* startup/bspstart.c: Eliminate the interrupt_vector_table field in the
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ dist_project_lib_DATA += startup/linkcmds
|
|||||||
|
|
||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
|
startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
|
||||||
|
../../shared/bsppredriverhook.c \
|
||||||
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
|
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
|
||||||
../../m68k/shared/m68kpretaskinghook.c \
|
../../m68k/shared/m68kpretaskinghook.c \
|
||||||
../../shared/sbrk.c ../../m68k/shared/setvec.c \
|
../../shared/sbrk.c ../../m68k/shared/setvec.c \
|
||||||
|
|||||||
@@ -53,7 +53,8 @@ void bsp_start( void )
|
|||||||
extern void *_RamSize;
|
extern void *_RamSize;
|
||||||
extern unsigned long _M68k_Ramsize;
|
extern unsigned long _M68k_Ramsize;
|
||||||
|
|
||||||
_M68k_Ramsize = (unsigned long)&_RamSize; /* RAM size set in linker script */
|
/* RAM size set in linker script */
|
||||||
|
_M68k_Ramsize = (unsigned long)&_RamSize;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Allocate the memory for the RTEMS Work Space. This can come from
|
* Allocate the memory for the RTEMS Work Space. This can come from
|
||||||
@@ -75,7 +76,5 @@ void bsp_start( void )
|
|||||||
* initialize the CPU table for this BSP
|
* initialize the CPU table for this BSP
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* startup/bspstart.c: Eliminate the interrupt_vector_table field in the
|
* startup/bspstart.c: Eliminate the interrupt_vector_table field in the
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ dist_project_lib_DATA += startup/linkcmds
|
|||||||
|
|
||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
|
startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
|
||||||
|
../../shared/bsppredriverhook.c \
|
||||||
../../shared/bsppost.c startup/bspstart.c startup/init68340.c \
|
../../shared/bsppost.c startup/bspstart.c startup/init68340.c \
|
||||||
../../shared/bootcard.c ../../m68k/shared/m68kpretaskinghook.c \
|
../../shared/bootcard.c ../../m68k/shared/m68kpretaskinghook.c \
|
||||||
../../shared/sbrk.c ../../m68k/shared/setvec.c \
|
../../shared/sbrk.c ../../m68k/shared/setvec.c \
|
||||||
|
|||||||
@@ -56,7 +56,8 @@ void bsp_start( void )
|
|||||||
extern void *_RamSize;
|
extern void *_RamSize;
|
||||||
extern unsigned long _M68k_Ramsize;
|
extern unsigned long _M68k_Ramsize;
|
||||||
|
|
||||||
_M68k_Ramsize = (unsigned long)&_RamSize; /* RAM size set in linker script */
|
/* RAM size set in linker script */
|
||||||
|
_M68k_Ramsize = (unsigned long)&_RamSize;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Allocate the memory for the RTEMS Work Space. This can come from
|
* Allocate the memory for the RTEMS Work Space. This can come from
|
||||||
@@ -77,8 +78,5 @@ void bsp_start( void )
|
|||||||
/*
|
/*
|
||||||
* initialize the CPU table for this BSP
|
* initialize the CPU table for this BSP
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-05-03 Joel Sherrill <joel@OARcorp.com>
|
2007-05-03 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* startup/linkcmds: Handle .data.* sections
|
* startup/linkcmds: Handle .data.* sections
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ dist_project_lib_DATA += startup/linkcmds startup/linkcmds.prom \
|
|||||||
|
|
||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
startup_rel_SOURCES = startup/alloc360.c startup/bspclean.c \
|
startup_rel_SOURCES = startup/alloc360.c startup/bspclean.c \
|
||||||
|
../../shared/bsppredriverhook.c \
|
||||||
../../shared/bsplibc.c ../../shared/bsppost.c \
|
../../shared/bsplibc.c ../../shared/bsppost.c \
|
||||||
../../m68k/shared/m68kpretaskinghook.c startup/bspstart.c \
|
../../m68k/shared/m68kpretaskinghook.c startup/bspstart.c \
|
||||||
startup/init68360.c ../../shared/bootcard.c \
|
startup/init68360.c ../../shared/bootcard.c \
|
||||||
|
|||||||
@@ -73,12 +73,4 @@ void bsp_start( void )
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
BSP_Configuration.work_space_start = (void *)&_WorkspaceBase;
|
BSP_Configuration.work_space_start = (void *)&_WorkspaceBase;
|
||||||
|
|
||||||
/*
|
|
||||||
* initialize the CPU table for this BSP
|
|
||||||
*/
|
|
||||||
|
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* startup/bspstart.c: Eliminate the interrupt_vector_table field in the
|
* startup/bspstart.c: Eliminate the interrupt_vector_table field in the
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ dist_project_lib_DATA += startup/linkcmds
|
|||||||
|
|
||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
startup_rel_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
|
startup_rel_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
|
||||||
|
../../shared/bsppredriverhook.c \
|
||||||
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
|
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
|
||||||
../../m68k/shared/m68kpretaskinghook.c \
|
../../m68k/shared/m68kpretaskinghook.c \
|
||||||
../../shared/sbrk.c ../../m68k/shared/setvec.c \
|
../../shared/sbrk.c ../../m68k/shared/setvec.c \
|
||||||
|
|||||||
@@ -61,9 +61,9 @@ void bsp_start( void )
|
|||||||
extern void *_RamSize;
|
extern void *_RamSize;
|
||||||
extern unsigned long _M68k_Ramsize;
|
extern unsigned long _M68k_Ramsize;
|
||||||
|
|
||||||
_M68k_Ramsize = (unsigned long)&_RamSize; /* RAM size set in linker script */
|
/* RAM size set in linker script */
|
||||||
|
_M68k_Ramsize = (unsigned long)&_RamSize;
|
||||||
duart_base = (unsigned char *)DUART_ADDR;
|
duart_base = (unsigned char *)DUART_ADDR;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set the VBR here to the monitor's default.
|
* Set the VBR here to the monitor's default.
|
||||||
@@ -95,8 +95,6 @@ void bsp_start( void )
|
|||||||
* we only use a hook to get the C library initialized.
|
* we only use a hook to get the C library initialized.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
||||||
|
|
||||||
BSP_Configuration.work_space_start = (void *) &_WorkspaceBase;
|
BSP_Configuration.work_space_start = (void *) &_WorkspaceBase;
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* startup/bspstart.c: Eliminate the interrupt_vector_table field in the
|
* startup/bspstart.c: Eliminate the interrupt_vector_table field in the
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ dist_project_lib_DATA += startup/linkcmds startup/gdbinit \
|
|||||||
|
|
||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
|
startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
|
||||||
|
../../shared/bsppredriverhook.c \
|
||||||
../../shared/bsppost.c ../../m68k/shared/m68kpretaskinghook.c \
|
../../shared/bsppost.c ../../m68k/shared/m68kpretaskinghook.c \
|
||||||
startup/bspstart.c startup/init5206e.c ../../shared/bootcard.c \
|
startup/bspstart.c startup/init5206e.c ../../shared/bootcard.c \
|
||||||
../../shared/sbrk.c ../../m68k/shared/setvec.c \
|
../../shared/sbrk.c ../../m68k/shared/setvec.c \
|
||||||
|
|||||||
@@ -72,7 +72,5 @@ void bsp_start( void )
|
|||||||
/*
|
/*
|
||||||
* initialize the CPU table for this BSP
|
* initialize the CPU table for this BSP
|
||||||
*/
|
*/
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
Cpu_table.interrupt_stack_size = 4096;
|
Cpu_table.interrupt_stack_size = 4096;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-12-03 Chris Johns <chrisj@rtems.org>
|
2007-12-03 Chris Johns <chrisj@rtems.org>
|
||||||
|
|
||||||
* console/console.c: Set the baud rate for stdin to 19200 when
|
* console/console.c: Set the baud rate for stdin to 19200 when
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ dist_project_lib_DATA += startup/linkcmds startup/linkcmdsflash \
|
|||||||
startup/linkcmdsram
|
startup/linkcmdsram
|
||||||
|
|
||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
startup_rel_SOURCES = startup/bspclean.c \
|
startup_rel_SOURCES = startup/bspclean.c ../../shared/bsppredriverhook.c \
|
||||||
../../shared/bsplibc.c ../../shared/bsppost.c \
|
../../shared/bsplibc.c ../../shared/bsppost.c \
|
||||||
../../m68k/shared/m68kpretaskinghook.c \
|
../../m68k/shared/m68kpretaskinghook.c \
|
||||||
startup/init5235.c startup/bspstart.c \
|
startup/init5235.c startup/bspstart.c \
|
||||||
|
|||||||
@@ -182,8 +182,6 @@ void bsp_start( void )
|
|||||||
/*
|
/*
|
||||||
* initialize the CPU table for this BSP
|
* initialize the CPU table for this BSP
|
||||||
*/
|
*/
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
Cpu_table.interrupt_stack_size = 4096;
|
Cpu_table.interrupt_stack_size = 4096;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* startup/bspstart.c: Eliminate the interrupt_vector_table field in the
|
* startup/bspstart.c: Eliminate the interrupt_vector_table field in the
|
||||||
|
|||||||
@@ -28,7 +28,8 @@ dist_project_lib_DATA += startup/linkcmds
|
|||||||
|
|
||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
|
startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
|
||||||
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
|
../../shared/bsppost.c ../../shared/bsppredriverhook.c \
|
||||||
|
startup/bspstart.c ../../shared/bootcard.c \
|
||||||
../../m68k/shared/m68kpretaskinghook.c \
|
../../m68k/shared/m68kpretaskinghook.c \
|
||||||
../../shared/sbrk.c ../../m68k/shared/setvec.c
|
../../shared/sbrk.c ../../m68k/shared/setvec.c
|
||||||
startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
||||||
@@ -80,6 +81,7 @@ libbsp_a_LIBADD += \
|
|||||||
startup_rel-bspclean.o \
|
startup_rel-bspclean.o \
|
||||||
startup_rel-bsplibc.o \
|
startup_rel-bsplibc.o \
|
||||||
startup_rel-bsppost.o \
|
startup_rel-bsppost.o \
|
||||||
|
startup_rel-bsppredriverhook.o \
|
||||||
startup_rel-bspstart.o \
|
startup_rel-bspstart.o \
|
||||||
startup_rel-bootcard.o \
|
startup_rel-bootcard.o \
|
||||||
startup_rel-m68kpretaskinghook.o \
|
startup_rel-m68kpretaskinghook.o \
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ void bsp_start( void )
|
|||||||
extern void *_RamSize;
|
extern void *_RamSize;
|
||||||
extern unsigned long _M68k_Ramsize;
|
extern unsigned long _M68k_Ramsize;
|
||||||
|
|
||||||
_M68k_Ramsize = (unsigned long)&_RamSize; /* RAM size set in linker script */
|
_M68k_Ramsize = (unsigned long)&_RamSize;
|
||||||
|
|
||||||
monitors_vector_table = (m68k_isr_entry *)0; /* 135Bug Vectors are at 0 */
|
monitors_vector_table = (m68k_isr_entry *)0; /* 135Bug Vectors are at 0 */
|
||||||
m68k_set_vbr( monitors_vector_table );
|
m68k_set_vbr( monitors_vector_table );
|
||||||
@@ -78,8 +78,6 @@ void bsp_start( void )
|
|||||||
* we only use a hook to get the C library initialized.
|
* we only use a hook to get the C library initialized.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
||||||
|
|
||||||
BSP_Configuration.work_space_start = (void *) &_WorkspaceBase;
|
BSP_Configuration.work_space_start = (void *) &_WorkspaceBase;
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* startup/bspstart.c: Eliminate the interrupt_vector_table field in the
|
* startup/bspstart.c: Eliminate the interrupt_vector_table field in the
|
||||||
|
|||||||
@@ -28,7 +28,8 @@ dist_project_lib_DATA += startup/linkcmds
|
|||||||
|
|
||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
startup_rel_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
|
startup_rel_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
|
||||||
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
|
../../shared/bsppost.c ../../shared/bsppredriverhook.c \
|
||||||
|
startup/bspstart.c ../../shared/bootcard.c \
|
||||||
../../m68k/shared/m68kpretaskinghook.c \
|
../../m68k/shared/m68kpretaskinghook.c \
|
||||||
../../shared/sbrk.c ../../m68k/shared/setvec.c \
|
../../shared/sbrk.c ../../m68k/shared/setvec.c \
|
||||||
../../shared/gnatinstallhandler.c
|
../../shared/gnatinstallhandler.c
|
||||||
|
|||||||
@@ -144,8 +144,6 @@ void bsp_start( void )
|
|||||||
* we only use a hook to get the C library initialized.
|
* we only use a hook to get the C library initialized.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
||||||
|
|
||||||
BSP_Configuration.work_space_start = (void *) &_WorkspaceBase;
|
BSP_Configuration.work_space_start = (void *) &_WorkspaceBase;
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* startup/bspstart.c: Eliminate the interrupt_vector_table field in the
|
* startup/bspstart.c: Eliminate the interrupt_vector_table field in the
|
||||||
|
|||||||
@@ -37,7 +37,8 @@ dist_project_lib_DATA += startup/linkcmds
|
|||||||
|
|
||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
|
startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
|
||||||
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
|
../../shared/bsppredriverhook.c ../../shared/bsppost.c \
|
||||||
|
startup/bspstart.c ../../shared/bootcard.c \
|
||||||
../../m68k/shared/m68kpretaskinghook.c \
|
../../m68k/shared/m68kpretaskinghook.c \
|
||||||
startup/page_table.c ../../shared/sbrk.c ../../m68k/shared/setvec.c \
|
startup/page_table.c ../../shared/sbrk.c ../../m68k/shared/setvec.c \
|
||||||
../../shared/gnatinstallhandler.c
|
../../shared/gnatinstallhandler.c
|
||||||
|
|||||||
@@ -102,8 +102,6 @@ void bsp_start( void )
|
|||||||
* we only use a hook to get the C library initialized.
|
* we only use a hook to get the C library initialized.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
||||||
|
|
||||||
BSP_Configuration.work_space_start = (void *) &_WorkspaceBase;
|
BSP_Configuration.work_space_start = (void *) &_WorkspaceBase;
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* startup/bspstart.c: Eliminate the interrupt_vector_table field in the
|
* startup/bspstart.c: Eliminate the interrupt_vector_table field in the
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ dist_project_lib_DATA += startup/linkcmds
|
|||||||
|
|
||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
|
startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
|
||||||
|
../../shared/bsppredriverhook.c \
|
||||||
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
|
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
|
||||||
../../m68k/shared/m68kpretaskinghook.c \
|
../../m68k/shared/m68kpretaskinghook.c \
|
||||||
startup/page_table.c ../../shared/sbrk.c ../../m68k/shared/setvec.c \
|
startup/page_table.c ../../shared/sbrk.c ../../m68k/shared/setvec.c \
|
||||||
|
|||||||
@@ -86,7 +86,8 @@ void bsp_start( void )
|
|||||||
m68k_isr_entry *rom_monitor_vector_table;
|
m68k_isr_entry *rom_monitor_vector_table;
|
||||||
int index;
|
int index;
|
||||||
|
|
||||||
_M68k_Ramsize = (unsigned long)&_RamSize; /* RAM size set in linker script */
|
/* RAM size set in linker script */
|
||||||
|
_M68k_Ramsize = (unsigned long)&_RamSize;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* 167Bug Vectors are at 0xFFE00000
|
* 167Bug Vectors are at 0xFFE00000
|
||||||
@@ -124,9 +125,6 @@ void bsp_start( void )
|
|||||||
*/
|
*/
|
||||||
page_table_init( &Configuration );
|
page_table_init( &Configuration );
|
||||||
|
|
||||||
/* We only use a hook to get the C library initialized. */
|
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
/* Must match value in start.s */
|
/* Must match value in start.s */
|
||||||
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* startup/bspstart.c: Eliminate the interrupt_vector_table field in the
|
* startup/bspstart.c: Eliminate the interrupt_vector_table field in the
|
||||||
|
|||||||
@@ -45,6 +45,7 @@ startup_rel_SOURCES = startup/cpuboot.c startup/crc.c startup/debugport.c \
|
|||||||
startup/m68302scc.c startup/m68k-stub.c \
|
startup/m68302scc.c startup/m68k-stub.c \
|
||||||
../../m68k/shared/m68kpretaskinghook.c startup/memcheck.c \
|
../../m68k/shared/m68kpretaskinghook.c startup/memcheck.c \
|
||||||
startup/trace.c ../../shared/gnatinstallhandler.c ../../shared/bsplibc.c \
|
startup/trace.c ../../shared/gnatinstallhandler.c ../../shared/bsplibc.c \
|
||||||
|
../../shared/bsppredriverhook.c \
|
||||||
../../shared/bsppost.c startup/bspstart.c startup/bspclean.c \
|
../../shared/bsppost.c startup/bspstart.c startup/bspclean.c \
|
||||||
../../shared/sbrk.c ../../m68k/shared/setvec.c
|
../../shared/sbrk.c ../../m68k/shared/setvec.c
|
||||||
startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
||||||
|
|||||||
@@ -67,7 +67,5 @@ void bsp_start( void )
|
|||||||
* initialize the CPU table for this BSP
|
* initialize the CPU table for this BSP
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-04-12 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2007-04-12 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* bsp_specs: Remove qrtems_debug.
|
* bsp_specs: Remove qrtems_debug.
|
||||||
|
|||||||
@@ -37,8 +37,8 @@ console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
|||||||
|
|
||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
|
startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
|
||||||
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
|
../../shared/bsppredriverhook.c ../../shared/bsppost.c \
|
||||||
../../shared/sbrk.c \
|
startup/bspstart.c ../../shared/bootcard.c ../../shared/sbrk.c \
|
||||||
../../shared/gnatinstallhandler.c ../../shared/setvec.c
|
../../shared/gnatinstallhandler.c ../../shared/setvec.c
|
||||||
startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
||||||
startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||||
|
|||||||
@@ -95,10 +95,7 @@ void bsp_start( void )
|
|||||||
{
|
{
|
||||||
extern void mips_install_isr_entries(void);
|
extern void mips_install_isr_entries(void);
|
||||||
unsigned int compare = 0;
|
unsigned int compare = 0;
|
||||||
/* Configure Number of Register Caches */
|
|
||||||
|
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
Cpu_table.interrupt_stack_size = 8192;
|
Cpu_table.interrupt_stack_size = 8192;
|
||||||
|
|
||||||
/* Place RTEMS workspace at beginning of free memory. */
|
/* Place RTEMS workspace at beginning of free memory. */
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-04-12 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2007-04-12 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* bsp_specs: Remove qrtems_debug.
|
* bsp_specs: Remove qrtems_debug.
|
||||||
|
|||||||
@@ -30,10 +30,10 @@ startup_CPPFLAGS = -I$(srcdir)/../../mips/shared/gdbstub
|
|||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
startup_rel_SOURCES = ../../mips/shared/gdbstub/mips-stub.c \
|
startup_rel_SOURCES = ../../mips/shared/gdbstub/mips-stub.c \
|
||||||
../../shared/gdbstub/rtems-stub-glue.c ../../shared/bspclean.c \
|
../../shared/gdbstub/rtems-stub-glue.c ../../shared/bspclean.c \
|
||||||
../../shared/bsplibc.c ../../shared/bsppost.c startup/bspstart.c \
|
../../shared/bsppredriverhook.c ../../shared/bsplibc.c \
|
||||||
../../shared/bootcard.c ../../shared/sbrk.c \
|
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
|
||||||
../../shared/gnatinstallhandler.c ../../shared/setvec.c \
|
../../shared/sbrk.c ../../shared/gnatinstallhandler.c \
|
||||||
startup/gdb-support.c
|
../../shared/setvec.c startup/gdb-support.c
|
||||||
startup_rel_CPPFLAGS = $(AM_CPPFLAGS) $(startup_CPPFLAGS)
|
startup_rel_CPPFLAGS = $(AM_CPPFLAGS) $(startup_CPPFLAGS)
|
||||||
startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||||
|
|
||||||
|
|||||||
@@ -87,10 +87,6 @@ void bsp_start( void )
|
|||||||
extern void mips_install_isr_entries();
|
extern void mips_install_isr_entries();
|
||||||
extern void mips_gdb_stub_install(void);
|
extern void mips_gdb_stub_install(void);
|
||||||
|
|
||||||
/* Configure Number of Register Caches */
|
|
||||||
|
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
Cpu_table.interrupt_stack_size = 4096;
|
Cpu_table.interrupt_stack_size = 4096;
|
||||||
|
|
||||||
/* HACK -- tied to value linkcmds */
|
/* HACK -- tied to value linkcmds */
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* clock/ckinit.c, startup/bspstart.c: Eliminate the
|
* clock/ckinit.c, startup/bspstart.c: Eliminate the
|
||||||
|
|||||||
@@ -30,7 +30,8 @@ dist_project_lib_DATA += startup/linkcmds
|
|||||||
|
|
||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
startup_rel_SOURCES = ../../shared/bspclean.c \
|
startup_rel_SOURCES = ../../shared/bspclean.c \
|
||||||
../../shared/bsplibc.c ../../shared/bsppost.c startup/bspstart.c \
|
../../shared/bsplibc.c ../../shared/bsppost.c \
|
||||||
|
../../shared/bsppredriverhook.c startup/bspstart.c \
|
||||||
../../shared/bootcard.c ../../shared/sbrk.c \
|
../../shared/bootcard.c ../../shared/sbrk.c \
|
||||||
../../shared/gnatinstallhandler.c ../../shared/setvec.c \
|
../../shared/gnatinstallhandler.c ../../shared/setvec.c \
|
||||||
startup/inittlb.c \
|
startup/inittlb.c \
|
||||||
|
|||||||
@@ -107,8 +107,6 @@ void bsp_start( void )
|
|||||||
* initialize the CPU table for this BSP
|
* initialize the CPU table for this BSP
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
||||||
bsp_clicks_per_microsecond = CPU_CLOCK_RATE_MHZ;
|
bsp_clicks_per_microsecond = CPU_CLOCK_RATE_MHZ;
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-04-12 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2007-04-12 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* bsp_specs: Remove qrtems_debug.
|
* bsp_specs: Remove qrtems_debug.
|
||||||
|
|||||||
@@ -48,8 +48,8 @@ consoleio_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
|||||||
|
|
||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
|
startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
|
||||||
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
|
../../shared/bsppredriverhook.c ../../shared/bsppost.c \
|
||||||
../../shared/sbrk.c \
|
startup/bspstart.c ../../shared/bootcard.c ../../shared/sbrk.c \
|
||||||
../../shared/gnatinstallhandler.c ../../shared/setvec.c
|
../../shared/gnatinstallhandler.c ../../shared/setvec.c
|
||||||
startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
||||||
startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||||
@@ -69,6 +69,7 @@ libbsp_a_LIBADD += \
|
|||||||
startup_rel-bspclean.o \
|
startup_rel-bspclean.o \
|
||||||
startup_rel-bsplibc.o \
|
startup_rel-bsplibc.o \
|
||||||
startup_rel-bsppost.o \
|
startup_rel-bsppost.o \
|
||||||
|
startup_rel-bsppredriverhook.o \
|
||||||
startup_rel-bspstart.o \
|
startup_rel-bspstart.o \
|
||||||
startup_rel-bootcard.o \
|
startup_rel-bootcard.o \
|
||||||
startup_rel-sbrk.o \
|
startup_rel-sbrk.o \
|
||||||
|
|||||||
@@ -81,10 +81,6 @@ void bsp_start( void )
|
|||||||
extern void _sys_exit(int);
|
extern void _sys_exit(int);
|
||||||
extern void mips_install_isr_entries(void);
|
extern void mips_install_isr_entries(void);
|
||||||
|
|
||||||
/* Configure Number of Register Caches */
|
|
||||||
|
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
Cpu_table.interrupt_stack_size = 4096;
|
Cpu_table.interrupt_stack_size = 4096;
|
||||||
|
|
||||||
/* HACK -- tied to value linkcmds */
|
/* HACK -- tied to value linkcmds */
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-04-12 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2007-04-12 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* bsp_specs: Remove qrtems_debug.
|
* bsp_specs: Remove qrtems_debug.
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ project_lib_DATA = start.$(OBJEXT)
|
|||||||
dist_project_lib_DATA += startup/linkcmds
|
dist_project_lib_DATA += startup/linkcmds
|
||||||
|
|
||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
startup_rel_SOURCES = ../../shared/bspclean.c \
|
startup_rel_SOURCES = ../../shared/bspclean.c ../../shared/bsppredriverhook.c \
|
||||||
../../shared/bsplibc.c ../../shared/bsppost.c startup/bspstart.c \
|
../../shared/bsplibc.c ../../shared/bsppost.c startup/bspstart.c \
|
||||||
../../shared/bootcard.c ../../shared/sbrk.c \
|
../../shared/bootcard.c ../../shared/sbrk.c \
|
||||||
../../shared/gnatinstallhandler.c ../../shared/setvec.c \
|
../../shared/gnatinstallhandler.c ../../shared/setvec.c \
|
||||||
|
|||||||
@@ -89,16 +89,11 @@ void bsp_start( void )
|
|||||||
|
|
||||||
/* Configure Number of Register Caches */
|
/* Configure Number of Register Caches */
|
||||||
|
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
Cpu_table.interrupt_stack_size = 4096;
|
Cpu_table.interrupt_stack_size = 4096;
|
||||||
|
|
||||||
BSP_Configuration.work_space_start =
|
BSP_Configuration.work_space_start =
|
||||||
(void *)((uint64_t)((&end) + LIBC_HEAP_SIZE + 0x100) & ~0x7);
|
(void *)((uint64_t)((&end) + LIBC_HEAP_SIZE + 0x100) & ~0x7);
|
||||||
|
|
||||||
mips_install_isr_entries(); /* Install generic MIPS exception handler */
|
mips_install_isr_entries(); /* Install generic MIPS exception handler */
|
||||||
|
|
||||||
/* init_exc_vecs(); */ /* Install BSP specific exception handler */
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-04-12 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2007-04-12 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* bsp_specs: Remove qrtems_debug.
|
* bsp_specs: Remove qrtems_debug.
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ project_lib_DATA = start.$(OBJEXT)
|
|||||||
dist_project_lib_DATA += startup/linkcmds
|
dist_project_lib_DATA += startup/linkcmds
|
||||||
|
|
||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
startup_rel_SOURCES = ../../shared/bspclean.c \
|
startup_rel_SOURCES = ../../shared/bspclean.c ../../shared/bsppredriverhook.c \
|
||||||
../../shared/bsplibc.c ../../shared/bsppost.c startup/bspstart.c \
|
../../shared/bsplibc.c ../../shared/bsppost.c startup/bspstart.c \
|
||||||
../../shared/bootcard.c ../../shared/sbrk.c \
|
../../shared/bootcard.c ../../shared/sbrk.c \
|
||||||
../../shared/gnatinstallhandler.c ../../shared/setvec.c \
|
../../shared/gnatinstallhandler.c ../../shared/setvec.c \
|
||||||
|
|||||||
@@ -87,18 +87,11 @@ void bsp_start( void )
|
|||||||
extern int WorkspaceBase;
|
extern int WorkspaceBase;
|
||||||
extern void mips_install_isr_entries(void);
|
extern void mips_install_isr_entries(void);
|
||||||
|
|
||||||
/* Configure Number of Register Caches */
|
|
||||||
|
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
Cpu_table.interrupt_stack_size = 4096;
|
Cpu_table.interrupt_stack_size = 4096;
|
||||||
|
|
||||||
BSP_Configuration.work_space_start =
|
BSP_Configuration.work_space_start =
|
||||||
(void *)((uint64_t)((&end) + LIBC_HEAP_SIZE + 0x100) & ~0x7);
|
(void *)((uint64_t)((&end) + LIBC_HEAP_SIZE + 0x100) & ~0x7);
|
||||||
|
|
||||||
mips_install_isr_entries(); /* Install generic MIPS exception handler */
|
mips_install_isr_entries(); /* Install generic MIPS exception handler */
|
||||||
|
|
||||||
/* init_exc_vecs(); */ /* Install BSP specific exception handler */
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-11-30 Till Straumann <strauman@slac.stanford.edu>
|
2007-11-30 Till Straumann <strauman@slac.stanford.edu>
|
||||||
|
|
||||||
* startup/bspstart: removed _Cpu_table.exceptions_in_RAM.
|
* startup/bspstart: removed _Cpu_table.exceptions_in_RAM.
|
||||||
|
|||||||
@@ -45,8 +45,7 @@ mpc83xx_regs_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
|||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
startup_rel_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
|
startup_rel_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
|
||||||
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
|
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
|
||||||
../../shared/sbrk.c \
|
../../shared/sbrk.c ../../shared/gnatinstallhandler.c startup/cpuinit.c
|
||||||
../../shared/gnatinstallhandler.c startup/cpuinit.c
|
|
||||||
|
|
||||||
startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
||||||
startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||||
|
|||||||
@@ -200,17 +200,15 @@ void bsp_start(void)
|
|||||||
|
|
||||||
_write_SPRG1((unsigned int)intrStack);
|
_write_SPRG1((unsigned int)intrStack);
|
||||||
|
|
||||||
/* Signal them that this BSP has fixed PR288 - eventually, this should go away */
|
/* Signal them that this BSP has fixed PR288 - eventually, this should
|
||||||
|
* go away
|
||||||
|
*/
|
||||||
_write_SPRG0(PPC_BSP_HAS_FIXED_PR288);
|
_write_SPRG0(PPC_BSP_HAS_FIXED_PR288);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* initialize the CPU table for this BSP
|
* initialize the CPU table for this BSP
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
|
||||||
Cpu_table.predriver_hook = bsp_predriver_hook; /* init PCI / RTC ... */
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
|
|
||||||
if( Cpu_table.interrupt_stack_size < 4*1024 )
|
if( Cpu_table.interrupt_stack_size < 4*1024 )
|
||||||
Cpu_table.interrupt_stack_size = 4 * 1024;
|
Cpu_table.interrupt_stack_size = 4 * 1024;
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-11-30 Till Straumann <strauman@slac.stanford.edu>
|
2007-11-30 Till Straumann <strauman@slac.stanford.edu>
|
||||||
|
|
||||||
* irq/irq.h, irq/irq_init.c: Removed the definition
|
* irq/irq.h, irq/irq_init.c: Removed the definition
|
||||||
|
|||||||
@@ -49,8 +49,8 @@ include_bsp_HEADERS += vectors/vectors.h
|
|||||||
|
|
||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
startup_rel_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
|
startup_rel_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
|
||||||
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
|
../../shared/bsppredriverhook.c ../../shared/bsppost.c \
|
||||||
../../shared/sbrk.c \
|
startup/bspstart.c ../../shared/bootcard.c ../../shared/sbrk.c \
|
||||||
../../shared/gnatinstallhandler.c startup/cpuinit.c
|
../../shared/gnatinstallhandler.c startup/cpuinit.c
|
||||||
startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
||||||
startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||||
|
|||||||
@@ -294,16 +294,10 @@ void bsp_start(void)
|
|||||||
|
|
||||||
BSP_Configuration.work_space_start = (void *)&_WorkspaceBase;
|
BSP_Configuration.work_space_start = (void *)&_WorkspaceBase;
|
||||||
|
|
||||||
/*
|
|
||||||
BSP_Configuration.microseconds_per_tick = 1000;
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* initialize the CPU table for this BSP
|
* initialize the CPU table for this BSP
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
if( Cpu_table.interrupt_stack_size < 4*1024 )
|
if( Cpu_table.interrupt_stack_size < 4*1024 )
|
||||||
Cpu_table.interrupt_stack_size = 4 * 1024;
|
Cpu_table.interrupt_stack_size = 4 * 1024;
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-12-02 Till Straumann <strauman@slac.stanford.edu>
|
2007-12-02 Till Straumann <strauman@slac.stanford.edu>
|
||||||
|
|
||||||
* irq/no_pic.c: use new inline routine exported by
|
* irq/no_pic.c: use new inline routine exported by
|
||||||
|
|||||||
@@ -39,8 +39,8 @@ dist_project_lib_DATA += startup/linkcmds
|
|||||||
|
|
||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
|
startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
|
||||||
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
|
../../shared/bsppost.c ../../shared/bsppredriverhook.c \
|
||||||
../../shared/sbrk.c \
|
startup/bspstart.c ../../shared/bootcard.c ../../shared/sbrk.c \
|
||||||
../../shared/gnatinstallhandler.c
|
../../shared/gnatinstallhandler.c
|
||||||
startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
||||||
startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||||
@@ -104,6 +104,7 @@ libbsp_a_LIBADD += \
|
|||||||
startup_rel-bspclean.o \
|
startup_rel-bspclean.o \
|
||||||
startup_rel-bsplibc.o \
|
startup_rel-bsplibc.o \
|
||||||
startup_rel-bsppost.o \
|
startup_rel-bsppost.o \
|
||||||
|
startup_rel-bsppredriverhook.o \
|
||||||
startup_rel-bspstart.o \
|
startup_rel-bspstart.o \
|
||||||
startup_rel-bootcard.o \
|
startup_rel-bootcard.o \
|
||||||
startup_rel-sbrk.o \
|
startup_rel-sbrk.o \
|
||||||
|
|||||||
@@ -147,21 +147,6 @@ void bsp_start( void )
|
|||||||
* they can use atexit()
|
* they can use atexit()
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Is this true?
|
|
||||||
*
|
|
||||||
* PSIM does zero out memory BUT only when IT begins execution. Thus
|
|
||||||
* if we want to have a clean slate in the workspace each time we
|
|
||||||
* begin execution of OUR application, then we must zero the workspace.
|
|
||||||
*
|
|
||||||
* It is true that it takes simulated time to clear the memory.
|
|
||||||
*/
|
|
||||||
|
|
||||||
Cpu_table.do_zero_of_workspace = FALSE;
|
|
||||||
|
|
||||||
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
||||||
|
|
||||||
BSP_bus_frequency = (unsigned int)&PSIM_INSTRUCTIONS_PER_MICROSECOND;
|
BSP_bus_frequency = (unsigned int)&PSIM_INSTRUCTIONS_PER_MICROSECOND;
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-11-30 Till Straumann <strauman@slac.stanford.edu>
|
2007-11-30 Till Straumann <strauman@slac.stanford.edu>
|
||||||
|
|
||||||
* startup/bspstart: removed _Cpu_table.exceptions_in_RAM.
|
* startup/bspstart: removed _Cpu_table.exceptions_in_RAM.
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ dist_project_lib_DATA += startup/linkcmds
|
|||||||
|
|
||||||
noinst_PROGRAMS += startup.rel
|
noinst_PROGRAMS += startup.rel
|
||||||
startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
|
startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
|
||||||
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
|
startup/bspstart.c ../../shared/bootcard.c \
|
||||||
../../shared/sbrk.c startup/Hwr_init.c \
|
../../shared/sbrk.c startup/Hwr_init.c \
|
||||||
startup/genpvec.c ../../shared/gnatinstallhandler.c
|
startup/genpvec.c ../../shared/gnatinstallhandler.c
|
||||||
startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
|
||||||
|
|||||||
@@ -195,16 +195,17 @@ void initialize_PMC() {
|
|||||||
|
|
||||||
/*PAGE
|
/*PAGE
|
||||||
*
|
*
|
||||||
* SCORE603e_bsp_postdriver_hook
|
* bsp_postdriver_hook
|
||||||
*
|
*
|
||||||
* Standard post driver hook plus some BSP specific stuff.
|
* Standard post driver hook plus some BSP specific stuff.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void SCORE603e_bsp_postdriver_hook(void)
|
void bsp_postdriver_hook(void)
|
||||||
{
|
{
|
||||||
extern void Init_EE_mask_init(void);
|
extern void Init_EE_mask_init(void);
|
||||||
|
extern void open_dev_console(void);
|
||||||
|
|
||||||
bsp_postdriver_hook();
|
open_dev_console();
|
||||||
|
|
||||||
Init_EE_mask_init();
|
Init_EE_mask_init();
|
||||||
}
|
}
|
||||||
@@ -308,11 +309,7 @@ void bsp_start( void )
|
|||||||
* initialize the CPU table for this BSP
|
* initialize the CPU table for this BSP
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
|
||||||
Cpu_table.predriver_hook = bsp_predriver_hook; /* Init vectors */
|
|
||||||
Cpu_table.postdriver_hook = SCORE603e_bsp_postdriver_hook;
|
|
||||||
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
||||||
Cpu_table.idle_task_stack_size = (3 * STACK_MINIMUM_SIZE);
|
|
||||||
|
|
||||||
bsp_clicks_per_usec = 66 / 4; /* XXX get from linkcmds */
|
bsp_clicks_per_usec = 66 / 4; /* XXX get from linkcmds */
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
|
||||||
|
Table fields to the Configuration Table. This included
|
||||||
|
pretasking_hook, predriver_hook, postdriver_hook, idle_task,
|
||||||
|
do_zero_of_workspace, extra_mpci_receive_server_stack,
|
||||||
|
stack_allocate_hook, and stack_free_hook. As a side-effect of this
|
||||||
|
effort some multiprocessing code was made conditional and some style
|
||||||
|
clean up occurred.
|
||||||
|
|
||||||
2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
|
2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
* startup/bspstart.c: Eliminate PowerPC specific elements from the CPU
|
* startup/bspstart.c: Eliminate PowerPC specific elements from the CPU
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user