[Freemint-list] struct kerinfo extensions

Miro Kropáček miro.kropacek at gmail.com
Wed Sep 27 05:02:10 MSD 2017


before I waste my time on this doing it wrong... what if an XIF driver
needs access to PCI BIOS? Currently only kernel modules can do that (via
vec_pcibios in struct kentry) however what if we have a driver for PCI
network card?

I assume one can't just change (reorder) kerinfo's members (due to backward
compatibility) so ... am I allowed to add something like

struct kinfo_pcibios vec_pcibios;

and bump version to "3" ? If so, what about this last member:

/* reserved, set to 0 */
long res2 [1];

does it has some meaning for future extensions?

MiKRO / Mystic Bytes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.atariforge.org/pipermail/freemint-list/attachments/20170927/aff87b07/attachment.html 

More information about the Freemint-list mailing list