1 /* SPDX-License-Identifier: GPL-2.0 */
3 #define INITRD_MINOR 250 /* shouldn't collide with /dev/ram* too soon ... */
5 /* 1 = load ramdisk, 0 = don't load */
8 /* 1 = prompt for ramdisk, 0 = don't prompt */
11 /* starting block # of image */
12 extern int rd_image_start
;
14 /* size of a single RAM disk */
15 extern unsigned long rd_size
;
17 /* 1 if it is not an error if initrd_start < memory_start */
18 extern int initrd_below_start_ok
;
20 /* free_initrd_mem always gets called with the next two as arguments.. */
21 extern unsigned long initrd_start
, initrd_end
;
22 extern void free_initrd_mem(unsigned long, unsigned long);
24 extern phys_addr_t phys_initrd_start
;
25 extern unsigned long phys_initrd_size
;
27 extern unsigned int real_root_dev
;
29 extern char __initramfs_start
[];
30 extern unsigned long __initramfs_size
;