| #
16543c49 |
| 30-Nov-2024 |
christos <christos@NetBSD.org> |
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 includ
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.
show more ...
|
| #
bb478f59 |
| 04-Nov-2024 |
christos <christos@NetBSD.org> |
Undo previous lwp.h change.
|
| #
6dc4d4da |
| 03-Nov-2024 |
christos <christos@NetBSD.org> |
Split __lwp_getprivate_fast and __lwp_*tcb from mcontext.h into a separate lwp.h file.
|
| #
43bbf82a |
| 18-May-2024 |
christos <christos@NetBSD.org> |
allow things to compile again
|
| #
f55b16a2 |
| 29-Jun-2020 |
scole <scole@NetBSD.org> |
Fix for last checkin, don't try use non-existent register from a (currently) dummy struct
|
| #
4ab1daa4 |
| 29-Jun-2020 |
scole <scole@NetBSD.org> |
Allow kernel to compile by preventing "error: stack usage is ..." too-large errors. What was there previously was not correct and this will need to be revisited for debugger to ever become functiona
Allow kernel to compile by preventing "error: stack usage is ..." too-large errors. What was there previously was not correct and this will need to be revisited for debugger to ever become functional anyway.
show more ...
|
| #
4d3a9066 |
| 27-Dec-2019 |
kamil <kamil@NetBSD.org> |
Harmonize the namespace of fast TLS base pointer getter functions
Protect __lwp_getprivate_fast() with _RTLD_SOURCE, _LIBC_SOURCE and __LIBPTHREAD_SOURCE__.
Include in this namespace <sys/tcl.h> an
Harmonize the namespace of fast TLS base pointer getter functions
Protect __lwp_getprivate_fast() with _RTLD_SOURCE, _LIBC_SOURCE and __LIBPTHREAD_SOURCE__.
Include in this namespace <sys/tcl.h> and use __BEGIN_DECLS/__END_DECLS for the sake of consistency.
show more ...
|
| #
30eabea3 |
| 17-Jun-2019 |
kamil <kamil@NetBSD.org> |
Enhance ia64/mcontext defines
Stop mapping _UC_MACHINE_FP() to a register as it is not supported by CPU. There is need to use in code __builtin_frame_address() inlined in the code to get the frame p
Enhance ia64/mcontext defines
Stop mapping _UC_MACHINE_FP() to a register as it is not supported by CPU. There is need to use in code __builtin_frame_address() inlined in the code to get the frame pointer.
Return a constant value 0 instead. New value does not pretend to return a meaningful value.
While there, fix the definition of _UC_MACHINE_SET_PC as it didn't contain the pc argument in the definition.
show more ...
|
| #
098fbe09 |
| 26-Apr-2018 |
scole <scole@NetBSD.org> |
Update some of the _UC_MACHINE* macros even though gregs[] aren't tied to anything yet
|
| #
65d22cea |
| 27-Feb-2018 |
kamil <kamil@NetBSD.org> |
Add a dummy implementation of _UC_MACHINE_INTRV() for ia64
This fixes a build problem in src/tests/lib/libc/sys/t_ucontext.c.
This needs to be revisited once the port will get more mature.
|
| #
84799695 |
| 15-Feb-2018 |
kamil <kamil@NetBSD.org> |
Introduce _UC_MACHINE_FP() as a macro
_UC_MACHINE_FP() is a helper macro to extract from mcontext a frame pointer.
Don't rely on this interface as a compiler might strip frame pointer or optimize i
Introduce _UC_MACHINE_FP() as a macro
_UC_MACHINE_FP() is a helper macro to extract from mcontext a frame pointer.
Don't rely on this interface as a compiler might strip frame pointer or optimize it making this interface unreliable.
For hppa assume a small frame context, for larger frames FP might be located in a different register (4 instead of 3).
For ia64 there is no strict frame pointer, and registers might rotate. Reuse 79 following:
./gcc/config/ia64/ia64.h:#define HARD_FRAME_POINTER_REGNUM LOC_REG (79)
Once ia64 will mature, this should be revisited.
A macro can encapsulate a real function for extracting Frame Pointer on more complex CPUs / ABIs.
For the remaining CPUs, reuse standard register as defined in appropriate ABI.
The direct users of this macro are LLVM and GCC with Sanitizers.
Proposed on tech-userlevel@.
Sponsored by <The NetBSD Foundation>
show more ...
|
| #
bea6fe22 |
| 05-Aug-2016 |
scole <scole@NetBSD.org> |
PR port-ia64/51261
Add __fpregset_t __gregset_t _UC_MACHINE_PC stubs
|
| #
5e0b1736 |
| 30-Jun-2016 |
mrg <mrg@NetBSD.org> |
add a definition for _UC_MACHINE_PC which libasan wants.
XXX: i'm not 100% sure i picked the right register.
|
| #
7d545240 |
| 26-Dec-2012 |
martin <martin@NetBSD.org> |
Install headers needed for userland build. Add missing accessors for pthread and TLS support - just dummies for now.
|
| #
ce099b40 |
| 28-Apr-2008 |
martin <martin@NetBSD.org> |
Remove clause 3 and 4 from TNF licenses
|
| #
ba7cbe76 |
| 07-Apr-2006 |
cherry <cherry@NetBSD.org> |
Initial import of arch/ia64 sources. These sources are ported from FreeBSD/ia64 code. See individual source files for credits. In addition, code from NetBSD/alpha NetBSD/sparc64, NetBSD/i386 and NetB
Initial import of arch/ia64 sources. These sources are ported from FreeBSD/ia64 code. See individual source files for credits. In addition, code from NetBSD/alpha NetBSD/sparc64, NetBSD/i386 and NetBSD/amd64 were used as templates, along with my own additions.
show more ...
|