History log of /src/lib/libc/arch/or1k |
Revision | Date | Author | Comments |
1.3 | 31-Oct-2021 |
thorpej | Tidy up how __sigaction14_sigtramp.c is added to SRCS.
|
1.2 | 05-Sep-2014 |
matt | The OpenRISC calling standard only passes 6 parameters by register. Any others are passed on the stack. NetBSD syscalls use up to 8 parameters so that could mean two left on the stack for the kernel to access. It's easier for the kernel if userland could fetch into registers beforehand. So we generate sysassym.h which contains the number of arguments for each syscall and then use that to determine how many arguments need to be fetched from the stack.
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.2 | 05-Sep-2014 |
matt | The OpenRISC calling standard only passes 6 parameters by register. Any others are passed on the stack. NetBSD syscalls use up to 8 parameters so that could mean two left on the stack for the kernel to access. It's easier for the kernel if userland could fetch into registers beforehand. So we generate sysassym.h which contains the number of arguments for each syscall and then use that to determine how many arguments need to be fetched from the stack.
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.1 | 05-Sep-2014 |
matt | The OpenRISC calling standard only passes 6 parameters by register. Any others are passed on the stack. NetBSD syscalls use up to 8 parameters so that could mean two left on the stack for the kernel to access. It's easier for the kernel if userland could fetch into registers beforehand. So we generate sysassym.h which contains the number of arguments for each syscall and then use that to determine how many arguments need to be fetched from the stack.
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.2 | 14-Sep-2023 |
rin | libc/arch: Fix copy-paste; or1k, powerpc64, riscv are not powerpc ;)
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.2 | 11-Oct-2023 |
skrll | Consistently pass 0 as first and ignored argument to sigprocmask in the setjmp implementations.
NFCI.
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.2 | 30-Nov-2024 |
christos | Create a new header lwp_private.h to contain _lwp_getprivate_fast, _lwp_gettcb_fast, _lwp_settcb and remove them from mcontext.h, so that: 1. we don't need special hacks to hide them 2. we can include <lwp.h> where needed to get the necessary prototypes without redefining them locally.
|
1.1 | 03-Sep-2014 |
matt | branches: 1.1.28; New files for OR1K support
|
1.1.28.1 | 02-Aug-2025 |
perseant | Sync with HEAD
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.2 | 19-Mar-2015 |
joerg | Call libc's fpgetround.
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.2 | 26-Oct-2021 |
christos | Merge all MD __sigaction14_sigtramp.c copies into one: - sparc and sparc64 were not using version 0 sigcontext when there were no arguments in the signal version. This was probably a bug. - vax is using +1 the version numbers of the other archs. - Only hppa was defining __LIBC12_SOURCE__ so it was getting a working sigcontext before. all the other ports that supported sigcontext had the compat code disabled. [pointed out by thorpej, thanks!] If we want to remove sigcontext support from userland at least now there is less work to do so.
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.2 | 18-Apr-2020 |
thorpej | Rename "syscall" to "_syscall" and provide "syscall" as a weak alias.
|
1.1 | 03-Sep-2014 |
matt | branches: 1.1.16; New files for OR1K support
|
1.1.16.1 | 21-Apr-2020 |
martin | Sync with HEAD
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.2 | 07-Feb-2017 |
kamil | Mark exect(3) obsolete and bind it to plain execve(2) on all platforms
The original exect(2) from BSD4.2 was enabling bit for tracing (single-step mode) and calling execve(2). The purpose of it was to generate a signal for a tracer once the application will change its image to a new program.
This approach no longer works as: - exect(2) traces (single-steps) libc and it requires hundreds or thousands steps before entering a new image - it's vax and x86 specific code - this functionality has been moved to the kernel - once a process is traced it will generate SIGTRAP with si_code TRAP_EXEC and route it to its debugger - the side effects and unportability make this interface unusable - there are no known users of this interface - it apparently never worked better since day0 of NetBSD ("day0 bug")
Users are requested to move to other execve(2) variants. Calling current execve(2) as it is the most similar behavior to this one from BSD4.2.
Discussed several times on mailing lists and in PR/51700.
Add warning to exect(3) telling about marking this function obsolete.
This function is prepared to be removed in next libc major bump.
Sponsored by <The NetBSD Foundation>
|
1.1 | 03-Sep-2014 |
matt | branches: 1.1.2; 1.1.4; New files for OR1K support
|
1.1.4.1 | 21-Apr-2017 |
bouyer | Sync with HEAD
|
1.1.2.1 | 20-Mar-2017 |
pgoyette | Sync with HEAD
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|
1.1 | 03-Sep-2014 |
matt | New files for OR1K support
|