rt_thread_suspend_hook0x20000234Data4thread.o(.data) rt_thread_resume_hook0x20000238Data4thread.o(.data) rt_thread_inited_hook0x2000023cData4thread.o(.data) .data0x20000240Section16cpuport.o(.data) rt_exception_
structstack_frame* context = &exception_info->stack_frame;if(rt_exception_hook != RT_NULL)// ...
10 result = rt_exception_hook(exception_info); 11 if (result == RT_EOK) 12 return; 13 } 14 15 rt_kprintf("psr: 0x%08x\n", context->exception_stack_frame.psr); 16 17 rt_kprintf("r00: 0x%08x\n", context->exception_stack_frame.r0); 18 rt_kprintf("r01: 0x%08x\n", context->...
hw_exception_install(rt_err_t (*exception_handle)(void* context)){rt_exception_hook = exception...
();/* remove from suspend list */rt_list_remove(&(thread->tlist));rt_timer_stop(&thread->thread_timer);/* enable interrupt */rt_hw_interrupt_enable(temp);/* insert to schedule ready list */rt_schedule_insert_thread(thread);RT_OBJECT_HOOK_CALL(rt_thread_resume_hook,(thread));...
introduce hook for tty,improve code quality. fix: code format of serial.c and compile error in aarch64 context_gcc fix posix tty, and add more baudrate (#8683) i2c: merge the software i2c driver(#9886) adjust the timing for I2C initialization add ofw support i2c rtc: Specifies the ...
RT_OBJECT_HOOK_CALL(rt_interrupt_leave_hook,()); rt_hw_interrupt_enable(level); } RTM_EXPORT(rt_interrupt_leave); 恢复中断前的 CPU 上下文,如果在中断处理过程中未进行线程切换,那么恢复 from 线程的 CPU 上下文,如果在中断中进行了线程切换,那么恢复 to 线程的 CPU 上下文。这部分实现跟 CPU 架构相...
rt_assert_set_hook(__rt_assert_handler); //启动RT-Thread Smart内核 entry();} 异常处理 异常处理流程图 异常处理上半部分 登录后复制/*libcpu isc-v -headc906interrupt_gcc.S*/#define __ASSEMBLY__#include "cpuport.h"#include "encoding.h"#include "stackframe.h" .section .text.entry .alig...
RT_Thread enable system hook 2.使用 2.1获取组件 方式1:1.下载syswatch软件包,并将软件包syswatch文件夹复制到工程原码目录下 2.将软件包中syswatch.c和syswatch_test.c加入项目工程中 3.将软件包中syswatch_config.h中RT_USING_SYSWATCH和SYSWATCH_USING_TEST两个宏的注释去掉;并根据需要修改各项配置参数 ...
- ipv6: use siphash in rt6_exception_hash() - net/sched: ets: fix crash when flipping from 'strict' to 'quantum' - ucounts: Increase ucounts reference counter before the security hook - net: marvell: fix MVNETA_TX_IN_PRGRS bit number ...