diff options
| author | Bernard Xiong <[email protected]> | 2018-12-06 06:04:11 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-12-06 06:04:11 +0800 |
| commit | 27cd03d4546a245d4d11d3b25eeda31b91815b69 (patch) | |
| tree | 1d1f87c7d5456b39547084b190889186d07a0336 /libcpu | |
| parent | 51261117788a179048567a8ba0179e3c88e7b44a (diff) | |
| parent | cd98097104a7321e3fe1bd5b05bf782b61c3bfc0 (diff) | |
Merge pull request #2036 from liruncong/const
rt_hw_interrupt_install函数name参数增加const限定
Diffstat (limited to 'libcpu')
| -rw-r--r-- | libcpu/arm/AT91SAM7X/interrupt.c | 2 | ||||
| -rw-r--r-- | libcpu/arm/am335x/interrupt.c | 2 | ||||
| -rw-r--r-- | libcpu/arm/cortex-a/interrupt.c | 2 | ||||
| -rw-r--r-- | libcpu/arm/cortex-r4/interrupt.c | 2 | ||||
| -rw-r--r-- | libcpu/arm/lpc214x/cpuport.c | 2 | ||||
| -rw-r--r-- | libcpu/arm/lpc24xx/interrupt.c | 2 | ||||
| -rw-r--r-- | libcpu/arm/realview-a8-vmm/interrupt.c | 2 | ||||
| -rw-r--r-- | libcpu/arm/s3c24x0/interrupt.c | 2 | ||||
| -rw-r--r-- | libcpu/arm/sep4020/interrupt.c | 2 | ||||
| -rw-r--r-- | libcpu/arm/zynq7000/interrupt.c | 2 | ||||
| -rw-r--r-- | libcpu/ia32/interrupt.c | 2 | ||||
| -rw-r--r-- | libcpu/mips/loongson_1b/interrupt.c | 2 | ||||
| -rw-r--r-- | libcpu/mips/loongson_1c/interrupt.c | 2 | ||||
| -rw-r--r-- | libcpu/mips/x1000/interrupt.c | 2 | ||||
| -rw-r--r-- | libcpu/mips/xburst/interrupt.c | 2 | ||||
| -rw-r--r-- | libcpu/ppc/ppc405/interrupt.c | 2 | ||||
| -rw-r--r-- | libcpu/unicore32/sep6200/interrupt.c | 2 |
17 files changed, 17 insertions, 17 deletions
diff --git a/libcpu/arm/AT91SAM7X/interrupt.c b/libcpu/arm/AT91SAM7X/interrupt.c index 62d487403d..0c37f63ada 100644 --- a/libcpu/arm/AT91SAM7X/interrupt.c +++ b/libcpu/arm/AT91SAM7X/interrupt.c @@ -91,7 +91,7 @@ void rt_hw_interrupt_umask(int vector) * @return the old handler */ rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, - void *param, char *name) + void *param, const char *name) { rt_isr_handler_t old_handler = RT_NULL; if(vector >= 0 && vector < MAX_HANDLERS) diff --git a/libcpu/arm/am335x/interrupt.c b/libcpu/arm/am335x/interrupt.c index c10d13b86c..3acd868496 100644 --- a/libcpu/arm/am335x/interrupt.c +++ b/libcpu/arm/am335x/interrupt.c @@ -158,7 +158,7 @@ void rt_hw_interrupt_ack(int fiq_irq) * @param old_handler the old interrupt service routine */ rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, - void *param, char *name) + void *param, const char *name) { rt_isr_handler_t old_handler = RT_NULL; diff --git a/libcpu/arm/cortex-a/interrupt.c b/libcpu/arm/cortex-a/interrupt.c index 3934c84aaf..fb6e3ff3e0 100644 --- a/libcpu/arm/cortex-a/interrupt.c +++ b/libcpu/arm/cortex-a/interrupt.c @@ -110,7 +110,7 @@ void rt_hw_interrupt_umask(int vector) * @param old_handler the old interrupt service routine */ rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, - void *param, char *name) + void *param, const char *name) { rt_isr_handler_t old_handler = RT_NULL; diff --git a/libcpu/arm/cortex-r4/interrupt.c b/libcpu/arm/cortex-r4/interrupt.c index 5b3ad1ccc1..30e14f5a2d 100644 --- a/libcpu/arm/cortex-r4/interrupt.c +++ b/libcpu/arm/cortex-r4/interrupt.c @@ -86,7 +86,7 @@ void rt_hw_interrupt_umask(int vector) * @return the old handler */ rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, - void *param, char *name) + void *param, const char *name) { rt_isr_handler_t old_handler = RT_NULL; diff --git a/libcpu/arm/lpc214x/cpuport.c b/libcpu/arm/lpc214x/cpuport.c index d5c1c5dce6..2543a5e0a9 100644 --- a/libcpu/arm/lpc214x/cpuport.c +++ b/libcpu/arm/lpc214x/cpuport.c @@ -137,7 +137,7 @@ void rt_hw_interrupt_umask(int vector) * @return old handler */ rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, - void *param, char *name) + void *param, const char *name) { rt_isr_handler_t old_handler = RT_NULL; diff --git a/libcpu/arm/lpc24xx/interrupt.c b/libcpu/arm/lpc24xx/interrupt.c index 64609ef06e..a855de1e11 100644 --- a/libcpu/arm/lpc24xx/interrupt.c +++ b/libcpu/arm/lpc24xx/interrupt.c @@ -83,7 +83,7 @@ void rt_hw_interrupt_umask(int vector) * @return the old handler */ rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, - void *param, char *name) + void *param, const char *name) { rt_isr_handler_t old_handler = RT_NULL; diff --git a/libcpu/arm/realview-a8-vmm/interrupt.c b/libcpu/arm/realview-a8-vmm/interrupt.c index 05998d2234..5ef0bdc460 100644 --- a/libcpu/arm/realview-a8-vmm/interrupt.c +++ b/libcpu/arm/realview-a8-vmm/interrupt.c @@ -103,7 +103,7 @@ void rt_hw_interrupt_umask(int vector) * @param old_handler the old interrupt service routine */ rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, - void *param, char *name) + void *param, const char *name) { rt_isr_handler_t old_handler = RT_NULL; diff --git a/libcpu/arm/s3c24x0/interrupt.c b/libcpu/arm/s3c24x0/interrupt.c index 10ff60b95a..8c7aebeb25 100644 --- a/libcpu/arm/s3c24x0/interrupt.c +++ b/libcpu/arm/s3c24x0/interrupt.c @@ -104,7 +104,7 @@ void rt_hw_interrupt_umask(int vector) * @param old_handler the old interrupt service routine */ rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, - void *param, char *name) + void *param, const char *name) { rt_isr_handler_t old_handler = RT_NULL; diff --git a/libcpu/arm/sep4020/interrupt.c b/libcpu/arm/sep4020/interrupt.c index f688286d19..ebc9c9625b 100644 --- a/libcpu/arm/sep4020/interrupt.c +++ b/libcpu/arm/sep4020/interrupt.c @@ -107,7 +107,7 @@ void rt_hw_interrupt_umask(int vector) * @param old_handler the old interrupt service routine */ rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, - void *param, char *name) + void *param, const char *name) { rt_isr_handler_t old_handler = RT_NULL; diff --git a/libcpu/arm/zynq7000/interrupt.c b/libcpu/arm/zynq7000/interrupt.c index ce3fbc8dfb..451785523a 100644 --- a/libcpu/arm/zynq7000/interrupt.c +++ b/libcpu/arm/zynq7000/interrupt.c @@ -112,7 +112,7 @@ void rt_hw_interrupt_umask(int vector) * @param old_handler the old interrupt service routine */ rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, - void *param, char *name) + void *param, const char *name) { rt_isr_handler_t old_handler = RT_NULL; diff --git a/libcpu/ia32/interrupt.c b/libcpu/ia32/interrupt.c index 4d86d593df..e620cbe76c 100644 --- a/libcpu/ia32/interrupt.c +++ b/libcpu/ia32/interrupt.c @@ -131,7 +131,7 @@ void rt_hw_interrupt_mask(int vector) rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, void *param, - char *name) + const char *name) { rt_isr_handler_t old_handler = RT_NULL; diff --git a/libcpu/mips/loongson_1b/interrupt.c b/libcpu/mips/loongson_1b/interrupt.c index be65da914c..998d1e4918 100644 --- a/libcpu/mips/loongson_1b/interrupt.c +++ b/libcpu/mips/loongson_1b/interrupt.c @@ -96,7 +96,7 @@ void rt_hw_interrupt_umask(int vector) * @param old_handler the old interrupt service routine */ rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, - void *param, char *name) + void *param, const char *name) { rt_isr_handler_t old_handler = RT_NULL; diff --git a/libcpu/mips/loongson_1c/interrupt.c b/libcpu/mips/loongson_1c/interrupt.c index cc0b8e4e9c..407580d89e 100644 --- a/libcpu/mips/loongson_1c/interrupt.c +++ b/libcpu/mips/loongson_1c/interrupt.c @@ -112,7 +112,7 @@ void rt_hw_interrupt_umask(int vector) * @param old_handler the old interrupt service routine */ rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, - void *param, char *name) + void *param, const char *name) { rt_isr_handler_t old_handler = RT_NULL; diff --git a/libcpu/mips/x1000/interrupt.c b/libcpu/mips/x1000/interrupt.c index 394cd6cd1c..2a7a42e792 100644 --- a/libcpu/mips/x1000/interrupt.c +++ b/libcpu/mips/x1000/interrupt.c @@ -80,7 +80,7 @@ void rt_hw_interrupt_umask(int vector) } rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, - void *param, char *name) + void *param, const char *name) { rt_isr_handler_t old_handler = RT_NULL; diff --git a/libcpu/mips/xburst/interrupt.c b/libcpu/mips/xburst/interrupt.c index 4d39c8f621..337646c735 100644 --- a/libcpu/mips/xburst/interrupt.c +++ b/libcpu/mips/xburst/interrupt.c @@ -95,7 +95,7 @@ void rt_hw_interrupt_umask(int vector) * @return old handler */ rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, - void *param, char *name) + void *param, const char *name) { rt_isr_handler_t old_handler = RT_NULL; diff --git a/libcpu/ppc/ppc405/interrupt.c b/libcpu/ppc/ppc405/interrupt.c index dc93dd67a3..27a528e2f0 100644 --- a/libcpu/ppc/ppc405/interrupt.c +++ b/libcpu/ppc/ppc405/interrupt.c @@ -79,7 +79,7 @@ void uic_interrupt(rt_uint32_t uic_base, int vec_base) } rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t new_handler, - void* param, char* name) + void* param, const char* name) { int intVal; rt_isr_handler_t old_handler; diff --git a/libcpu/unicore32/sep6200/interrupt.c b/libcpu/unicore32/sep6200/interrupt.c index 5d088f788a..31078320ea 100644 --- a/libcpu/unicore32/sep6200/interrupt.c +++ b/libcpu/unicore32/sep6200/interrupt.c @@ -199,7 +199,7 @@ void rt_hw_interrupt_umask(int irq) * @param old_handler the old interrupt service routine */ rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, - void *param, char *name) + void *param, const char *name) { rt_isr_handler_t old_handler = RT_NULL; |
