forked from Imagelibrary/rtems
@@ -32,6 +32,7 @@ libbsp_a_SOURCES = startup/bspclean.c \
|
||||
../shared/startup/zerobss.c \
|
||||
../../shared/bsplibc.c \
|
||||
../../shared/bspgetworkarea.c \
|
||||
../../shared/bsppretaskinghook.c \
|
||||
../../shared/bsppost.c \
|
||||
startup/bspstart.c \
|
||||
../../shared/bootcard.c \
|
||||
|
||||
@@ -284,7 +284,7 @@ startupBL:
|
||||
* PowerPC EABI.
|
||||
*
|
||||
* boot_card() supervises the initialization of RTEMS and the C
|
||||
* library. It calls bsp_start(), bsp_pretasking_hook(), etc.
|
||||
* library. It calls bsp_start(), bsp_predriver_hook(), etc.
|
||||
*------------------------------------------------------------------*/
|
||||
lwz r2,toc_pointer-base_addr(r1) /* set r2 to toc */
|
||||
lwz r1,stack_top-base_addr(r1) /* set r1 to stack_top */
|
||||
|
||||
@@ -109,9 +109,6 @@ static void _noopfun(void) {}
|
||||
void app_bsp_start(void)
|
||||
__attribute__(( weak, alias("_noopfun") ));
|
||||
|
||||
void app_bsp_pretasking_hook(void)
|
||||
__attribute__(( weak, alias("_noopfun") ));
|
||||
|
||||
void app_bsp_predriver_hook(void)
|
||||
__attribute__(( weak, alias("_noopfun") ));
|
||||
|
||||
@@ -234,20 +231,6 @@ void bsp_start(void)
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* BSP pretasking hook. Called just before drivers are initialized.
|
||||
* Used to setup libc and install any BSP extensions.
|
||||
*
|
||||
* Must not use libc (to do io) from here, since drivers are not yet
|
||||
* initialized.
|
||||
*/
|
||||
|
||||
void bsp_pretasking_hook(void)
|
||||
{
|
||||
app_bsp_pretasking_hook();
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* BSP predriver hook. Called by boot_card() just before drivers are
|
||||
* initialized. Clear out any stale interrupts here.
|
||||
|
||||
@@ -31,6 +31,7 @@ libbsp_a_SOURCES = startup/bspclean.c \
|
||||
../shared/startup/zerobss.c \
|
||||
../../shared/bsplibc.c \
|
||||
../../shared/bspgetworkarea.c \
|
||||
../../shared/bsppretaskinghook.c \
|
||||
../../shared/bsppost.c \
|
||||
startup/bspstart.c \
|
||||
../../shared/bootcard.c \
|
||||
|
||||
@@ -376,7 +376,7 @@ startupBL:
|
||||
* PowerPC EABI.
|
||||
*
|
||||
* boot_card() supervises the initialization of RTEMS and the C
|
||||
* library. It calls bsp_start(), bsp_pretasking_hook(), etc.
|
||||
* library. It calls bsp_start(), bsp_predriver_hook(), etc.
|
||||
*------------------------------------------------------------------*/
|
||||
lwz r2,toc_pointer-base_addr(r1) /* set r2 to toc */
|
||||
lwz r1,stack_top-base_addr(r1) /* set r1 to stack_top */
|
||||
|
||||
@@ -123,9 +123,6 @@ static void _noopfun(void) {}
|
||||
void app_bsp_start(void)
|
||||
__attribute__(( weak, alias("_noopfun") ));
|
||||
|
||||
void app_bsp_pretasking_hook(void)
|
||||
__attribute__(( weak, alias("_noopfun") ));
|
||||
|
||||
void app_bsp_predriver_hook(void)
|
||||
__attribute__(( weak, alias("_noopfun") ));
|
||||
|
||||
@@ -255,20 +252,6 @@ void bsp_start(void)
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* BSP pretasking hook. Called just before drivers are initialized.
|
||||
* Used to setup libc and install any BSP extensions.
|
||||
*
|
||||
* Must not use libc (to do io) from here, since drivers are not yet
|
||||
* initialized.
|
||||
*/
|
||||
|
||||
void bsp_pretasking_hook(void)
|
||||
{
|
||||
app_bsp_pretasking_hook();
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* BSP predriver hook. Called by boot_card() just before drivers are
|
||||
* initialized. Clear out any stale interrupts here.
|
||||
|
||||
Reference in New Issue
Block a user