summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/include/fpu.h
AgeCommit message (Collapse)Author
2020-07-15Expose fpu_get_fault_code() even if !PPC_HAVE_FPU, andrin
adjust it to systems without FPU.
2020-07-06Drop unused opt_multiprocessor.h includes.rin
2020-07-06Style and cosmetic changes. No binary changes intended.rin
2018-04-19s/static inline/static __inline/g for consistency.christos
2017-03-16allow pcu_save() and pcu_discard() to be called on other threads,chs
ptrace needs to use it that way.
2013-08-22-extend the pcu(9) API by a function which saves all context on thedrochner
current CPU, and use it if a CPU is taken offline -add a bool argument to pcu_discard which tells whether the internal "LWP has used the coprocessor" flag should be set or reset. The flag is reported by pcu_used_p(). If set, future accesses should use the state stored in the PCB. If reset, it should be reset to default. The former case is useful for setmcontext(). With that, it should not be necessary anymore to manage the "FPU used" state by an additional MD variable. approved by matt
2011-05-19Remove unnecessary Tab.kiyohara
2011-05-02Move powerpc to use pcu to manage FPU/AltiVec/SPE.matt
2011-01-18Add support for BookE Freescale MPC85xx (e500 core) processors.matt
Add fast softint support for PowerPC (though only booke uses it). Redo FPU/VEC support and add e500 SPE support. Rework trap/intrs to use a common trapframe format. Support SOFTFLOAT (no hardfloat or fpu emulation) for BookE.
2007-10-17Merge the ppcoea-renovation branch to HEAD.garbled
This branch was a major cleanup and rototill of many of the various OEA cpu based PPC ports that focused on sharing as much code as possible between the various ports to eliminate near-identical copies of files in every tree. Additionally there is a new PIC system that unifies the interface to interrupt code for all different OEA ppc arches. The work for this branch was done by a variety of people, too long to list here. TODO: bebox still needs work to complete the transition to -renovation. ofppc still needs a bunch of work, which I will be looking at. ev64260 still needs to be renovated amigappc was not attempted. NOTES: pmppc was removed as an arch, and moved to a evbppc target.
2006-08-051st cut of Powermac G5 support (uses bridge mode).sanjayl
2005-12-11merge ktrace-lwp.christos
2004-04-16Add a SAVE/DISCARD flag to save_{fpu,vec}_lwp. Use it appropriately.matt
Nuke struct fpu and use struct fpreg instead (except for the names, they were identical). On MP machines, this will avoid an unneeded IPI to save the register contents that are about to discarded.
2004-04-04Add int get_fpu_fault_code(void).matt
2003-06-23Make sure to include opt_foo.h if a defflag option FOO is used.martin
2003-02-03Rename PPC_MPC6XX to PPC_OEA (and any mpc6xx reference to oea).matt
2003-01-18Merge the nathanw_sa branch.thorpej
2002-11-03Change _MACHINE_foo_H_ to _POWERPC_foo_H_matt
2002-07-28restructure the FPU and AltiVEC code so that it works for MP.chs
2002-05-19make usable in LKM context (use #if defined(_KERNEL_OPT))jdolecek
2001-12-05fix macppc MULTIPROCESSOR compilation.chs
2001-06-13Add a port to IBM's PPC405GP Reference Board (the "walnut")simonb
by Eduardo Horvath and Simon Burge of Wasabi Systems. IBM 4xx series CPU features: - New pmap and revised trap handler. - Support on-chip timers, PCI controller, UARTs - Framework for on-chip ethernet and watchdog timer. General PowerPC features: - Add in-kernel PPC floating point emulation - New in{,4}_cksum that is between 1.5 and 5 times faster than the old version depending on CPU type. General changes: - Kernel support for generic dbsym-style symbols.
2001-02-04Build with -Wall -Wetc.briggs
1999-12-07Fix "FPCSR" to "FPSCR". ("Floating Point Status and Control Register")danw
1996-09-30PowerPC portws