Lines Matching refs:ramdisk
426 " --ramdisk-offset Set ramdisk offset (default: 0x01000000).\n"
470 static std::vector<char> LoadBootableImage(const std::string& kernel, const std::string& ramdisk,
486 if (!ramdisk.empty()) die("cannot boot a boot.img *and* ramdisk");
492 if (!ramdisk.empty()) {
493 if (!ReadFileToVector(ramdisk, &ramdisk_data)) {
494 die("cannot load '%s': %s", ramdisk.c_str(), strerror(errno));
1801 {"ramdisk-offset", required_argument, 0, 0},
1847 } else if (name == "ramdisk-offset") {
2032 std::string ramdisk;
2033 if (!args.empty()) ramdisk = next_arg(&args);
2036 auto data = LoadBootableImage(kernel, ramdisk, second_stage);
2067 std::string ramdisk;
2068 if (!args.empty()) ramdisk = next_arg(&args);
2072 auto data = LoadBootableImage(kernel, ramdisk, second_stage);