microsoft / openvmm

Home of OpenVMM and OpenHCL.
http://openvmm.dev/
MIT License
1.57k stars 83 forks source link

remove /dev/mem usage when reading vtl2 parameters and instead pass info via dt or reconstruct #263

Open chris-oo opened 3 weeks ago

chris-oo commented 3 weeks ago

We shouldn't use /dev/mem to read data, and instead should use device tree and reconstruct what we need.

This is easy for the measured information, but harder for the SLIT/PPTT. However, we should be able to reconstruct this information from device tree.

chris-oo commented 2 weeks ago

Unfortunately this gets a bit harder with the reserved region #304 . I don't know if we can easily remove some of these binary-only info, since packing them in device tree seems like the wrong thing to do