blob: c0a8d188f9885acef2adb58e786288185f7641dc [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;
swissChilic2e62ed2021-03-10 17:04:18 -080015} __attribute__((packed));
swissChili8efa4922021-03-02 16:34:49 -080016
17/* that's it! */