plan9fox/sys/src/9/teg2
cinap_lenrek 24057fd4f4 kernel: introduce per process FPU struct (PFPU) for more flexible machine specific fpu handling
introducing the PFPU structue which allows the machine specific
code some flexibility on how to handle the FPU process state.

for example, in the pc and pc64 kernel, the FPsave structure is
arround 512 bytes. with avx512, it could grow up to 2K. instead
of embedding that into the Proc strucutre, it is more effective
to allocate it on first use of the fpu, as most processes do not
use simd or floating point in the first place. also, the FPsave
structure has special 16 byte alignment constraint, which further
favours dynamic allocation.

this gets rid of the memmoves in pc/pc64 kernels for the aligment.

there is also devproc, which is now checking if the fpsave area
is actually valid before reading it, avoiding debuggers to see
garbage data.

the Notsave structure is gone now, as it was not used on any
machine.
2017-11-04 20:08:22 +01:00
..
notes add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
_announce add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
arch.c ARM: kernel changes make teg2 procfork() call fpuprocfork() and acid fixes for vfp instruction 2013-06-10 18:07:16 +05:30
archtegra.c kernel: change active.machs from bitmap to char array to support up to 64 cpus on pc64 2016-01-05 05:32:40 +01:00
arm.h add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
arm.s add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
cache-l2-pl310.c add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
cache.v7.s teg2: fix wrong l2 setshift address in wholecache() (from sources) 2014-09-17 16:34:30 +02:00
caches-v7.c add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
caches.c add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
clock-tegra.c add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
clock.c add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
coproc.c add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
dat.h kernel: introduce per process FPU struct (PFPU) for more flexible machine specific fpu handling 2017-11-04 20:08:22 +01:00
devarch.c add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
devether.c devether: remove qfull prints and fix loopback packet handling of etheroq() 2013-12-16 19:19:15 +01:00
ether8169.c kernel: remove Block refcounting (thanks erik) 2014-06-08 00:19:33 +02:00
etherif.h add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
ethermii.c add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
ethermii.h add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
fns.h kernel: do not pull in atom.s from libc for arm kernels 2015-06-19 10:27:26 +02:00
fpi.c add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
fpi.h add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
fpiarm.c kernel: introduce per process FPU struct (PFPU) for more flexible machine specific fpu handling 2017-11-04 20:08:22 +01:00
fpimem.c add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
init9.s add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
io.h io.h: fis comment PciSID (alphapc, kw, mtx, teg2) (thanks qeed!) 2015-05-30 16:50:02 +02:00
l.s all kernels: declare _tas() to prevent pulling in libc version (for libmemdraw) 2015-07-07 19:17:55 +02:00
lexception.s add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
lproc.s add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
main.c kernel: introduce devswap #¶ to serve /dev/swap and handle swapfile encryption 2017-10-29 23:09:54 +01:00
mem.h sysexec: fix possible segment overlap with temporary stack 2013-03-16 02:37:07 +01:00
mkfile kernel: introduce devswap #¶ to serve /dev/swap and handle swapfile encryption 2017-10-29 23:09:54 +01:00
mmu.c teg2: fix format string warning in mmu.c 2017-03-11 16:07:48 +01:00
nvram add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
pci.c add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
rebootcode.s add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
softfpu.c ARM: kernel changes make teg2 procfork() call fpuprocfork() and acid fixes for vfp instruction 2013-06-10 18:07:16 +05:30
syscall.c pass Ureg* argument to note handler in R0 register on arm 2015-04-30 16:29:40 +02:00
trap.c add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
ts kernel: introduce devswap #¶ to serve /dev/swap and handle swapfile encryption 2017-10-29 23:09:54 +01:00
uarti8250.c add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
usbehci.h add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
v7-arch.c add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
vfp3.c ARM: kernel changes make teg2 procfork() call fpuprocfork() and acid fixes for vfp instruction 2013-06-10 18:07:16 +05:30
words add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00