blob: 594a3f3079b0955f9cbd287e715b5dbbc5f97567 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#include <grub/file.h>
struct grub_linux_initrd_component;
struct grub_linux_initrd_context
{
int nfiles;
struct grub_linux_initrd_component *components;
grub_size_t size;
};
grub_err_t
grub_initrd_init (int argc, char *argv[],
struct grub_linux_initrd_context *ctx);
grub_size_t
grub_get_initrd_size (struct grub_linux_initrd_context *ctx);
void
grub_initrd_close (struct grub_linux_initrd_context *initrd_ctx);
grub_err_t
grub_initrd_load (struct grub_linux_initrd_context *initrd_ctx,
char *argv[], void *target);
|