search for: load_ramdisk_raw

Displaying 4 results from an estimated 4 matches for "load_ramdisk_raw".

2019 Jan 22
1
[PATCH] fix build failure when CONFIG_KLIBC_ZLIB is not set
...sk(const char *devpath, int rfd, int disk) return open(devpath, O_RDONLY); } +#ifdef CONFIG_KLIBC_ZLIB /* Also used in initrd.c */ int load_ramdisk_compressed(const char *devpath, FILE * wfd, off_t ramdisk_start) @@ -133,6 +136,7 @@ err2: err1: return -1; } +#endif static int load_ramdisk_raw(const char *devpath, FILE * wfd, off_t ramdisk_start, @@ -253,9 +257,11 @@ int ramdisk_load(int argc, char *argv[]) close(rfd); +#ifdef CONFIG_KLIBC_ZLIB if (is_gzip) err = load_ramdisk_compressed("/dev/rddev", wfd, ramdisk_start); else +#endif err = load_ramdisk_raw(&quot...
2019 Jan 23
0
[PATCH v2] fix build failure when CONFIG_KLIBC_ZLIB is not set
..., FILE * wfd, off_t ramdisk_start) @@ -133,6 +134,14 @@ err2: err1: return -1; } +#else +int load_ramdisk_compressed(const char *devpath, FILE * wfd, + off_t ramdisk_start) +{ + fprintf(stderr, "Compressed ramdisk not supported\n"); + return -1; +} +#endif static int load_ramdisk_raw(const char *devpath, FILE * wfd, off_t ramdisk_start, -- 2.13.3
2019 Jan 24
0
[klibc:master] fix build failure when CONFIG_KLIBC_ZLIB is not set
..., FILE * wfd, off_t ramdisk_start) @@ -133,6 +134,14 @@ err2: err1: return -1; } +#else +int load_ramdisk_compressed(const char *devpath, FILE * wfd, + off_t ramdisk_start) +{ + fprintf(stderr, "Compressed ramdisk not supported\n"); + return -1; +} +#endif static int load_ramdisk_raw(const char *devpath, FILE * wfd, off_t ramdisk_start,
2010 Mar 02
17
[PATCH 00/16] External building, update for 2.6.33 and multiple root devices.
The following patchset implements 3 seperate series of changes. External Building ================= Patches 1 through 8 enable to use of klibc's build system while leaving the src tree pristine (and potentially read only). Specifically: - srctree=<Sources for klibc> - objtree=<Ouput directory for klibc> - KLIBCKERNELSRC=<Kernel sources> - KLIBCKERNELOBJ=<Kernel