swissChili | 8efa492 | 2021-03-02 16:34:49 -0800 | [diff] [blame] | 1 | #pragma once |
2 | |||||
swissChili | b3abcd9 | 2021-03-02 20:00:44 -0800 | [diff] [blame] | 3 | #define INITRD_MAGIC 0xaa77dbf6 |
4 | |||||
swissChili | 8efa492 | 2021-03-02 16:34:49 -0800 | [diff] [blame] | 5 | struct initrd_global_header |
6 | { | ||||
7 | unsigned int magic; | ||||
8 | unsigned long num_files; | ||||
9 | } __attribute__((packed)); | ||||
10 | |||||
11 | struct initrd_file_header | ||||
12 | { | ||||
13 | char name[64]; | ||||
14 | unsigned long size; | ||||
15 | }; | ||||
16 | |||||
17 | /* that's it! */ |