bsps/bfin: Use default bsp_pretasking_hook()

Rename BSP-specific bsp_pretasking_hook() to bsp_predriver_hook().

Update #2408.
This commit is contained in:
Sebastian Huber
2015-12-09 11:28:52 +01:00
parent ac78f35cb1
commit afe87e1a1f
6 changed files with 9 additions and 9 deletions

View File

@@ -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

View File

@@ -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();
} }

View File

@@ -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

View File

@@ -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();
} }

View File

@@ -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

View File

@@ -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();
} }