Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bsp/allwinner_tina/libcpu/interrupt.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,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;
rt_uint32_t pend_addr, en_addr, data;
Expand Down
2 changes: 1 addition & 1 deletion bsp/allwinner_tina/libcpu/interrupt.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,6 @@ typedef struct tina_intc *tina_intc_t;
void rt_hw_interrupt_init(void);
void rt_hw_interrupt_mask(int vector);
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);
rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, void *param, const char *name);

#endif /* __INTERRUPT_H__ */
2 changes: 1 addition & 1 deletion bsp/asm9260t/platform/interrupt.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ void rt_hw_interrupt_umask(int irq)
* @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;

Expand Down
2 changes: 1 addition & 1 deletion bsp/at91sam9260/platform/interrupt.c
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ void rt_hw_interrupt_umask(int irq)
* @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;

Expand Down
2 changes: 1 addition & 1 deletion bsp/dm365/platform/interrupt.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ void rt_hw_interrupt_umask(int irq)
*/

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;

Expand Down
2 changes: 1 addition & 1 deletion bsp/fh8620/drivers/interrupt.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ void rt_hw_interrupt_umask(int irq)
* @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;

Expand Down
2 changes: 1 addition & 1 deletion bsp/fh8620/drivers/interrupt.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ void rt_hw_interrupt_init(void);
void rt_hw_interrupt_mask(int irq);
void rt_hw_interrupt_umask(int irq);
rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler,
void *param, char *name);
void *param, const char *name);

#endif /* INTERRUPT_H_ */
2 changes: 1 addition & 1 deletion bsp/gkipc/armv6/interrupt.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ void rt_hw_interrupt_umask(int irq)
* @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;

Expand Down
2 changes: 1 addition & 1 deletion bsp/hifive1/drivers/interrupt.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ void rt_hw_interrupt_ack(rt_uint32_t fiq_irq, rt_uint32_t id)
* @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;

Expand Down
2 changes: 1 addition & 1 deletion bsp/hifive1/drivers/interrupt.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ void rt_hw_interrupt_init(void);
rt_uint32_t rt_hw_interrupt_get_active(rt_uint32_t fiq_irq);
void rt_hw_interrupt_ack(rt_uint32_t fiq_irq, rt_uint32_t id);
rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler,
void *param, char *name);
void *param, const char *name);

#endif
2 changes: 1 addition & 1 deletion bsp/imx6sx/cortex-a9/cpu/interrupt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion bsp/qemu-vexpress-a9/cpu/interrupt.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,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;

Expand Down
2 changes: 1 addition & 1 deletion bsp/qemu-vexpress-gemini/cpu/interrupt.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,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;

Expand Down
2 changes: 1 addition & 1 deletion bsp/raspi2/cpu/interrupt.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,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;

Expand Down
2 changes: 1 addition & 1 deletion bsp/tm4c129x/.config
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ CONFIG_RT_USING_SERIAL=y
#
# POSIX layer and C standard library
#
# CONFIG_RT_USING_LIBC is not set
CONFIG_RT_USING_LIBC=y
# CONFIG_RT_USING_PTHREADS is not set

#
Expand Down
2 changes: 1 addition & 1 deletion bsp/tm4c129x/rtconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@

/* POSIX layer and C standard library */

/* RT_USING_LIBC is not set */
#define RT_USING_LIBC
/* RT_USING_PTHREADS is not set */

/* Network stack */
Expand Down
15 changes: 8 additions & 7 deletions components/net/lwip-1.4.1/src/arch/include/arch/cc.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,14 @@
#include <rthw.h>
#include <rtthread.h>

typedef rt_uint8_t u8_t;
typedef rt_int8_t s8_t;
typedef rt_uint16_t u16_t;
typedef rt_int16_t s16_t;
typedef rt_uint32_t u32_t;
typedef rt_int32_t s32_t;
typedef rt_uint32_t mem_ptr_t;
#include <stdint.h>
typedef uint8_t u8_t;
typedef int8_t s8_t;
typedef uint16_t u16_t;
typedef int16_t s16_t;
typedef uint32_t u32_t;
typedef int32_t s32_t;
typedef uintptr_t mem_ptr_t;

#define U16_F "hu"
#define S16_F "hd"
Expand Down
Loading