forked from Imagelibrary/rtems
bsps/bfin: Use default bsp_pretasking_hook()
Rename BSP-specific bsp_pretasking_hook() to bsp_predriver_hook(). Update #2408.
This commit is contained in:
@@ -27,7 +27,7 @@ dist_project_lib_DATA += startup/linkcmds
|
|||||||
noinst_LIBRARIES += libbsp.a
|
noinst_LIBRARIES += libbsp.a
|
||||||
|
|
||||||
libbsp_a_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
|
libbsp_a_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
|
||||||
../../shared/bsppredriverhook.c startup/bspstart.c \
|
../../shared/bsppretaskinghook.c startup/bspstart.c \
|
||||||
../../shared/bspclean.c ../../shared/sbrk.c ../../shared/setvec.c \
|
../../shared/bspclean.c ../../shared/sbrk.c ../../shared/setvec.c \
|
||||||
../../shared/bootcard.c ../../shared/gnatinstallhandler.c \
|
../../shared/bootcard.c ../../shared/gnatinstallhandler.c \
|
||||||
../../shared/bspgetworkarea.c
|
../../shared/bspgetworkarea.c
|
||||||
|
|||||||
@@ -122,9 +122,9 @@ static void Init_Flags(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* bsp_pretasking_hook
|
* bsp_predriver_hook
|
||||||
*/
|
*/
|
||||||
void bsp_pretasking_hook(void)
|
void bsp_predriver_hook(void)
|
||||||
{
|
{
|
||||||
bfin_interrupt_init();
|
bfin_interrupt_init();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ noinst_LIBRARIES += libbsp.a
|
|||||||
libbsp_a_SOURCES =
|
libbsp_a_SOURCES =
|
||||||
|
|
||||||
libbsp_a_SOURCES += ../../shared/bsplibc.c ../../shared/bsppost.c \
|
libbsp_a_SOURCES += ../../shared/bsplibc.c ../../shared/bsppost.c \
|
||||||
../../shared/bsppredriverhook.c startup/bspstart.c \
|
../../shared/bsppretaskinghook.c startup/bspstart.c \
|
||||||
../../shared/bspclean.c ../../shared/sbrk.c ../../shared/setvec.c \
|
../../shared/bspclean.c ../../shared/sbrk.c ../../shared/setvec.c \
|
||||||
../../shared/bootcard.c ../../shared/gnatinstallhandler.c \
|
../../shared/bootcard.c ../../shared/gnatinstallhandler.c \
|
||||||
../../shared/bspgetworkarea.c
|
../../shared/bspgetworkarea.c
|
||||||
|
|||||||
@@ -70,9 +70,9 @@ static void initEBIU(void);
|
|||||||
static void initGPIO(void);
|
static void initGPIO(void);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* BSP pretasking hook.
|
* BSP predriver hook.
|
||||||
*/
|
*/
|
||||||
void bsp_pretasking_hook(void)
|
void bsp_predriver_hook(void)
|
||||||
{
|
{
|
||||||
bfin_interrupt_init();
|
bfin_interrupt_init();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ noinst_LIBRARIES += libbsp.a
|
|||||||
libbsp_a_SOURCES =
|
libbsp_a_SOURCES =
|
||||||
|
|
||||||
libbsp_a_SOURCES += ../../shared/bsplibc.c ../../shared/bsppost.c \
|
libbsp_a_SOURCES += ../../shared/bsplibc.c ../../shared/bsppost.c \
|
||||||
../../shared/bsppredriverhook.c startup/bspstart.c \
|
../../shared/bsppretaskinghook.c startup/bspstart.c \
|
||||||
../../shared/bspclean.c ../../shared/sbrk.c ../../shared/setvec.c \
|
../../shared/bspclean.c ../../shared/sbrk.c ../../shared/setvec.c \
|
||||||
../../shared/bootcard.c ../../shared/gnatinstallhandler.c \
|
../../shared/bootcard.c ../../shared/gnatinstallhandler.c \
|
||||||
../../shared/bspgetworkarea.c
|
../../shared/bspgetworkarea.c
|
||||||
|
|||||||
@@ -118,10 +118,10 @@ static void Init_Flags(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* BSP pretasking hook. Called just before drivers are initialized.
|
* BSP predriver hook. Called just before drivers are initialized.
|
||||||
* Used to setup libc and install any BSP extensions.
|
* Used to setup libc and install any BSP extensions.
|
||||||
*/
|
*/
|
||||||
void bsp_pretasking_hook(void)
|
void bsp_predriver_hook(void)
|
||||||
{
|
{
|
||||||
bfin_interrupt_init();
|
bfin_interrupt_init();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user