6 * Initial ramdisk (initrd) reshuffling
10 FILE_LICENCE ( GPL2_OR_LATER );
12 #include <ipxe/uaccess.h>
14 /** Minimum alignment for initrds
16 * Some versions of Linux complain about initrds that are not
19 #define INITRD_ALIGN 4096
21 /** Minimum free space required to reshuffle initrds
23 * Chosen to avoid absurdly long reshuffling times
25 #define INITRD_MIN_FREE_LEN ( 512 * 1024 )
27 extern void initrd_reshuffle ( userptr_t bottom );
28 extern int initrd_reshuffle_check ( size_t len, userptr_t bottom );
30 #endif /* _INITRD_H */