mirror of
https://github.com/acidanthera/audk.git
synced 2025-08-14 06:08:09 +02:00
The current image DxeCore re-uses the generic UEFI implementations of DxeServicesTableLib, UefiBootServicesTableLib, and UefiRuntimeServicesTableLib. As such, the respective pointers are not available till the library constructors have been called. Use the DxeCore library instances for the services tables for them to be available earlier. This for example allows the usage of DXE memory protection services by externally linked modules before reaching library construction stage. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Hao A Wu <hao.a.wu@intel.com> Cc: Dandan Bi <dandan.bi@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Vitaly Cheptsov <vit9696@protonmail.com> Signed-off-by: Marvin Häuser <mhaeuser@posteo.de>