summaryrefslogtreecommitdiff
path: root/sys/src/9/omap/fns.h
AgeCommit message (Collapse)Author
2021-10-11kernel: move waserror() macro to port/portfns.hcinap_lenrek
2021-03-13kernel: remove ucalloc.c duplicatescinap_lenrek
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.
2020-10-09kernel: get rid of unused ucallocbcinap_lenrek
the whole idea of a ucallocb() is bad, as even access to the metadata header would be in uncached memory. also, it tuns out that it was never used by anyone.
2020-04-04kernel: remove scheddump() comment for delay() in */fns.hcinap_lenrek
2020-01-26kernel: implement portable userinit() and simplify process creationcinap_lenrek
replace machine specific userinit() by a portable implemntation that uses kproc() to create the first process. the initcode text is mapped using kmap(), so there is no need for machine specific tmpmap() functions. initcode stack preparation should be done in init0() where the stack is mapped and can be accessed directly. replacing the machine specific userinit() allows some big simplifications as sysrfork() and kproc() are now the only callers of newproc() and we can avoid initializing fields that we know are being initialized by these callers. rename autogenerated init.h and reboot.h headers. the initcode[] and rebootcode[] blobs are now in *.i files and hex generation was moved to portmkfile. the machine specific mkfile only needs to specify how to build rebootcode.out and initcode.out.
2019-04-11kernel: get rid of PTR2UINT() and UINT2PTR() macroscinap_lenrek
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().
2013-01-25omap: fix breakpoint instruction trap handling (from sources)cinap_lenrek
2011-07-12segdesc: add /dev/^(ldt gdt) supportcinap_lenrek
2011-05-21remove keyboard stuff from other ports, make openssl and python compile on armcinap_lenrek
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen