Searched refs:bootargs (Results 1 – 8 of 8) sorted by relevance
17 use crate::bootargs::BootArgsIterator;126 if let Some(bootargs) = chosen.getprop_str(cstr!("bootargs"))? { in read_bootargs_from()129 let copy = CString::new(bootargs.to_bytes()).map_err(|_| FdtError::BadValue)?; in read_bootargs_from()136 fn patch_bootargs(fdt: &mut Fdt, bootargs: &CStr) -> libfdt::Result<()> { in patch_bootargs()141 node.setprop(cstr!("bootargs"), bootargs.to_bytes_with_nul()) in patch_bootargs()917 bootargs: Option<CString>, field1025 let bootargs = read_bootargs_from(fdt).map_err(|e| { in parse_device_tree() localVariable1102 bootargs, in parse_device_tree()1126 if let Some(bootargs) = &info.bootargs { in patch_device_tree()1127 patch_bootargs(fdt, bootargs.as_c_str()).map_err(|e| { in patch_device_tree()[all …]
58 pub fn new(bootargs: &'a CStr) -> Result<Self, String> { in new()59 let arg = bootargs.to_str().map_err(|e| format!("{e}"))?; in new()
23 mod bootargs; module
15 adb = <1>; // adb is required to check VM's bootargs.
9 "name" : "libpvmfw.bootargs.test"
62 name: "libpvmfw.bootargs.test",64 // For now, only bootargs.rs is written to be conditionally compiled with std.65 srcs: ["src/bootargs.rs"],
13 bootargs = "panic=-1 crashkernel=31M";