mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
parent
a89eb5e7e3
commit
b66987e1ce
@ -128,8 +128,9 @@ namespace Nova {
|
||||
uint32_t const tsc_freq; /* time-stamp counter frequency in kHz */
|
||||
uint32_t const bus_freq; /* bus frequency in kHz */
|
||||
|
||||
bool has_feature_vmx() const { return feature_flags & (1 << 1); }
|
||||
bool has_feature_svm() const { return feature_flags & (1 << 2); }
|
||||
bool has_feature_iommu() const { return feature_flags & (1 << 0); }
|
||||
bool has_feature_vmx() const { return feature_flags & (1 << 1); }
|
||||
bool has_feature_svm() const { return feature_flags & (1 << 2); }
|
||||
|
||||
struct Cpu_desc {
|
||||
uint8_t flags;
|
||||
|
@ -685,6 +685,7 @@ Platform::Platform()
|
||||
xml.attribute("name", "nova");
|
||||
xml.attribute("acpi", true);
|
||||
xml.attribute("msi" , true);
|
||||
xml.attribute("iommu", hip.has_feature_iommu());
|
||||
});
|
||||
if (efi_sys_tab_phy) {
|
||||
xml.node("efi-system-table", [&] () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user