base: add affinity space info to platform info

Issue #3599
This commit is contained in:
Alexander Boettcher
2020-01-14 14:49:00 +01:00
committed by Christian Helmuth
parent 72f5f9d133
commit 7b964fa700
4 changed files with 16 additions and 0 deletions

View File

@@ -417,6 +417,10 @@ void Platform::_init_rom_modules()
xml.attribute("freq_khz" , boot_freq->freq_mhz * 1000UL);
});
});
xml.node("affinity-space", [&] () {
xml.attribute("width", affinity_space().width());
xml.attribute("height", affinity_space().height());
});
}
if (element->id == SEL4_BOOTINFO_HEADER_X86_FRAMEBUFFER) {