summaryrefslogtreecommitdiff
path: root/sys/src/9/omap/arch.c
AgeCommit message (Collapse)Author
2025-05-14kernel: get rid of Proc.kstackglenda
The kernel stack is now above the Proc structure, so the explicit kstack pointer can be eliminated.
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.
2019-06-20bcm, kw, omap, teg2: implement setregisters()cinap_lenrek
2019-04-11kernel: get rid of PTR2UINT() and UINT2PTR() macroscinap_lenrek
2015-06-19kernel: do not pull in atom.s from libc for arm kernelscinap_lenrek
- provide our own copy of cas() in l.s - replace use of libc ainc()/adec() with portable incref()/decref()
2014-06-08kernel: remove _xinc()/_xdec()cinap_lenrek
as with the Block refcount changes, _xinc() and _xdec() arent used anymore, so remove them. architecure can still define ainc()/adec() when it needs them.
2013-05-30kernel: do all fp state fork from procfork() (like pc kernel)cinap_lenrek
this simplifies the arm ports and keeps all the stuff in one place instead of spreading it thru notify(), trap() and syscall() functions and prevents useless fp state copying for kernel procs. also make sure to save fp in notify while still splhi().
2011-10-25fix _tos->pcycles, make _tos->kcycles actually count cycles executing kernel ↵cinap_lenrek
code on behalf of the process
2011-07-12segdesc: add /dev/^(ldt gdt) supportcinap_lenrek
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen