I've been reading this community's resources (i.e. in the wiki and these forums) for quite some time now and since this is my first post, I want to start by thanking everyone who contributes to this community. The wiki and the forums are really great resources for os development!
Now about the topic, a couple of days ago I've had the idea to write a "library" for basic IA-32 functions (segments/segmentation, hardware task switching, paging, etc.) that can be used by hobby os developers to compile into the kernel or as a "launch pad" for the own implementation.
I guess that might be interesting for those who are new to os development, however I'm unsure if a library like that is actually necessary for the following reasons:
- the Intel manuals are pretty straight-forward (in my opinion). From this PoV the lib is not really necessary
- os developers should write their own implementation from scratch and with the manuals, otherwise they run the risk of being spoonfed or using copy-pasted code
- writing an own implementation and running into problems will result in a better understanding of the architecture
- it seems to me that the IA-32 architecture is not really the most popular choice among hobby os developers
Regards, mkruk