| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
ok deraadt@
|
|
|
|
| |
ok mortimer
|
|
|
|
| |
ok deraadt@
|
|
|
|
|
| |
Put a hard-trap instruction after the syscall instruction.
ok kettenis mortimer
|
|
|
|
|
|
| |
calls are guarded. Adapt the first few hand-written functions to this
model (a few remain)
ok kettenis mortimer
|
|
|
|
|
|
| |
32-bit values.
ok gkoehler@, drahn@
|
|
|
|
|
|
|
| |
Initialize __curbrk = &_end.
It's a 64-bit pointer, so use ld/std instead of lwz/stw.
ok drahn@
|
|
|
|
|
|
|
|
|
|
|
| |
be 8 bytes in the 64-bit ABI just like in the 32-bit ABI. But that means
there is no "spare" word in the TCB that we can use to store a pointer
to our struct pthread. So we have to treat powerpc64 special.
Also recognize that the thread pointer points 0x7000 bytes after the TCB.
Since the TCB is 8 bytes this means that TCB_OFFSET should be 0x7008.
Pointed out by guenther@; ok deraadt@
|
| |
|
| |
|
|
|
|
| |
Use correct register to reference the location where we store CR.
|
|
|
|
| |
address to load the correct TOC address.
|
|
|
|
|
|
| |
of bcopy(9) doesn't work in its current state.
ok deraadt@
|
|
|
|
| |
we use ld to load it again in longjmp(3).
|
|
|
|
|
|
| |
instructions.
ok drahn@
|
| |
|
|
|
|
|
|
| |
aarch64/powerpc/powerpc64, making use of the count leading
zeros instruction. Also add a brief regression test.
ok deraadt@ kettenis@
|
|
|
|
|
|
| |
as the per-thread register.
ok patrick@, drahn@
|
| |
|
|
|
|
|
|
|
|
| |
Initial attempt to port powerpc code to powerpc64
Expects TOC loading in ENTRY(),
ok kettenis@ (some cleanup required)
|
|
|
|
|
|
|
|
|
| |
Initial attempt to port powerpc code to powerpc64
Expects TOC loading in ENTRY(),
memmove.S is the powerpc 32 bit, optimization is possible for 64 bit
and handle len of > 32 bits.
|
| |
|
|
|
|
|
|
| |
This is a almost a direct copy from powerpc with 64 bit mods,
with two additions present in 64 arch.
NOTE: long double 128 is not supported currently.
|
| |
|
|
|
|
|
|
|
|
| |
Initial attempt to port powerpc code to powerpc64
Expects TOC loading in ENTRY(),
ok kettenis@
|
|
Expects ELFv2 TOC loading in ENTRY(),
build with -gdwarf-4
Split SYS.h into SYS.h and DEFS.h
fix tabs after #define
|