nova: Allocate pages for Report ROM module depending on max count of CPUs supported by NOVA.

This commit is contained in:
Michael Mueller
2022-10-14 13:53:58 +02:00
parent bad3ae4bd0
commit b35664e0f4

View File

@@ -683,7 +683,7 @@ Platform::Platform()
rom_name, " as ROM module"); });
};
export_pages_as_rom_module("platform_info", 37,
export_pages_as_rom_module("platform_info", 1 + (MAX_SUPPORTED_CPUS / 32),
[&](char *const ptr, size_t const size)
{
log("Exporting platform info as ROM module");