On 08/02/18 15:05, Gao, Liming wrote: > MdePkg provides the basic module type header file, such as PiPei.h, > PiDxe.h, Uefi.h. PiPei.h and PiDxe.h will include the basic PI > definition. They have included PiHob.h and PiFirmwareVolume.h. > Because the module type header file is included into AutoGen.h based > on the module type. And, AutoGen.h is always included by compiler > option. So, in edk2 build system, there is no issue to include > HobLib.h and Protocol/FirmwareVolume2.h in source files.
Thanks, this is helpful! Laszlo _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

