mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-29 15:44:02 +00:00
parent
72f5f9d133
commit
7b964fa700
@ -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,
|
||||
|
@ -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)) {
|
||||
|
@ -705,6 +705,10 @@ Platform::Platform()
|
||||
if (xsdt)
|
||||
xml.attribute("xsdt", String<32>(Hex(xsdt)));
|
||||
});
|
||||
xml.node("affinity-space", [&] () {
|
||||
xml.attribute("width", _cpus.width());
|
||||
xml.attribute("height", _cpus.height());
|
||||
});
|
||||
xml.node("boot", [&] () {
|
||||
if (!boot_fb)
|
||||
return;
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user