plan9fox/sys/src/9/pc
cinap_lenrek 1fe3143e4c kernel: cleanup the software mouse cursor mess
The swcursor used a 32x32 image for saving/restoring
screen contents for no reason.

Add a doflush argument to swcursorhide(), so that
disabling software cursor with a double buffered
softscreen is properly hidden. The doflush parameter
should be set to 0 in all other cases as swcursordraw()
will flushes both (current and previours) locations.

Make sure swcursorinit() and swcursorhide() clear the
visibility flag, even when gscreen is nil.

Remove the cursor locking and just do everything within
the drawlock. All cursor functions such as curson(),
cursoff() and setcursor() will be called drawlock
locked. This also means &cursor can be read.

Fix devmouse cursor reads and writes. We now have the
global cursor variable that is only modified under
the drawlock. So copy under drawlock.

Move the pc software cursor implementation into vgasoft
driver, so screen.c does not need to handle it as
a special case.

Remove unused functions such as drawhasclients().
2020-04-10 17:12:51 +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 pc: enable page size extension early in apbootstrap 2014-11-04 05:52:42 +01:00
apic.c pc kernel: assume tsc and lapic clock rate on application processors is the same as on bootrap processor 2017-03-11 16:18:01 +01:00
apm.c guesscpuhz(), apm suspend 2012-09-30 19:41:34 +02:00
apmjump.s apm: fix wrong segment load, zero segment registers 2013-09-16 16:23:51 +02:00
archacpi.c pc, pc64: new memory map code 2020-04-04 16:48:37 +02:00
archmp.c pc, pc64: new memory map code 2020-04-04 16:48:37 +02:00
audioac97.c audioac97: support for ICH4-ICH7 based cards with memory mapped registers (thanks echoline) 2016-12-05 18:32:58 +01:00
audioac97mix.c audioac97: remove i/o bar magic, fix ac97mixreset busywait-forever timeout 2013-09-26 23:34:06 +02:00
audiohda.c audiohda: add pci vid/did for AMD Raven HD Audio Controller (T495) 2020-03-31 19:00:32 +02:00
audiosb16.c audio: fix delay control, increase default buffer delay to 40ms 2013-02-01 15:23:38 +01:00
bios32.c pc, pc64: look for "RSD PTR " in ACPI reserved memory region from e820 map 2018-07-22 21:00:20 +02:00
bootargs.c pc, pc64: new memory map code 2020-04-04 16:48:37 +02:00
cga.c kernel: convert textmode cga screen contents to kmesg only once 2017-12-23 03:56:12 +01:00
cputemp.c pc, pc64: fix cputemp decimal handling in amd10temprd (thanks Robert Ransom) 2019-12-19 15:19:02 +10:30
dat.h pc64: implement NX bit discovery, map kernel mappings no-execute 2019-08-27 03:55:12 +02:00
devarch.c pc64: implement NX bit discovery, map kernel mappings no-execute 2019-08-27 03:55:12 +02:00
devfloppy.c add Echange[] error string 2012-08-07 07:15:41 +02:00
devi82365.c pc, pc64: new memory map code 2020-04-04 16:48:37 +02:00
devkbd.c devkbd: bits bad! revert repeat/delay, better patches welcome 2020-04-01 11:31:19 +02:00
devlm78.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
devlml.c kernel: expose no execute bit to portable mmu code as SG_NOEXEC / PTENOEXEC, add PTECACHED bits 2019-08-26 22:34:38 +02: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 pc, pc64: new memory map code 2020-04-04 16:48:37 +02: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 kernel: cleanup the software mouse cursor mess 2020-04-10 17:12:51 +02:00
devvmx.c devvmx: remove bogus . direntry 2018-11-04 16:03:35 +00:00
dma.c pc kernel: split mpstartap() and squidboy into separate file... stuff for amd64 2014-02-01 10:23:17 +01:00
ec.c pc, pc64: untangle embedded controller (ec) dependency from devarch 2014-12-13 06:23:23 +01:00
ether79c970.c pc drivers: use pcienable() to handle device power up and missing initialization 2018-10-07 22:28:21 +02:00
ether589.c kernel: move devether and wifi to port/ 2018-02-11 18:08:03 +01:00
ether2000.c kernel: move devether and wifi to port/ 2018-02-11 18:08:03 +01:00
ether2114x.c devether: mux bridges, portable netconsole 2018-02-18 19:56:01 +01:00
ether8003.c pc, pc64: new memory map code 2020-04-04 16:48:37 +02:00
ether8139.c pc drivers: use pcienable() to handle device power up and missing initialization 2018-10-07 22:28:21 +02:00
ether8169.c kernel: move common ethermii to port/ 2019-07-11 07:47:39 +02:00
ether8390.c ether8390: remove unused variables 2020-04-04 15:55:48 +02:00
ether8390.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
ether82543gc.c pc drivers: use pcienable() to handle device power up and missing initialization 2018-10-07 22:28:21 +02:00
ether82557.c pc drivers: use pcienable() to handle device power up and missing initialization 2018-10-07 22:28:21 +02:00
ether82563.c ether82563: fix multicast for i210 2019-10-11 21:38:12 +02:00
ether82598.c ether82563, ether82598, etherx550: round rbsz to multiple of 1K 2019-01-12 15:34:23 +01:00
ether83815.c pc drivers: use pcienable() to handle device power up and missing initialization 2018-10-07 22:28:21 +02:00
etherbcm.c pc drivers: use pcienable() to handle device power up and missing initialization 2018-10-07 22:28:21 +02:00
etherdp83820.c kernel: move common ethermii to port/ 2019-07-11 07:47:39 +02:00
etherec2t.c kernel: move devether and wifi to port/ 2018-02-11 18:08:03 +01:00
etherelnk3.c pc drivers: use pcienable() to handle device power up and missing initialization 2018-10-07 22:28:21 +02:00
etherga620.c pc drivers: use pcienable() to handle device power up and missing initialization 2018-10-07 22:28:21 +02:00
etherga620fw.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
etherigbe.c kernel: move common ethermii to port/ 2019-07-11 07:47:39 +02:00
etheriwl.c add Centrino Wireless-N 1030 (thanks lksmk from brazil) 2018-10-25 08:09:10 +02:00
etherm10g.c pc drivers: use pcienable() to handle device power up and missing initialization 2018-10-07 22:28:21 +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
etherrt2860.c pc drivers: use pcienable() to handle device power up and missing initialization 2018-10-07 22:28:21 +02:00
ethersmc.c devether: mux bridges, portable netconsole 2018-02-18 19:56:01 +01:00
ethervgbe.c kernel: move common ethermii to port/ 2019-07-11 07:47:39 +02:00
ethervirtio.c pc drivers: more pci cleanup 2018-10-07 23:38:41 +02:00
ethervt6102.c kernel: move common ethermii to port/ 2019-07-11 07:47:39 +02:00
ethervt6105m.c kernel: move common ethermii to port/ 2019-07-11 07:47:39 +02:00
etherwavelan.c pc drivers: use pcienable() to handle device power up and missing initialization 2018-10-07 22:28:21 +02:00
etherwpi.c pc drivers: use pcienable() to handle device power up and missing initialization 2018-10-07 22:28:21 +02:00
etherx550.c ether82563, ether82598, etherx550: round rbsz to multiple of 1K 2019-01-12 15:34:23 +01:00
etheryuk.c pc drivers: more pci cleanup 2018-10-07 23:38:41 +02:00
floppy.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
fns.h pc, pc64: new memory map code 2020-04-04 16:48:37 +02:00
hcwAMC.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
i8253.c kernel: initialize cyclefreq for machno > 0 in guesscpuhz() 2018-01-27 19:58:48 +01: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
io.h pc kernel: get rid of ugly and partially broken cpuid macros 2018-07-11 14:50:22 +01:00
l.s kernel: change peek to return number of characters left rather than 0/-1 2018-12-11 09:17:44 +00:00
main.c pc, pc64: new memory map code 2020-04-04 16:48:37 +02:00
mem.h pc, pc64: new memory map code 2020-04-04 16:48:37 +02:00
memory.c pc, pc64: new memory map code 2020-04-04 16:48:37 +02:00
mkfile pc, pc64: new memory map code 2020-04-04 16:48:37 +02:00
mmu.c pc: zero rampage() memory (thanks LordCreepity) 2020-04-06 01:28:34 +02:00
mouse.c pc/pc64: fix ps2mouse memory corruption race 2014-09-28 18:28:38 +02:00
mp.c kernel: implement portable userinit() and simplify process creation 2020-01-26 19:01:36 +01:00
mp.h pc kernel: split mpstartap() and squidboy into separate file... stuff for amd64 2014-02-01 10:23:17 +01:00
mtrr.c kernel: get rid of 36 bit Paerange mask in mtrr (supporting machines with more than 64GB of memory) 2017-09-27 13:58:00 +02:00
nv_dma.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
pc kernel: cleanup the software mouse cursor mess 2020-04-10 17:12:51 +02:00
pci.c pc, pc64: new memory map code 2020-04-04 16:48:37 +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
piix4smbus.c kernel: fix inproper use of malloc/smalloc 2011-12-12 16:55:26 +01:00
pmmc.c pc drivers: use pcienable() to handle device power up and missing initialization 2018-10-07 22:28:21 +02:00
rebootcode.s pc, pc64: park application processors in rebootcode with mmu off 2018-11-19 18:42:01 +01:00
screen.c kernel: cleanup the software mouse cursor mess 2020-04-10 17:12:51 +02:00
screen.h kernel: cleanup the software mouse cursor mess 2020-04-10 17:12:51 +02:00
sd53c8xx.c sd53c8xx: fix the driver for amd64, fix alignment/padding issues, fix freechain handling 2019-11-24 21:56:54 +01:00
sd53c8xx.n Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
sdiahci.c sdiahci, sdodin: avoid calling kproc() while holding ilock() 2020-02-23 14:05:01 +01:00
sdide.c sdiahci: force Hudson SATA Controller to AHCI mode 2019-10-08 13:53:57 +02:00
sdmv50xx.c pc kernel: kproc error and exit 2013-11-22 22:29:31 +01:00
sdmylex.c merge sd changes from 9atom 2011-07-10 14:14:23 +02:00
sdnvme.c pc drivers: use pcienable() to handle device power up and missing initialization 2018-10-07 22:28:21 +02:00
sdodin.c sdiahci, sdodin: avoid calling kproc() while holding ilock() 2020-02-23 14:05:01 +01:00
sdvirtio.c pc drivers: more pci cleanup 2018-10-07 23:38:41 +02:00
segdesc.c segdesc: add /dev/^(ldt gdt) support 2011-07-12 15:46:22 +02:00
squidboy.c pc kernel: avoid AP's spinning in syncclock(), don't wait for thunderbirdsargo 2017-03-11 16:24:56 +01:00
trap.c pc, pc64: remove "got unassigned irq" prints 2020-04-09 13:05:10 +02:00
uartaxp.c pc drivers: use pcienable() to handle device power up and missing initialization 2018-10-07 22:28:21 +02:00
uarti8250.c pc, pc64, xen: change return type of intrdisable() to void 2014-12-22 16:56:04 +01:00
uartisa.c pcuart: malloc error handling, cleanup 2013-05-20 17:32:48 +02:00
uartpci.c pc drivers: use pcienable() to handle device power up and missing initialization 2018-10-07 22:28:21 +02:00
usbehci.h usbehci: introduce dmaflush() function to handle portable cache invalidation for device drivers 2019-07-17 10:24:50 +02:00
usbehcipc.c pc drivers: use pcienable() to handle device power up and missing initialization 2018-10-07 22:28:21 +02:00
usbohci.c pc drivers: use pcienable() to handle device power up and missing initialization 2018-10-07 22:28:21 +02:00
usbuhci.c pc drivers: use pcienable() to handle device power up and missing initialization 2018-10-07 22:28:21 +02:00
vga.c kernel: expose no execute bit to portable mmu code as SG_NOEXEC / PTENOEXEC, add PTECACHED bits 2019-08-26 22:34:38 +02:00
vga3dfx.c kernel: cleanup the software mouse cursor mess 2020-04-10 17:12:51 +02: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 kernel: cleanup the software mouse cursor mess 2020-04-10 17:12:51 +02:00
vgact65545.c kernel: replace BY2WD in scanline width calculation to sizeof(ulong) like libmemdraw 2014-01-19 03:29:52 +01:00
vgacyber938x.c kernel: cleanup the software mouse cursor mess 2020-04-10 17:12:51 +02:00
vgaet4000.c kernel: replace BY2WD in scanline width calculation to sizeof(ulong) like libmemdraw 2014-01-19 03:29:52 +01:00
vgageode.c kernel: cleanup the software mouse cursor mess 2020-04-10 17:12:51 +02:00
vgahiqvideo.c kernel: cleanup the software mouse cursor mess 2020-04-10 17:12:51 +02:00
vgai81x.c kernel: cleanup the software mouse cursor mess 2020-04-10 17:12:51 +02:00
vgaigfx.c kernel: cleanup the software mouse cursor mess 2020-04-10 17:12:51 +02:00
vgamach64xx.c kernel: cleanup the software mouse cursor mess 2020-04-10 17:12:51 +02:00
vgamga4xx.c kernel: cleanup the software mouse cursor mess 2020-04-10 17:12:51 +02:00
vgamga2164w.c kernel: cleanup the software mouse cursor mess 2020-04-10 17:12:51 +02:00
vganeomagic.c kernel: cleanup the software mouse cursor mess 2020-04-10 17:12:51 +02:00
vganvidia.c kernel: cleanup the software mouse cursor mess 2020-04-10 17:12:51 +02:00
vgaradeon.c kernel: cleanup the software mouse cursor mess 2020-04-10 17:12:51 +02:00
vgargb524.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
vgas3.c kernel: cleanup the software mouse cursor mess 2020-04-10 17:12:51 +02:00
vgasavage.c devvga: disable hardware blanking when switching drivers, check softscreen 2015-01-03 18:33:35 +01:00
vgasoft.c kernel: cleanup the software mouse cursor mess 2020-04-10 17:12:51 +02:00
vgat2r4.c kernel: cleanup the software mouse cursor mess 2020-04-10 17:12:51 +02: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 pc, pc64: support for multiboot framebuffer, common bootargs and multiboot code 2017-06-25 22:22:58 +02: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 devether: remove (unimplemented) detach, allow device creation on attach 2018-02-25 03:42:38 +01:00
wavelan.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
yukdump.h etheryuk: fix problems with yukon2 ep+ rev0, deoptimize 2013-12-16 21:39:22 +01:00