Skip to content
Commit 6c8a08bd authored by Ard Biesheuvel's avatar Ard Biesheuvel Committed by mergify[bot]
Browse files

ArmVirtPkg/PrePi: Ensure timely execution of library constructors



PrePi has a bare metal entry point, and so it is in charge of calling
the library constructors once the C runtime has been initialized
sufficiently.

However, we are now relying on a HOB to have been constructed by the
time the MMU code runs, and so the constructors should be run before
that.

Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
Acked-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent d0ff1cae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment