TempleOS programs in Linux user-space, part 2: Anatomy of a kernel

1 · Minexew · March 29, 2020, midnight
Last time, we discussed why it might be desirable to run TempleOS on Linux in some form other than a full-blown virtual machine, and we teased some possible approaches. In the end, we commited to finding out whether it would be possible to run the standard kernel as a user-space program. Today, we will see what we are up against. (Updated on 13 Apr 2020) Being at the heart of TempleOS, the kernel, consisting of about 22 000 lines of source code, has several crucial responsibilities: Initializat...