]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPlatformPkg/PrePi: Added Firmware Version String to the 'welcome' statement
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 26 Mar 2012 11:08:32 +0000 (11:08 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 26 Mar 2012 11:08:32 +0000 (11:08 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13139 6f19259b-4bc3-4df7-8a09-765794883524

ArmPlatformPkg/PrePi/PeiMPCore.inf
ArmPlatformPkg/PrePi/PeiUniCore.inf
ArmPlatformPkg/PrePi/PrePi.c

index 9e76e653027aec519a78d1df40ab0333c73eab8c..4b05583779c7034466ac75eb0fcfc1b8742927b1 100755 (executable)
@@ -68,6 +68,8 @@
   gArmPlatformTokenSpaceGuid.PcdSendSgiToBringUpSecondaryCores\r
 \r
 [FixedPcd]\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString\r
+  \r
   gArmTokenSpaceGuid.PcdVFPEnabled\r
 \r
   gArmTokenSpaceGuid.PcdFdBaseAddress\r
index a3bf867585d3192c2b79cd48064076fd764886be..2d3617fd67a4c577b893e9171d25317734e7564c 100755 (executable)
@@ -67,6 +67,8 @@
   gArmPlatformTokenSpaceGuid.PcdSendSgiToBringUpSecondaryCores\r
 \r
 [FixedPcd]\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString\r
+  \r
   gArmTokenSpaceGuid.PcdVFPEnabled\r
 \r
   gArmTokenSpaceGuid.PcdFdBaseAddress\r
index 11396d1537c523dab1167c330339fa408ee5e423..b7b64293298e9758e19fe5696632bc62c645fcfc 100755 (executable)
@@ -99,7 +99,8 @@ PrePiMain (
 \r
   // Initialize the Serial Port\r
   SerialPortInitialize ();\r
-  CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"UEFI firmware built at %a on %a\n\r",__TIME__, __DATE__);\r
+  CharCount = AsciiSPrint (Buffer,sizeof (Buffer),"UEFI firmware (version %s built at %a on %a)\n\r",\r
+    (CHAR16*)PcdGetPtr(PcdFirmwareVersionString), __TIME__, __DATE__);\r
   SerialPortWrite ((UINT8 *) Buffer, CharCount);\r
 \r
   // Initialize the Debug Agent for Source Level Debugging\r