10 FILE_LICENCE ( GPL2_OR_LATER );
12 /** A CPIO archive header
14 * All field are hexadecimal ASCII numbers padded with '0' on the
15 * left to the full width of the field.
18 /** The string "070701" or "070702" */
20 /** File inode number */
22 /** File mode and permissions */
28 /** Number of links */
30 /** Modification time */
32 /** Size of data field */
34 /** Major part of file device number */
36 /** Minor part of file device number */
38 /** Major part of device node reference */
40 /** Minor part of device node reference */
42 /** Length of filename, including final NUL */
44 /** Checksum of data field if c_magic is 070702, othersize zero */
46 } __attribute__ (( packed ));
49 #define CPIO_MAGIC "070701"
51 extern void cpio_set_field ( char *field, unsigned long value );
53 #endif /* _GPXE_CPIO_H */