summaryrefslogtreecommitdiff
path: root/sys/src/9/sgi/clock.c
AgeCommit message (Collapse)Author
2020-12-20kernel: handle tos and per process pcycle counters in port/cinap_lenrek
we might as well handle the per process cycle counter in the portable part instead of duplicating the code in every arch and have inconsistent implementations. we now have a portable kenter() and kexit() function, that is ment to be used in trap/syscall from user, which updates the counters. some kernels missed initializing Mach.cyclefreq.
2017-01-22sgi: get rid of timerset(0) casecinap_lenrek
2017-01-22sgi: cleanup timer codecinap_lenrek
- no need to splhi() in timerset, always called with interrupts off. - make timerset always update the period (next == 0) - remove period update in fastticks(), simplify delta calculation.
2015-03-28sgi: work in progress kernel for sgi mips machines (only tested with r5k indy)cinap_lenrek
this provides basic console support using the ARC bios routines theu uartarcs driver. and has native seeq ethernet driver which was written by reading the 2ed devseq driver as i have no documentation on the hardware. mmu and trap code is based on the routerboard kernel.