mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-25 08:47:16 +00:00
[component/lwp] support more feature of signal from IEEE Std 1003.1-2017 (#7828)
Signed-off-by: Shell <smokewood@qq.com>
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
/*
|
||||
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||||
* Copyright (c) 2006-2023, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
* Change Logs:
|
||||
* Date Author Notes
|
||||
* 2022-09-30 RT-Thread the general porting API for lwp
|
||||
* 2023-07-18 Shell New signal arch API arch_thread_signal_enter
|
||||
*/
|
||||
|
||||
#ifndef __LWP_ARCH_COMM__
|
||||
@@ -54,4 +56,9 @@ void arch_set_thread_area(void *p);
|
||||
void* arch_get_tidr(void);
|
||||
void arch_set_tidr(void *p);
|
||||
|
||||
/** entry point of architecture signal handling */
|
||||
rt_noreturn void arch_thread_signal_enter(int signo, siginfo_t *psiginfo,
|
||||
void *exp_frame, void *entry_uaddr,
|
||||
lwp_sigset_t *save_sig_mask);
|
||||
|
||||
#endif /* __LWP_ARCH_COMM__ */
|
||||
|
||||
Reference in New Issue
Block a user