If anyone has ever used an embedded device like an STM32, MSP430, Arduino, etc. you have probably come across something known as a hardware abstraction layer (or HAL, for short). Essentially what it is is a set of functions meant to easily initialize and configure various modules of a microcontroller in a completely on-demand way. This means things like timer units, DMA controllers, UART/serial ports, etc. can be added or removed from a project completely as-needed by including a header file, calling one initialization function with some initialization parameters, and then calling functions to make use of the desired peripheral. When designed and optimized appropriately, this can provide essentially no overhead and very high performance all in an easy-to-use way that does not depend on any external libraries.
This is in contrast to using standard libraries or building around kernels, as any unused functionality is simply not included in the project, so you only get the bare minimum you need to do what you want.
I've been thinking about how the Dreamcast is actually a pretty standard system as far as embedded hardware goes, and through conversing with user mrneo it appears evident that there may some desire for something like this--particularly a HAL that is highly optimized. Note that this is NOT the same as KOS, as it would only be a collection of .c/.h files pertaining to using the SH4. One way of thinking about it is turning the Renesas SH7750 hardware manual into usable code, ideally highly optimized. The SH4 is not a very complicated CPU, and it doesn't really have that many components to it (I think it's about 15?), so I don't think it would be too crazy a project.
Those who have looked at the source code for dcload-ip that I've been working on may have noticed that perctr.h/perfctr.c (attached), which are for controlling the supposedly "undocumented" performance counters, are in fact completely standalone, modular code. That's the kind of thing I have in mind, just do that for each subsystem of the SH4. Particularly with the bit of revival going on with SH4 patent expiry, this may also be useful outside of the Dreamcast universe.
I'd like to keep this something like MIT-licensed (although whatever modules I write I'd probably just go straight public domain. So many fewer headaches that way) to maximize adoption, although how licensing would be specifically handled is a discussion to be had only if I'm not going to be the only contributor

A fair amount of this might already be out there, but it's not all in one place and not necessarily super-optimized. Additionally, it's probably not fully-featured; for example, the SCI and SCIF modules should probably have functions for polled, interrupt, and DMA modes of operation, etc.
Hopefully this name isn't already taken, as well. I wasn't able to find anything that had it already, so unless I missed something DreamHAL it is.

admin edit: github repo was removed, for now can be downloaded at https://dreamcast.wiki/DreamHAL