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

@ -495,6 +495,10 @@ Platform::Platform() :
xml.node("hardware", [&] () {
_setup_platform_info(xml, sigma0_map_kip());
});
xml.node("affinity-space", [&] () {
xml.attribute("width", affinity_space().width());
xml.attribute("height", affinity_space().height());
});
});
_rom_fs.insert(new (core_mem_alloc()) Rom_module(phys_addr, size,