25 lines
587 B
C
25 lines
587 B
C
#include <VasEBoot/file.h>
|
|
|
|
struct VasEBoot_linux_initrd_component;
|
|
|
|
struct VasEBoot_linux_initrd_context
|
|
{
|
|
int nfiles;
|
|
struct VasEBoot_linux_initrd_component *components;
|
|
VasEBoot_size_t size;
|
|
};
|
|
|
|
VasEBoot_err_t
|
|
VasEBoot_initrd_init (int argc, char *argv[],
|
|
struct VasEBoot_linux_initrd_context *ctx);
|
|
|
|
VasEBoot_size_t
|
|
VasEBoot_get_initrd_size (struct VasEBoot_linux_initrd_context *ctx);
|
|
|
|
void
|
|
VasEBoot_initrd_close (struct VasEBoot_linux_initrd_context *initrd_ctx);
|
|
|
|
VasEBoot_err_t
|
|
VasEBoot_initrd_load (struct VasEBoot_linux_initrd_context *initrd_ctx,
|
|
void *target);
|