/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/cmsis/inc/ |
A D | cmsis.h | 50 uint32_t cpsr = __get_CPSR(); in int_lock_global() local 51 uint32_t st = cpsr & IRQ_LOCK_MASK; in int_lock_global() 53 cpsr |= IRQ_LOCK_MASK; in int_lock_global() 54 __set_CPSR(cpsr); in int_lock_global() 70 uint32_t cpsr = __get_CPSR(); in int_unlock_global() local 71 cpsr = (cpsr & ~IRQ_LOCK_MASK) | pri; in int_unlock_global() 72 __set_CPSR(cpsr); in int_unlock_global()
|
/AliOS-Things-master/hardware/arch/armv7m/include/ |
A D | port.h | 9 void cpu_intrpt_restore(cpu_cpsr_t cpsr); 20 #define CPSR_ALLOC() cpu_cpsr_t cpsr 21 #define RHINO_CPU_INTRPT_DISABLE() do{cpsr = cpu_intrpt_save();}while(0) 22 #define RHINO_CPU_INTRPT_ENABLE() do{cpu_intrpt_restore(cpsr);}while(0)
|
/AliOS-Things-master/hardware/arch/armv8m/include/ |
A D | port.h | 9 void cpu_intrpt_restore(cpu_cpsr_t cpsr); 20 #define CPSR_ALLOC() cpu_cpsr_t cpsr 21 #define RHINO_CPU_INTRPT_DISABLE() do{cpsr = cpu_intrpt_save();}while(0) 22 #define RHINO_CPU_INTRPT_ENABLE() do{cpu_intrpt_restore(cpsr);}while(0)
|
/AliOS-Things-master/hardware/arch/riscv/include/ |
A D | port.h | 30 void cpu_intrpt_restore(cpu_cpsr_t cpsr); 42 #define CPSR_ALLOC() cpu_cpsr_t cpsr 44 #define RHINO_CPU_INTRPT_DISABLE() do{cpsr = cpu_intrpt_save();}while(0) 45 #define RHINO_CPU_INTRPT_ENABLE() do{cpu_intrpt_restore(cpsr);}while(0)
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/drivers/wlan/realtek/src/osdep/ |
A D | lwip_intf.c | 67 cpsr = cpu_intrpt_save(); in rltk_wlan_send() 73 cpu_intrpt_restore(cpsr); in rltk_wlan_send() 77 cpu_intrpt_restore(cpsr); in rltk_wlan_send() 97 cpsr = cpu_intrpt_save(); in rltk_wlan_send() 100 cpu_intrpt_restore(cpsr); in rltk_wlan_send()
|
/AliOS-Things-master/kernel/rhino/ |
A D | k_mm_debug.c | 16 #define KMM_CRITICAL_ENTER(head, cpsr) \ 20 MM_CRITICAL_ENTER(head, cpsr); \ 24 #define KMM_CRITICAL_EXIT(head, cpsr) \ 28 MM_CRITICAL_EXIT(head, cpsr); \ 33 #define KMM_CRITICAL_ENTER(head, cpsr) MM_CRITICAL_ENTER(head, cpsr) argument 34 #define KMM_CRITICAL_EXIT(head, cpsr) MM_CRITICAL_EXIT(head, cpsr) argument
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/cmsis/inc/ca/ |
A D | cmsis_armclang_ca.h | 409 __STATIC_FORCEINLINE void __set_CPSR(uint32_t cpsr) in __set_CPSR() argument 411 __ASM volatile ("MSR cpsr, %0" : : "r" (cpsr) : "memory"); in __set_CPSR() 453 uint32_t cpsr; in __get_SP_usr() local 460 "ISB" : "=r"(cpsr), "=r"(result) : : "memory" in __get_SP_usr() 470 uint32_t cpsr; in __set_SP_usr() local 476 "ISB" : "=r"(cpsr) : "r" (topOfProcStack) : "memory" in __set_SP_usr()
|
A D | cmsis_iccarm_ca.h | 470 uint32_t cpsr; in __get_SP_usr() local 477 "ISB" : "=r"(cpsr), "=r"(result) : "r"(cpsr) : "memory" in __get_SP_usr() 484 uint32_t cpsr; in __set_SP_usr() local 490 "ISB" : "=r"(cpsr) : "r" (topOfProcStack), "r"(cpsr) : "memory" in __set_SP_usr()
|
A D | cmsis_gcc_ca.h | 638 __STATIC_FORCEINLINE void __set_CPSR(uint32_t cpsr) in __set_CPSR() argument 640 __ASM volatile ("MSR cpsr, %0" : : "r" (cpsr) : "memory"); in __set_CPSR() 682 uint32_t cpsr = __get_CPSR(); in __get_SP_usr() local 688 __set_CPSR(cpsr); in __get_SP_usr() 698 uint32_t cpsr = __get_CPSR(); in __set_SP_usr() local 703 __set_CPSR(cpsr); in __set_SP_usr()
|
A D | cmsis_armcc_ca.h | 354 __STATIC_INLINE void __set_CPSR(uint32_t cpsr) in __set_CPSR() argument 357 __regCPSR = cpsr; in __set_CPSR()
|
/AliOS-Things-master/hardware/chip/rtl872xd/aos/ |
A D | aos_osdep.c | 443 cpsr = cpu_intrpt_save(); in _aos_ATOMIC_ADD() 445 cpu_intrpt_restore(cpsr); in _aos_ATOMIC_ADD() 453 cpsr = cpu_intrpt_save(); in _aos_ATOMIC_SUB() 472 cpsr = cpu_intrpt_save(); in _aos_ATOMIC_ADD_RETURN() 476 cpu_intrpt_restore(cpsr); in _aos_ATOMIC_ADD_RETURN() 485 cpsr = cpu_intrpt_save(); in _aos_ATOMIC_SUB_RETURN() 489 cpu_intrpt_restore(cpsr); in _aos_ATOMIC_SUB_RETURN()
|
/AliOS-Things-master/components/amp_adapter/platform/linux/peripheral/ |
A D | aos_hal_onewire.c | 22 void cpu_intrpt_restore(size_t cpsr) in cpu_intrpt_restore() argument
|
/AliOS-Things-master/kernel/rhino/include/ |
A D | k_critical.h | 59 cpu_intrpt_restore(cpsr); \
|
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/hardware/onewire/ |
A D | module_onewire.c | 36 #define RHINO_CPU_INTRPT_DISABLE() do{ cpsr = cpu_intrpt_save(); }while(0) 37 #define RHINO_CPU_INTRPT_ENABLE() do{ cpu_intrpt_restore(cpsr); }while(0) 41 int cpsr; in oneWireUdelay() local
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/hardware/onewire/ |
A D | module_onewire.c | 40 #define RHINO_CPU_INTRPT_DISABLE() do{ cpsr = cpu_intrpt_save(); }while(0) 41 #define RHINO_CPU_INTRPT_ENABLE() do{ cpu_intrpt_restore(cpsr); }while(0) 47 int cpsr; in oneWireUdelay() local
|
/AliOS-Things-master/components/debug/src/ |
A D | debug_test.c | 86 (void)cpsr; in ALIOS_CLI_CMD_REGISTER()
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/os/os_dep/include/ |
A D | osdep_service.h | 226 #define ALLOC_CPSR u32 cpsr 563 #define rtw_enter_critical(plock,pirqL) {cpsr =cpu_intrpt_save();} 564 #define rtw_exit_critical(plock,pirqL) {cpu_intrpt_restore(cpsr);} 565 #define rtw_enter_critical_from_isr(plock,pirqL) {cpsr =cpu_intrpt_save();} 566 #define rtw_exit_critical_from_isr(plock,pirqL) {cpu_intrpt_restore(cpsr);}
|
/AliOS-Things-master/components/ble_host/bt_host/port/aos/ |
A D | aos_port.c | 303 return cpsr; in irq_lock() 309 cpsr = key; in irq_unlock()
|
/AliOS-Things-master/hardware/arch/armv7m/armcc/m3/ |
A D | port_s.S | 46 ; void cpu_intrpt_restore(size_t cpsr);
|
/AliOS-Things-master/hardware/arch/armv7m/iccarm/m3/ |
A D | port_s.S | 46 ; void cpu_intrpt_restore(size_t cpsr);
|
/AliOS-Things-master/hardware/arch/armv7m/gcc/m3/ |
A D | port_s.sx | 46 @ void cpu_intrpt_restore(size_t cpsr);
|
/AliOS-Things-master/hardware/arch/armv7m/iccarm/m4/ |
A D | port_s.S | 46 ; void cpu_intrpt_restore(size_t cpsr);
|
/AliOS-Things-master/hardware/arch/armv7m/iccarm/m7/ |
A D | port_s.S | 46 ; void cpu_intrpt_restore(size_t cpsr);
|
/AliOS-Things-master/hardware/arch/armv7m/armcc/m4/ |
A D | port_s.S | 46 ; void cpu_intrpt_restore(size_t cpsr);
|
/AliOS-Things-master/hardware/arch/armv7m/armcc/m7/ |
A D | port_s.S | 46 ; void cpu_intrpt_restore(size_t cpsr);
|