diff options
| author | Michael Brown | 2021-05-17 15:57:48 +0200 |
|---|---|---|
| committer | Michael Brown | 2021-05-21 16:19:38 +0200 |
| commit | bfca3db41e9af78e56e7a9b7f30121df83b6af0a (patch) | |
| tree | 4f75eef31776bcc8d2918b9b2e92e90560859794 /src/arch/x86/include/initrd.h | |
| parent | [x509] Use case-insensitive comparison for certificate names (diff) | |
| download | ipxe-bfca3db41e9af78e56e7a9b7f30121df83b6af0a.tar.gz ipxe-bfca3db41e9af78e56e7a9b7f30121df83b6af0a.tar.xz ipxe-bfca3db41e9af78e56e7a9b7f30121df83b6af0a.zip | |
[cpio] Split out bzImage initrd CPIO header construction
iPXE will construct CPIO headers for images that have a non-empty
command line, thereby allowing raw images (without CPIO headers) to be
injected into a dynamically constructed initrd. This feature is
currently implemented within the BIOS-only bzImage format support.
Split out the CPIO header construction logic to allow for reuse in
other contexts such as in a UEFI build.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/x86/include/initrd.h')
| -rw-r--r-- | src/arch/x86/include/initrd.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/arch/x86/include/initrd.h b/src/arch/x86/include/initrd.h index ddb3e5a45..2fb9d3d3a 100644 --- a/src/arch/x86/include/initrd.h +++ b/src/arch/x86/include/initrd.h @@ -11,13 +11,6 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); #include <ipxe/uaccess.h> -/** Minimum alignment for initrds - * - * Some versions of Linux complain about initrds that are not - * page-aligned. - */ -#define INITRD_ALIGN 4096 - /** Minimum free space required to reshuffle initrds * * Chosen to avoid absurdly long reshuffling times |
