Re: [edk2-devel] [PATCH v4 07/15] MdeModulePkg: Fix constructor invocation ordering

2020-07-10 Thread Sami Mujawar
July 2020 01:48 PM To: devel@edk2.groups.io Cc: Sami Mujawar ; Ard Biesheuvel ; l...@nuviainc.com; ler...@redhat.com; jian.j.w...@intel.com; hao.a...@intel.com; Alexandru Elisei ; Andre Przywara ; Matteo Carlini ; Laura Moretta ; nd Subject: [edk2-devel] [PATCH v4 07/15] MdeModulePkg: Fix

[edk2-devel] [PATCH v4 07/15] MdeModulePkg: Fix constructor invocation ordering

2020-07-07 Thread Sami Mujawar
The BaseSerialPortLib16550 library does not implement a constructor. This prevents the correct constructor invocation order for dependent libraries. e.g. A PlatformHookLib (for the Serial Port) may have a dependency on retrieving data from a Hob. A Hob library implementation may configure its initi