summaryrefslogtreecommitdiff
path: root/sys/src/9/pc/apic.c
AgeCommit message (Collapse)Author
2017-03-11pc kernel: assume tsc and lapic clock rate on application processors is the ↵cinap_lenrek
same as on bootrap processor
2017-01-22pc/pc64: get rid of timerset(0) case, was used with "i8253set off" ctlcinap_lenrek
2013-06-22apic: eleminate splhi and apictimerlock, per cpu apictimer structurecinap_lenrek
the splhi() and apictimerlock in the Mach isnt neccesary, as portclock always holds the ilock of the per mach timer queue when calling timerset(). as fastticks() and the portclock timers are all handled on a per processor basis, i think it should be theoretically possible for the lapics to run at different frequencies. so we measure the lapic frequency for each individual lapic and keep them in a per processor Apictimer structure instead of assuming them to be the same.
2013-06-22apic: fix lapic timer divider (fixes wrong lapic frequency on boot)cinap_lenrek
loading the divider before programming one shot mode *sometimes* gives the wrong frequency. (X200s got 192Mhz vs. 266Mhz, after 5 boot attempts) also reload the divider after programming periodic mode. (from http://wiki.osdev.org/APIC_timer)
2012-08-25archmp: checksum _MP_ structure before use, coherence() and comments (import ↵cinap_lenrek
from sources) we used to only test the checksum of the PCMP structure referenced by the _MP_ without checking _MP_ itself. now fixed. geoff added some coherence() calls and comments in the mpstartup and apic code which seems to be a good idea.
2012-06-24apic: fix qemu panic lapic clock xxx > cpu clock > yyycinap_lenrek
2012-03-28panic: trailing newlinescinap_lenrek
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen