[PATCH 3/5] bsps/bfin: Use default bsp_pretasking_hook()
Sebastian Huber
sebastian.huber at embedded-brains.de
Wed Dec 9 15:14:12 UTC 2015
Rename BSP-specific bsp_pretasking_hook() to bsp_predriver_hook().
Update #2408.
---
c/src/lib/libbsp/bfin/TLL6527M/Makefile.am | 2 +-
c/src/lib/libbsp/bfin/TLL6527M/startup/bspstart.c | 4 ++--
c/src/lib/libbsp/bfin/bf537Stamp/Makefile.am | 2 +-
c/src/lib/libbsp/bfin/bf537Stamp/startup/bspstart.c | 4 ++--
c/src/lib/libbsp/bfin/eZKit533/Makefile.am | 2 +-
c/src/lib/libbsp/bfin/eZKit533/startup/bspstart.c | 4 ++--
6 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/c/src/lib/libbsp/bfin/TLL6527M/Makefile.am b/c/src/lib/libbsp/bfin/TLL6527M/Makefile.am
index a913042..ef7df34 100644
--- a/c/src/lib/libbsp/bfin/TLL6527M/Makefile.am
+++ b/c/src/lib/libbsp/bfin/TLL6527M/Makefile.am
@@ -27,7 +27,7 @@ dist_project_lib_DATA += startup/linkcmds
noinst_LIBRARIES += libbsp.a
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/bootcard.c ../../shared/gnatinstallhandler.c \
../../shared/bspgetworkarea.c
diff --git a/c/src/lib/libbsp/bfin/TLL6527M/startup/bspstart.c b/c/src/lib/libbsp/bfin/TLL6527M/startup/bspstart.c
index 07290d4..2614273 100644
--- a/c/src/lib/libbsp/bfin/TLL6527M/startup/bspstart.c
+++ b/c/src/lib/libbsp/bfin/TLL6527M/startup/bspstart.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();
}
diff --git a/c/src/lib/libbsp/bfin/bf537Stamp/Makefile.am b/c/src/lib/libbsp/bfin/bf537Stamp/Makefile.am
index d128ca4..b107e8f 100644
--- a/c/src/lib/libbsp/bfin/bf537Stamp/Makefile.am
+++ b/c/src/lib/libbsp/bfin/bf537Stamp/Makefile.am
@@ -27,7 +27,7 @@ noinst_LIBRARIES += libbsp.a
libbsp_a_SOURCES =
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/bootcard.c ../../shared/gnatinstallhandler.c \
../../shared/bspgetworkarea.c
diff --git a/c/src/lib/libbsp/bfin/bf537Stamp/startup/bspstart.c b/c/src/lib/libbsp/bfin/bf537Stamp/startup/bspstart.c
index 8e77656..074feb8 100644
--- a/c/src/lib/libbsp/bfin/bf537Stamp/startup/bspstart.c
+++ b/c/src/lib/libbsp/bfin/bf537Stamp/startup/bspstart.c
@@ -70,9 +70,9 @@ static void initEBIU(void);
static void initGPIO(void);
/*
- * BSP pretasking hook.
+ * BSP predriver hook.
*/
-void bsp_pretasking_hook(void)
+void bsp_predriver_hook(void)
{
bfin_interrupt_init();
}
diff --git a/c/src/lib/libbsp/bfin/eZKit533/Makefile.am b/c/src/lib/libbsp/bfin/eZKit533/Makefile.am
index 7d08f25..0760057 100644
--- a/c/src/lib/libbsp/bfin/eZKit533/Makefile.am
+++ b/c/src/lib/libbsp/bfin/eZKit533/Makefile.am
@@ -28,7 +28,7 @@ noinst_LIBRARIES += libbsp.a
libbsp_a_SOURCES =
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/bootcard.c ../../shared/gnatinstallhandler.c \
../../shared/bspgetworkarea.c
diff --git a/c/src/lib/libbsp/bfin/eZKit533/startup/bspstart.c b/c/src/lib/libbsp/bfin/eZKit533/startup/bspstart.c
index 6c7f1d5..4b34e8c 100644
--- a/c/src/lib/libbsp/bfin/eZKit533/startup/bspstart.c
+++ b/c/src/lib/libbsp/bfin/eZKit533/startup/bspstart.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.
*/
-void bsp_pretasking_hook(void)
+void bsp_predriver_hook(void)
{
bfin_interrupt_init();
}
--
1.8.4.5
More information about the devel
mailing list