summaryrefslogtreecommitdiff
path: root/sys/src/9/pc/cputemp.c
AgeCommit message (Collapse)Author
2020-12-06amd64, vmx: support avx/avx2 for host/guest; use *noavx= in plan9.ini to disableSigrid
2020-09-13kernel: massive pci code rewritecinap_lenrek
The new pci code is moved to port/pci.[hc] and shared by all ports. Each port has its own PCI controller implementation, providing the pcicfgrw*() functions for low level pci config space access. The locking for pcicfgrw*() is now done by the caller (only port/pci.c). Device drivers now need to include "../port/pci.h" in addition to "io.h". The new code now checks bridge windows and membars, while enumerating the bus, giving the pc driver a chance to re-assign them. This is needed because some UEFI implementations fail to assign the bars for some devices, so we need to do it outselfs. (See pcireservemem()). While working on this, it was discovered that the pci code assimed the smallest I/O bar size is 16 (pcibarsize()), which is wrong. I/O bars can be as small as 4 bytes. Bit 1 in an I/O bar is also reserved and should be masked off, making the port mask: port = bar & ~3;
2019-12-19pc, pc64: fix cputemp decimal handling in amd10temprd (thanks Robert Ransom)Alex Musolino
2018-07-11pc kernel: get rid of ugly and partially broken cpuid macrosaiju
2012-08-31rdmsr/wrmsr become tryrdmsr/trywrmsr, we can should check for trapcinap_lenrek
2012-05-05kernel: add eriks #P/cputempcinap_lenrek