Android-cuttlefish cvd tool
Functions
vendor_boot_img_utils.h File Reference
#include <inttypes.h>
#include <string>
#include <android-base/result.h>
#include <android-base/unique_fd.h>
Include dependency graph for vendor_boot_img_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

android::base::Result< void > replace_vendor_ramdisk (android::base::borrowed_fd vendor_boot_fd, uint64_t vendor_boot_size, const std::string &ramdisk_name, android::base::borrowed_fd new_ramdisk_fd, uint64_t new_ramdisk_size, android::base::borrowed_fd new_dtb_fd, uint64_t new_dtb_size)
 

Function Documentation

◆ replace_vendor_ramdisk()

android::base::Result< void > replace_vendor_ramdisk ( android::base::borrowed_fd  vendor_boot_fd,
uint64_t  vendor_boot_size,
const std::string &  ramdisk_name,
android::base::borrowed_fd  new_ramdisk_fd,
uint64_t  new_ramdisk_size,
android::base::borrowed_fd  new_dtb_fd,
uint64_t  new_dtb_size 
)