plan9fox/sys/src/9/teg2
cinap_lenrek 8d51e7fa1a kernel: implement portable userinit() and simplify process creation
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.
2020-01-26 19:01:36 +01:00
..
notes add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
_announce add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
arch.c bcm, kw, omap, teg2: implement setregisters() 2019-06-20 13:17:36 +02:00
archtegra.c usbehci: introduce dmaflush() function to handle portable cache invalidation for device drivers 2019-07-17 10:24:50 +02:00
arm.h add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
arm.s add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
cache-l2-pl310.c add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
cache.v7.s teg2: fix wrong l2 setshift address in wholecache() (from sources) 2014-09-17 16:34:30 +02:00
caches-v7.c add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
caches.c add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
clock-tegra.c add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
clock.c add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
coproc.c add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
dat.h kernel: introduce per process FPU struct (PFPU) for more flexible machine specific fpu handling 2017-11-04 20:08:22 +01:00
devarch.c add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
ether8169.c kernel: move common ethermii to port/ 2019-07-11 07:47:39 +02:00
fns.h kernel: implement portable userinit() and simplify process creation 2020-01-26 19:01:36 +01:00
fpi.c add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
fpi.h add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
fpiarm.c kernel: introduce per process FPU struct (PFPU) for more flexible machine specific fpu handling 2017-11-04 20:08:22 +01:00
fpimem.c add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
io.h io.h: fis comment PciSID (alphapc, kw, mtx, teg2) (thanks qeed!) 2015-05-30 16:50:02 +02:00
l.s all kernels: declare _tas() to prevent pulling in libc version (for libmemdraw) 2015-07-07 19:17:55 +02:00
lexception.s add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
lproc.s add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
main.c kernel: implement portable userinit() and simplify process creation 2020-01-26 19:01:36 +01:00
mem.h kernel: expose no execute bit to portable mmu code as SG_NOEXEC / PTENOEXEC, add PTECACHED bits 2019-08-26 22:34:38 +02:00
mkfile kernel: implement portable userinit() and simplify process creation 2020-01-26 19:01:36 +01:00
mmu.c kernel: get rid of PTR2UINT() and UINT2PTR() macros 2019-04-11 13:51:38 +02:00
nvram add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
pci.c add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
rebootcode.s add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
softfpu.c ARM: kernel changes make teg2 procfork() call fpuprocfork() and acid fixes for vfp instruction 2013-06-10 18:07:16 +05:30
syscall.c kernel: implement portable userinit() and simplify process creation 2020-01-26 19:01:36 +01:00
trap.c kernel: catch execution read fault on SG_NOEXEC segment 2019-08-27 03:47:18 +02:00
ts kernel: remove ptclbsum dependencies from configs 2019-02-27 08:47:17 +01:00
uarti8250.c add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
v7-arch.c add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00
vfp3.c ARM: kernel changes make teg2 procfork() call fpuprocfork() and acid fixes for vfp instruction 2013-06-10 18:07:16 +05:30
words add tegra2 soc kernel (from sources) 2013-01-26 17:33:21 +01:00