Memory footprint will be a function of three build-time constants: MAX_CPUS, MAX_VMS and HEAP_PAGES. They're defined in the build rule of each target platform, e.g. for RPi4 it is here: https://git.trustedfirmware.org/hafnium/project/reference.git/tree/BUILD.gn#...
Hope this helps, David
On Tue, Sep 15, 2020 at 1:08 AM Varun Wadekar via Hafnium < email@example.com> wrote:
We are trying to figure out the memory footprint (.text + .data) for the Hafnium image. I couldn't find a place where the number of CPUs are specified for a platform. I assume that the footprint will increase as we introduce more CPUs in the mix.
Can someone please help me figure this out?
Hafnium mailing list Hafnium@lists.trustedfirmware.org https://lists.trustedfirmware.org/mailman/listinfo/hafnium