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

@ -130,6 +130,10 @@ void Platform::_init_platform_info()
{
xml.node("kernel", [&] () { xml.attribute("name", "hw"); });
_init_additional_platform_info(xml);
xml.node("affinity-space", [&] () {
xml.attribute("width", affinity_space().width());
xml.attribute("height", affinity_space().height());
});
});
if (!unmap_local(virt_addr, pages)) {