plan9fox/sys/src/9/pc
cinap_lenrek 9652f5bec5 pc kernel: simulate FXSAVE/FXRSTOR tag-byte from x87 tag-word, copy fp state across fork
the tag-word is not compatible between x87 and sse, have to convert
properly for emulation to work.

we now copy fp state across fork (again!) to preserve FCW and MXCSR
registers. this might not be neccesary as we could probably just
get the current value for the curren process and avoid the fpsave()
call, but become conservative again.
2013-05-30 23:16:22 +02:00
..
a100p.cp Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
ahci.h adiahci: drive onlining, task file error (atapi) handling, missed interrupts, bios handoff, idle, cleanup 2012-12-24 18:07:18 +01:00
apbootstrap.s Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
apic.c archmp: checksum _MP_ structure before use, coherence() and comments (import from sources) 2012-08-25 14:06:42 +02:00
apm.c guesscpuhz(), apm suspend 2012-09-30 19:41:34 +02:00
apmjump.s Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
archacpi.c acpi: remove "cannot get pci bus number for ..." debug prints 2013-01-29 18:24:48 +01:00
archmp.c archmp: checksum _MP_ structure before use, coherence() and comments (import from sources) 2012-08-25 14:06:42 +02:00
audioac97.c audio: fix delay control, increase default buffer delay to 40ms 2013-02-01 15:23:38 +01:00
audioac97mix.c audioac97: fix inverted recgain control, init to zero recgain 2013-01-27 17:20:42 +01:00
audiohda.c audio: fix delay control, increase default buffer delay to 40ms 2013-02-01 15:23:38 +01:00
audiosb16.c audio: fix delay control, increase default buffer delay to 40ms 2013-02-01 15:23:38 +01:00
bios32.c add unified sigsearch() function to look for bios data structures 2012-08-24 15:36:56 +02:00
cga.c fix utf and rune handling in preparation for 32bit runes 2012-12-31 21:09:46 +01:00
cputemp.c rdmsr/wrmsr become tryrdmsr/trywrmsr, we can should check for trap 2012-08-31 16:48:33 +02:00
dat.h keep fpregs always in sse (FXSAVE) format, adapt libmach and acid files for new format 2013-05-26 22:41:40 +02:00
devarch.c sse kernel support (sources) 2013-05-22 23:47:05 +05:30
devether.c devether: handle malloc error in etherprobe() 2013-05-20 01:17:38 +02:00
devfloppy.c add Echange[] error string 2012-08-07 07:15:41 +02:00
devi82365.c kernel: xalloc error handling 2011-12-14 00:22:46 +01:00
devkbd.c Qcoalesce patch to satisfy full read length 2012-09-14 03:35:15 +02:00
devlm78.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
devlml.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
devlml.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
devlpt.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
devpccard.c kernel: fix inproper use of malloc/smalloc 2011-12-12 16:55:26 +01:00
devrtc.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
devtv.c panic: trailing newlines 2012-03-28 18:13:45 +02:00
devvga.c reduce software cursor flickering 2013-04-14 16:28:54 +02:00
dma.c dma: comment 2011-05-18 20:02:17 +00:00
ether79c970.c panic: trailing newlines 2012-03-28 18:13:45 +02:00
ether589.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
ether2000.c kernel: fix more malloc bugs 2011-12-12 22:24:25 +01:00
ether2114x.c panic: trailing newlines 2012-03-28 18:13:45 +02:00
ether8003.c kernel: fix more malloc bugs 2011-12-12 22:24:25 +01:00
ether8139.c kernel: fix more malloc bugs 2011-12-12 22:24:25 +01:00
ether8169.c ether8169: do phywakeup magic only for specific mac versions (from openbsd) 2013-05-12 18:25:24 +02:00
ether8390.c panic: trailing newlines 2012-03-28 18:13:45 +02:00
ether8390.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
ether82543gc.c intel ethernet: default to 16 byte cache line size when not properly initialized and disable checksum offload for igbe (from sources) 2013-04-03 21:51:42 +02:00
ether82557.c ether82557: timeout for ifstats DumpSC command 2012-09-30 16:16:20 +02:00
ether82563.c ether82563: add untested devices from OpenBSD's em(4) Intel driver. also update some names according to OpenBSD's driver (previously added device, 0x10c0, is also from OpenBSD's driver). 2013-03-30 22:50:48 -04:00
ether82598.c add intel 82598 10gb ethernet to pcf and pccpuf configuration, add support for 82599 (from sources) 2013-01-09 06:41:37 +01:00
ether83815.c kernel: fix more malloc bugs 2011-12-12 22:24:25 +01:00
etherbcm.c etherbcm: missing free() 2011-12-12 22:42:40 +01:00
etherdp83820.c kernel: fix more malloc bugs 2011-12-12 22:24:25 +01:00
etherec2t.c kernel: fix more malloc bugs 2011-12-12 22:24:25 +01:00
etherelnk3.c panic: trailing newlines 2012-03-28 18:13:45 +02:00
etherga620.c kernel: fix inproper use of malloc/smalloc 2011-12-12 16:55:26 +01:00
etherga620fw.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
etherif.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
etherigbe.c intel ethernet: default to 16 byte cache line size when not properly initialized and disable checksum offload for igbe (from sources) 2013-04-03 21:51:42 +02:00
etheriwl.c etheriwl: add pci id for Centrino Wireless-N 100 (thanks fgudin9) 2013-04-10 22:13:54 +02:00
etherm10g.c panic: trailing newlines 2012-03-28 18:13:45 +02:00
etherm10g2k.fw generate etherm10g firmware hexdumps in mkfile 2011-05-04 10:33:59 +00:00
etherm10g4k.fw generate etherm10g firmware hexdumps in mkfile 2011-05-04 10:33:59 +00:00
ethermii.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
ethermii.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
ethersink.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
ethersmc.c kernel: fix more malloc bugs 2011-12-12 22:24:25 +01:00
ethervgbe.c ethervgbe: fix broken rx block handling 2012-12-20 09:44:10 +01:00
ethervt6102.c ethervt610xx: dont assume sizeof(Ds) <= cls 2012-05-23 18:30:34 +02:00
ethervt6105m.c ethervt610xx: dont assume sizeof(Ds) <= cls 2012-05-23 18:30:34 +02:00
etherwavelan.c kernel: fix more malloc bugs 2011-12-12 22:24:25 +01:00
floppy.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
fns.h keep fpregs always in sse (FXSAVE) format, adapt libmach and acid files for new format 2013-05-26 22:41:40 +02:00
hcwAMC.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
i8253.c guesscpuhz(), apm suspend 2012-09-30 19:41:34 +02:00
i8259.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
init9.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
initcode.s Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
io.h experimental acpi support for apic irq routing 2012-06-17 23:12:19 +02:00
l.s keep fpregs always in sse (FXSAVE) format, adapt libmach and acid files for new format 2013-05-26 22:41:40 +02:00
main.c pc kernel: simulate FXSAVE/FXRSTOR tag-byte from x87 tag-word, copy fp state across fork 2013-05-30 23:16:22 +02:00
mem.h sse kernel support (sources) 2013-05-22 23:47:05 +05:30
memory.c add unified sigsearch() function to look for bios data structures 2012-08-24 15:36:56 +02:00
mkfile kernel: cleanup /sys/src/9/pc/mkfile PORT= and OBJ= lists 2013-05-21 19:45:40 +02:00
mmu.c pckernel: use constants instead of hardcoding cpuid bits in various places 2012-08-17 04:03:51 +02:00
mouse.c remove non standard COM3 (eia2) serial port from i8250 uart. 2013-01-13 10:23:31 +01:00
mp.c archmp: checksum _MP_ structure before use, coherence() and comments (import from sources) 2012-08-25 14:06:42 +02:00
mp.h experimental acpi support for apic irq routing 2012-06-17 23:12:19 +02:00
mtrr.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
nv_dma.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
pccpuf reduce software cursor flickering 2013-04-14 16:28:54 +02:00
pcf reduce software cursor flickering 2013-04-14 16:28:54 +02:00
pci.c pci: Add Intel C216 chipset PCI support (from sources) 2013-04-12 23:07:40 +02:00
pcmciamodem.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
pcmkfile Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
pcrandom.c Add RDRAND Support for /dev/random 2013-05-08 23:27:58 +05:30
piix4smbus.c kernel: fix inproper use of malloc/smalloc 2011-12-12 16:55:26 +01:00
plan9l.s Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
psaux.c Qcoalesce patch to satisfy full read length 2012-09-14 03:35:15 +02:00
ptclbsum386.s Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
rebootcode.s Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
screen.c reduce software cursor flickering 2013-04-14 16:28:54 +02:00
screen.h reduce software cursor flickering 2013-04-14 16:28:54 +02:00
sd53c8xx.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
sd53c8xx.n Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
sdiahci.c sdiahci: add pci id for 82801eb/er and c210 2013-04-14 18:13:26 +02:00
sdide.c sdide: add Intel SERIES 6 SATA controller pci ids 2013-05-11 18:45:46 +02:00
sdmv50xx.c merge sd changes from 9atom 2011-07-10 14:14:23 +02:00
sdmylex.c merge sd changes from 9atom 2011-07-10 14:14:23 +02:00
sdodin.c kernel: fix inproper use of malloc/smalloc 2011-12-12 16:55:26 +01:00
sdvirtio.c sdvirtio: be more carefull at wakeup 2012-08-24 12:52:34 +02:00
segdesc.c segdesc: add /dev/^(ldt gdt) support 2011-07-12 15:46:22 +02:00
trap.c kernel: dont copy fpsave on fork, simplify freeing waitq in pexit(), remove unused semlock from Proc sturcure 2013-05-27 01:17:11 +02:00
uartaxp.c kernel: fix more malloc bugs 2011-12-12 22:24:25 +01:00
uarti8250.c uarti8250: print on malloc failure 2013-05-20 17:43:30 +02:00
uartisa.c pcuart: malloc error handling, cleanup 2013-05-20 17:32:48 +02:00
uartpci.c pcuart: malloc error handling, cleanup 2013-05-20 17:32:48 +02:00
uncached.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
usbehci.h usbehci: fix broken bios takeover 2012-11-25 16:24:10 +01:00
usbehcipc.c move devusb to port 2012-12-06 18:53:17 +01:00
usbohci.c move devusb to port 2012-12-06 18:53:17 +01:00
usbuhci.c move devusb to port 2012-12-06 18:53:17 +01:00
vga.c fix utf and rune handling in preparation for 32bit runes 2012-12-31 21:09:46 +01:00
vga3dfx.c vga: make kernel vga drivers more stupid 2013-01-02 01:19:51 +01:00
vgaark2000pv.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
vgabt485.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
vgaclgd542x.c vga: make kernel vga drivers more stupid 2013-01-02 01:19:51 +01:00
vgaclgd546x.c vga: make kernel vga drivers more stupid 2013-01-02 01:19:51 +01:00
vgact65545.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
vgacyber938x.c vga: make kernel vga drivers more stupid 2013-01-02 01:19:51 +01:00
vgaet4000.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
vgageode.c vga: make kernel vga drivers more stupid 2013-01-02 01:19:51 +01:00
vgahiqvideo.c vga: make kernel vga drivers more stupid 2013-01-02 01:19:51 +01:00
vgai81x.c vga: make kernel vga drivers more stupid 2013-01-02 01:19:51 +01:00
vgamach64xx.c vga: make kernel vga drivers more stupid 2013-01-02 01:19:51 +01:00
vgamga4xx.c vga: make kernel vga drivers more stupid 2013-01-02 01:19:51 +01:00
vgamga2164w.c vga: make kernel vga drivers more stupid 2013-01-02 01:19:51 +01:00
vganeomagic.c vga: make kernel vga drivers more stupid 2013-01-02 01:19:51 +01:00
vganvidia.c vga: make kernel vga drivers more stupid 2013-01-02 01:19:51 +01:00
vgaradeon.c vga: make kernel vga drivers more stupid 2013-01-02 01:19:51 +01:00
vgargb524.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
vgas3.c vga: dont confuse io bar with mem bar in vgas3 and vgavesa 2013-01-06 23:39:02 +01:00
vgasavage.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
vgat2r4.c vga: make kernel vga drivers more stupid 2013-01-02 01:19:51 +01:00
vgatvp3020.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
vgatvp3026.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
vgavesa.c vga: dont confuse io bar with mem bar in vgas3 and vgavesa 2013-01-06 23:39:02 +01:00
vgavmware.c vga: make kernel vga drivers more stupid 2013-01-02 01:19:51 +01:00
vgax.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
wavelan.c devproc buffer overflow, strncpy 2012-10-01 02:52:05 +02:00
wavelan.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
wifi.c wifi: properly size internal wifi input processing queue 2013-05-21 19:29:57 +02:00
wifi.h wpa2 support continued... 2013-03-23 04:30:20 +01:00