openharmony_kernel_liteos_m/components/exchook
LiteOS2021 04bf3a682f feat: synchronizing arch api
命名规范:修改少量Arch接口,命名规范化调整:
1.修改arch/include下接口声明,所有arch对外提供调用函数均以ArchXX命名
2.提取多个架构均有实现的公共函数声明至arch/include对应头文件中以供外部调用,并修改命名格式为ArchXX
3.修改OS_HWI_WITH_ARG为LOSCFG_PLATFORM_HWI_WITH_ARG并移至los_config.h中
4.typedef VOID (*OS_TICK_HANDLER)(VOID);暂时移至arch/include/los_timer.h中
5.实现atomic原子操作相关接口,位于arch/include/los_atomic.h,arm架构部分与汇编指令相关原子操作接口使用ARCH_ARM宏进行控制是否编译

BREAKING CHANGE: 1.修改arch/include下接口,以ArchXX命名函数
2.提取公共函数声明:ArchAtomicXchg32bits、ArchAtomicDecRet、ArchAtomicCmpXchg32bits
3.新增部分原子操作c内联实现

Close #I4N7XV

Signed-off-by: LiteOS2021 <dinglu@huawei.com>
2021-12-25 18:36:09 +08:00
..
BUILD.gn feat(build): support Kconfig 2021-11-05 12:18:04 +08:00
los_exc_info.c feat: synchronizing arch api 2021-12-25 18:36:09 +08:00
los_exc_info.h update openharmony 1.0.1 2021-03-11 20:30:40 +08:00
los_exchook.c fix: modify the return type of LOS_IntLock from UINTPTR to UINT32. 2021-05-14 11:33:05 +08:00
los_exchook.h remove __cplusplus guards in .c files 2021-04-19 18:19:28 +08:00