From 8a6d48c0542876eb3acfc0970c0ab7872db08d5f Mon Sep 17 00:00:00 2001 From: Zheng Da Date: Sun, 6 Dec 2009 05:26:23 +0100 Subject: check in the original version of dde linux26. --- libdde_linux26/contrib/include/linux/initrd.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 libdde_linux26/contrib/include/linux/initrd.h (limited to 'libdde_linux26/contrib/include/linux/initrd.h') diff --git a/libdde_linux26/contrib/include/linux/initrd.h b/libdde_linux26/contrib/include/linux/initrd.h new file mode 100644 index 00000000..55289d26 --- /dev/null +++ b/libdde_linux26/contrib/include/linux/initrd.h @@ -0,0 +1,20 @@ + +#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; + +/* 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 unsigned int real_root_dev; -- cgit v1.2.3