rt-thread-official/components/lwp
Shell 9a27de92ae feat: smart: user space context optimization
This patch optimizes the user-space context handling in the ARM64
architecture, specifically improving how the context is saved and
restored during system calls and interrupts. The changes make the
code more efficient and easier to maintain, while ensuring proper
preservation of user context during system transitions.

Changes:
- Introduced a parameter for context saving to improve flexibility.
- Replaced hardcoded stack pointer operations with frame-relative
  references for better readability and code reuse.
- Simplified context restoration, removing redundant operations like
  loading/storing floating-point registers.

Signed-off-by: Shell <smokewood@qq.com>
2024-09-19 23:02:39 -04:00
..
arch feat: smart: user space context optimization 2024-09-19 23:02:39 -04:00
terminal fixup: pty: possible memory leaking on close() 2024-09-19 23:02:25 -04:00
vdso fixup: compiler warning on cvitek risc-v cause by unsupport vDSO on rv64 2024-07-29 20:18:19 +08:00
Kconfig fixup: smart: remove unnecessary Kconfig option 2024-09-14 13:50:36 -04:00
SConscript [lwp] 取消脚本中限制rv的具体cpu类别 2024-09-13 17:28:47 -04:00
libc_musl.h sync smart & dfs (#8672) 2024-03-28 23:42:56 +08:00
lwp.c [smart] add CPU/thread usage tracing config (#8947) 2024-06-04 00:06:41 +08:00
lwp.h [lwp][vdso] Add VDSO functionality under the aarch64 architecture (#9176) 2024-07-15 17:58:29 +08:00
lwp_arch_comm.h sync smart & dfs (#8672) 2024-03-28 23:42:56 +08:00
lwp_args.c fixup: uninitialized argument vector element 2024-08-24 15:46:35 -04:00
lwp_args.h [smart] fixup of script execution (#9009) 2024-05-31 17:32:19 +08:00
lwp_avl.c [rtdef] use lower-case to define attributes (#6728) 2022-12-11 13:12:03 -05:00
lwp_avl.h sync branch rt-smart. (#6641) 2022-12-03 12:07:44 +08:00
lwp_dbg.c sync branch rt-smart. (#6641) 2022-12-03 12:07:44 +08:00
lwp_dbg.h [component/lwp] support more feature of signal from IEEE Std 1003.1-2017 (#7828) 2023-07-20 00:02:41 +08:00
lwp_elf.c [lwp][vdso] Add VDSO functionality under the aarch64 architecture (#9176) 2024-07-15 17:58:29 +08:00
lwp_elf.h sync branch rt-smart. (#6641) 2022-12-03 12:07:44 +08:00
lwp_futex.c sync smart & dfs (#8672) 2024-03-28 23:42:56 +08:00
lwp_futex_internal.h 🎯 Sync smart & scheduler codes (#8537) 2024-02-23 17:49:15 +08:00
lwp_futex_table.c 🎯 Sync smart & scheduler codes (#8537) 2024-02-23 17:49:15 +08:00
lwp_internal.c [fixup] aarch64 UMP compiler error (#8677) 2024-03-30 17:58:38 +08:00
lwp_internal.h [smart] fixup of script execution (#9009) 2024-05-31 17:32:19 +08:00
lwp_ipc.c 🎯 Sync smart & scheduler codes (#8537) 2024-02-23 17:49:15 +08:00
lwp_ipc.h fix rt_channel lock. (#8244) 2023-11-10 21:37:07 +08:00
lwp_ipc_internal.h sync branch rt-smart. (#6641) 2022-12-03 12:07:44 +08:00
lwp_itimer.c 🎯 Sync smart & scheduler codes (#8537) 2024-02-23 17:49:15 +08:00
lwp_jobctrl.c sync smart & dfs (#8672) 2024-03-28 23:42:56 +08:00
lwp_mm.c sync branch rt-smart. (#6641) 2022-12-03 12:07:44 +08:00
lwp_mm.h sync branch rt-smart. (#6641) 2022-12-03 12:07:44 +08:00
lwp_pgrp.c [lwp] Implementation of setpgrp and fix mmap2 problems (#9308) 2024-08-22 17:53:18 -04:00
lwp_pid.c [lwp]list_process can print tid (#8991) 2024-05-31 17:30:46 +08:00
lwp_pid.h sync smart & dfs (#8672) 2024-03-28 23:42:56 +08:00
lwp_session.c sync smart & dfs (#8672) 2024-03-28 23:42:56 +08:00
lwp_shm.c Sync dfs lwp (#8123) 2023-10-17 13:07:59 +08:00
lwp_shm.h sync branch rt-smart. (#6641) 2022-12-03 12:07:44 +08:00
lwp_signal.c sync smart & dfs (#8672) 2024-03-28 23:42:56 +08:00
lwp_signal.h sync smart & dfs (#8672) 2024-03-28 23:42:56 +08:00
lwp_sys_socket.h [component][net]add more socket flag 2024-09-13 17:30:24 -04:00
lwp_syscall.c [component][net]add more socket flag 2024-09-13 17:30:24 -04:00
lwp_syscall.h sync smart & dfs (#8672) 2024-03-28 23:42:56 +08:00
lwp_tid.c [lwp][tid]add error log when tid depleted, and return correct errno when clone failed (#9327) 2024-08-22 17:52:45 -04:00
lwp_user_mm.c [smart] feat: add unmap for null mapper (#9186) 2024-07-16 20:38:55 +08:00
lwp_user_mm.h [smart] add mprotect config (#9082) 2024-06-22 13:30:55 +08:00
page.h [rt-smart] kernel virtual memory management layer (#6809) 2023-01-08 21:08:55 -05:00
syscall_generic.h fixup: ptyfs: CI reported snprintf type issues 2024-09-01 15:12:34 -04:00