mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 04:57:24 +07:00
b49a733d68
Merge the two instances where /dev/console is opened as stdin/stdout/stderr. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
33 lines
867 B
C
33 lines
867 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#define INITRD_MINOR 250 /* shouldn't collide with /dev/ram* too soon ... */
|
|
|
|
/* 1 = load ramdisk, 0 = don't load */
|
|
extern int rd_doload;
|
|
|
|
/* 1 = prompt for ramdisk, 0 = don't prompt */
|
|
extern int rd_prompt;
|
|
|
|
/* starting block # of image */
|
|
extern int rd_image_start;
|
|
|
|
/* size of a single RAM disk */
|
|
extern unsigned long rd_size;
|
|
|
|
/* 1 if it is not an error if initrd_start < memory_start */
|
|
extern int initrd_below_start_ok;
|
|
|
|
/* free_initrd_mem always gets called with the next two as arguments.. */
|
|
extern unsigned long initrd_start, initrd_end;
|
|
extern void free_initrd_mem(unsigned long, unsigned long);
|
|
|
|
extern phys_addr_t phys_initrd_start;
|
|
extern unsigned long phys_initrd_size;
|
|
|
|
extern unsigned int real_root_dev;
|
|
|
|
extern char __initramfs_start[];
|
|
extern unsigned long __initramfs_size;
|
|
|
|
void console_on_rootfs(void);
|