Octocontrabass wrote:
They look like they could be useful as a starting point, but for developing a whole OS you wouldn't be able to use them unmodified. (And it looks like the x86-64 code writes an uninitialized value to CR0, so I'm not sure how well those runtimes have been tested.)
A good chunk of the wiki page was written a decade ago. Did the bare metal runtimes exist back then?
I don't think so. According to git, the very first commit occurred on Fri Sep 19 07:54:14 2014 +0000. However, that appears to be a git-svn import, so I honestly have no idea how old the repository is. Perhaps the x86 runtime didn't exist back then?
I could always just build my own runtime following the guide and then import what I want, perhaps. I do think its nice how the runtime acts as its own bootloader though.