blob: e095f34b81aa318c1330e7b2cdc016f71af7056b [file] [log] [blame]
swissChili8efa4922021-03-02 16:34:49 -08001#pragma once
2
swissChilib3abcd92021-03-02 20:00:44 -08003#define INITRD_MAGIC 0xaa77dbf6
4
swissChili8efa4922021-03-02 16:34:49 -08005struct initrd_global_header
6{
7 unsigned int magic;
8 unsigned long num_files;
9} __attribute__((packed));
10
11struct initrd_file_header
12{
13 char name[64];
14 unsigned long size;
15};
16
17/* that's it! */