split out elfloader and adjust mutability

This commit is contained in:
Alex Zenla
2024-01-10 08:57:44 -08:00
parent 19b797f1a2
commit 5ff0ea8a1b
9 changed files with 255 additions and 230 deletions

View File

@ -1,7 +1,7 @@
use xencall::{XenCall, XenCallError};
fn main() -> Result<(), XenCallError> {
let mut call = XenCall::open()?;
let call = XenCall::open()?;
let info = call.get_version_capabilities()?;
println!("{:?}", info);
Ok(())