MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / lwp_in_user_space

Function lwp_in_user_space

components/lwp/lwp_internal.h:30–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28rt_err_t lwp_mutex_release_safe(rt_mutex_t mtx);
29
30rt_inline rt_bool_t lwp_in_user_space(const char *addr)
31{
32 return (addr >= (char *)USER_VADDR_START && addr < (char *)USER_VADDR_TOP);
33}
34
35#ifdef RT_USING_SMP
36 #define LOCAL_IRQ_MASK() rt_hw_local_irq_disable()

Callers 3

lwp_memcpyFunction · 0.85
lwp_strlenFunction · 0.85
tty_generic_ioctlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected