Hi,

I am trying to integrate FatPkg (git clone 
git://git.code.sf.net/p/tianocore/edk2-FatPkg tianocore-edk2-FatPkg) with my 
UEFI code.

For this I have made following changes in my dsc file:

[LibraryClasses.common]
+  PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
+  
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
+  PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf


[Components.common]
   #
   # FAT filesystem + GPT/MBR partitioning
   #
+  FatPkg/EnhancedFatDxe/Fat.inf
+  FatPkg/FatPei/FatPei.inf
   MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf


On building this I am facing below error:

/proj/nmgsw_be/users/b46476/code/UEFI/ls1043a-uefi/LS1043aRdbPkg/LS1043aRdbPkgXipBoot.dsc(...):
 error 1001: Module type [PEIM] is not supported by library instance 
[/proj/nmgsw_be/users/b46476/code/UEFI/ls1043a-uefi/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf]
        consumed by 
[/proj/nmgsw_be/users/b46476/code/UEFI/ls1043a-uefi/FatPkg/FatPei/FatPei.inf]


Will modifying 
MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf file to 
support PEIM is correct?


Kindly guide.


Thanks & regards
Meenakshi Aggarwal

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to