implement loading of initramfs via the linux media initrd protocol

This commit is contained in:
2025-10-12 20:22:24 -07:00
parent 9a52fa1d1c
commit 87944067d1
6 changed files with 204 additions and 12 deletions

View File

@@ -6,6 +6,7 @@ use uefi::proto::device_path::{DevicePath, PoolDevicePath};
use uefi::proto::media::fs::SimpleFileSystem;
pub mod framebuffer;
pub mod linux_media_initrd;
pub fn text_to_device_path(path: &str) -> Result<PoolDevicePath> {
let path = CString16::try_from(path).context("unable to convert path to CString16")?;