mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-07-26 15:44:58 +00:00
Add wrapper functions to query machine vendor ID (mvendorid), architecture ID (marchid), and implementation ID (mimpid) through the SBI base extension. These IDs identify the RISC-V processor vendor, microarchitecture, and specific implementation respectively. The hypervisor needs to retrieve these values from the underlying SBI firmware to forward them to the Service VM via vSBI, allowing the Service VM to see the actual hardware characteristics. Tracked-On: #8851 Signed-off-by: Haoyu Tang <haoyu.tang@intel.com> Acked-by: Wang Yu1 <yu1.wang@intel.com>