InitRD & KMod syscalls
vercas opened this issue · comments
A set of syscalls is required to allow the initialization application to inspect the InitRD, and to deal with kernel modules.
-
InitRdList
- Lists all entries in a directory within the InitRD. -
InitRdFind
- Attempts to get a handle on an item within the InitRD. -
InitRdGetInfo
- Retrieves information about the given InitRD item from its handle. -
InitRdLoad
- Loads the given InitRD item from its handle into the specified chunk of memory. -
KmodList
- Lists loaded kernel modules (as handles). -
KmodGetInfo
- Gets information about the given kernel module by handle. -
KmodLoad
- Loads a given kernel module (from either an InitRD item handle or a chunk of memory), returns handle. -
KmodUnload
- Unloads the given kernel module by handle.