Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-05-13 | remove prototypes with no matching function | Jonathan Gray | |
ok mpi@ | |||
2024-03-29 | Clean the fpu trap code: | Miod Vallat | |
- since there are no hardware fpu operation queues on real sparc64 hardware, don't bother declaring the relevant struct and fields. - when an fpu instruction needs to be emulated, pass it directly to fpu_cleanup rather than fake its appearance in the fpu queue. While there, also pass the ready-to-use union sigval computed in trap() in case a signal needs to be delivered. ok claudio@ kettenis@ | |||
2024-03-29 | No longer include <machine/fsr.h> from <machine/reg.h>, and have the few | Miod Vallat | |
users which need both explicitly include both. ok claudio@ kettenis@ | |||
2024-03-29 | De-register fpu completion code. | Miod Vallat | |
There are pending changes to some of these files, and this would get in the way. ok claudio@ kettenis@ | |||
2022-10-21 | Remove vestigial bits of 32-bit binaries support; drop the `64' suffix in | Miod Vallat | |
struct names when the matching `32' flavour got removed. Joint work with cheloha@, all bugs mine. | |||
2022-10-16 | Change function definitions using the identifier-list form used in the | Jonathan Gray | |
1st edition of Kernighan and Ritchie's The C Programming Language, to that of the parameter-type-list form described in the ANSI X3.159-1989 standard. In ISO/IEC 9899:2023 drafts, there is only one form of function definition. "N2432 Remove support for function definitions with identifier lists". ok kettenis@ | |||
2021-03-11 | spelling | Jonathan Gray | |
2020-08-19 | Push KERNEL_LOCK/UNLOCK() dance inside trapsignal(). | Martin Pieuchot | |
ok kettenis@, visa@ | |||
2019-06-26 | Fix sign handling in emulated FP operations on sparc64 | Jeremie Courreges-Anglas | |
Adapted from FreeBSD revision 146673 by Stephen Paskaluk and stefanf@FreeBSD. ok deraadt@ | |||
2017-01-21 | p_comm is the process's command and isn't per thread, so move it from | Philip Guenther | |
struct proc to struct process. ok deraadt@ kettenis@ | |||
2016-10-08 | Various printf claim to report the PID, so actually report that and not the TID | Philip Guenther | |
Build testing assistance from deraadt@ | |||
2014-09-14 | Fix some bugs in the fpu_sqrt implementation that would limit the accuracy | Mark Kettenis | |
of the result in many cases. From FreeBSD allbeit with some changes to keep the coding style consistent. | |||
2013-11-26 | 1 << 31 cleanup. Eitan Adler pointed out that there has been a | Theo de Raadt | |
resurrection of the bad idiom in the tree. sufficient review by miod, kettenis, tedu | |||
2011-09-17 | arithemtic -> arithmetic | Miod Vallat | |
2011-07-11 | Revert art@'s moving around of the KERNEL_LOCK()/KERNEL_UNLOCK() calls, | Philip Guenthe | |
as it causes hangs in some ports, including libsigsegv's configure script confirmed by krw@, landry@ | |||
2011-07-07 | There is a bunch of places in the kernel entry points where we don't | Artur Grabowski | |
hold the kernel lock, but still need call one function that needs it. Instead of grabbing the lock all over the place, move the locks into the affected functions: trapsignal, scdebug*, ktrsyscall, ktrsysret, systrace_redirect and ADDUPROF. In the cases we already hold the biglock we'll just recurse. kettenis@, beck@ ok | |||
2011-07-06 | Clean up after P_BIGLOCK removal. | Artur Grabowski | |
KERNEL_PROC_LOCK -> KERNEL_LOCK KERNEL_PROC_UNLOCK -> KERNEL_UNLOCK oga@ ok | |||
2010-05-09 | Fix comments as well. | Mark Kettenis | |
2010-05-09 | Rename round() to fpu_round(). This matches the m68k code from which this | Mark Kettenis | |
code is derived and makes gcc4 happy by avoiding a conflict with the builtin for the standard C99 round(3). ok miod@ | |||
2010-01-01 | Make sure we grab the kernel lock before invoking trapsignal(). | Miod Vallat | |
ok kettenis@ | |||
2008-06-26 | First pass at removing clauses 3 and 4 from NetBSD licenses. | Ray Lai | |
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@ | |||
2007-09-09 | Make fpproc per-cpu. This turns fpproc into a macro, so adjust fpu/fpu.c | Mark Kettenis | |
to avoid collisions. | |||
2006-06-21 | There was hope, at one time, of sharing fpu/ with sparc. That's still | Jason Wright | |
possible, but not with #ifdef SUN4U all over the place. The define should be _v9 or __sparc64__ since it will equally well apply to all v9 machines. We'll burn that bridge before we cross it. | |||
2006-05-14 | Make the array of fpu exception types/codes big enough. | Mark Kettenis | |
Fix a typo too, such that we actually read beyond element 0 in all cases. ok miod@ | |||
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-06-02 | one more... nuke clause 3 & 4 | Jason Wright | |
2002-08-12 | Remove a large chunk of `#ifdef notyet' code | Jason Wright | |
2002-08-03 | Don't depend on curproc, pass the proc * down to the functions that need it ↵ | Jason Wright | |
(fmovr/fmovcc). | |||
2002-07-10 | 'sez' is not an english word; ok deraadt@ | Jason Peel | |
2002-03-14 | First round of __P removal in sys | Todd C. Miller | |
2001-10-05 | define FPE_STATE so that DEBUG will compile | Jason Wright | |
2001-09-15 | Mostly rewritten decode of fpu emulation: | Jason Wright | |
o handles decode of all 64 32 bit registers (based on type) o easier to read (at least imo). o needs some optimization (clarity was the first goal here) | |||
2001-09-10 | More accurate compare (from netbsd) | Jason Wright | |
2001-09-10 | More debugging stuff. | Jason Wright | |
2001-09-10 | Add more debugging stuff (including fpstate dumping) | Jason Wright | |
Also, and more importantly, applying the same mask to rs2 and rd is bad ju-ju for the F?TO? instructions. | |||
2001-09-10 | Add some debugging stuff: a function to dump all of the fpstate64 fields. | Jason Wright | |
2001-09-09 | only one prototype for fpu_implode necessary. | Jason Wright | |
2001-09-09 | in fpu_ftox() make sure the high bits are the return value and res[1] gets | Jason Wright | |
the low bits. | |||
2001-09-08 | From NetBSD: debugging stuff to dump fpn's | Jason Wright | |
2001-09-08 | Import netbsd's fpu handling (modified to be separate from sparc); this is | Jason Wright | |
for paranoia's sake (don't want to break sparc32 while hacking on it). Real work by art. |