mirror of
https://github.com/edera-dev/krata.git
synced 2026-11-04 21:22:20 +00:00
fix(xenplatform): e820 sanitize should now produce valid mappings
This commit is contained in:
7 files changed
+97
-124
No files matched your search
@@ -0,0 +1,14 @@
|
||||
use xencall::error::Result;
|
||||
use xencall::XenCall;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<()> {
|
||||
env_logger::init();
|
||||
|
||||
let call = XenCall::open(0)?;
|
||||
let physinfo = call.phys_info().await?;
|
||||
println!("{:?}", physinfo);
|
||||
let topology = call.cpu_topology().await?;
|
||||
println!("{:?}", topology);
|
||||
Ok(())
|
||||
}
|
||||
Reference in new issue
Block a user