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

2020-10-04 Thread Wu, Hao A
Acked-by: Hao A Wu Best Regards, Hao Wu > -Original Message- > From: Sami Mujawar > Sent: Saturday, October 3, 2020 5:14 AM > To: devel@edk2.groups.io > Cc: Sami Mujawar ; ard.biesheu...@arm.com; > l...@nuviainc.com; ler...@redhat.com; Wang, Jian J ; > Wu, Hao A ; alexandru.eli...@arm.c

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

2020-10-02 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