| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Like autumn leaves on water
don't fear the tedu@
|
|
|
|
|
|
| |
``Correct the _atomic_lock() asm so that gcc accepts the constraints
when compiling without optimization; fix copied from the kernel's atomic.h''
spotted by jim@
|
|
|
|
|
|
|
|
|
| |
on a 128-bit boundary like we do on amd64. The padding within the struct
made sure the state was properly aligned *within* the struct, but since the
alignment restriction on the struct itself was only 64-bit, the required
alignment was not guaranteed. We just got lucky.
ok oga@, guenther@
|
|
|
|
| |
ok espie@, beck@
|
|
|
|
|
|
|
|
|
| |
it need to be matched with a call to _thread_machdep_restore_float_state(),
so add missing one in _thread_machdep_init().
- 16-byte align fp frame
- call fwait() before save and and after restoring fp state.
lots of guidance and ok mickey@
|
| |
|
| |
|
|
|
|
| |
ok fgs@
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Add m68k, mips and sparc. (needs more careful checking)
Add 'slow_atomic_lock' for crippled archs.
|
|
|
|
|
|
|
| |
add (broken) mips md stuff
fix some const warnings
add sigaltstack() stub
another hash at getting shlib auto-init to work (mips/elf and i386/a.out)
|
| |
|
|
|
|
|
|
|
| |
SYS.h is copied from lib/libc/arch/i386/SYS.h but with "machdep_sys_"
preprended to the syscall name in the ENTRY() macro. When the code
is a bit more sync'ed, using SYS.h from the linc hierarchy should
work.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o general changes so that now the library compiles and many of the
tests run correctly
o pthreads/Makefile.inc rebuilt using libc/sys/Makefile.inc as a template.
this should be kept in sync in case of new syscalls
soon TODO:
figure out why remaining tests fail and fix
look at building .so version of library
tidy up arch/i386 directory - no longer uses syscall-template.S
port other arch's from libc syscall templates
|
|
|
|
|
|
|
|
| |
directories. These files have been renamed as appropriate, but
hackers of these files should note those that started off as netbsd
files (alpha and sparc).
also moved machdep/openbsd-2.0/ to include/sys/
|
|
|