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