]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BeagleBoardPkg/Library/ResetSystemLib/ResetSystemLib.c
MdeModulePkg: Add new HII action type EFI_BROWSER_ACTION_SUBMITTED
[mirror_edk2.git] / BeagleBoardPkg / Library / ResetSystemLib / ResetSystemLib.c
index 706a19b273b3dcdce1f4e650e69770ca4371f4cc..6b7879b02bd68bee209e4946b31b6066a0c58ce5 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
   Do a generic Cold Reset for OMAP3550 and BeagleBoard specific Warm reset\r
-  \r
+\r
   Copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR>\r
-  \r
+\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -54,7 +54,7 @@ ShutdownEfi (
 \r
       Pages = EFI_SIZE_TO_PAGES (MemoryMapSize) + 1;\r
       MemoryMap = AllocatePages (Pages);\r
-    \r
+\r
       //\r
       // Get System MemoryMap\r
       //\r
@@ -125,7 +125,7 @@ LibResetSystem (
   switch (ResetType) {\r
   case EfiResetWarm:\r
     //Perform warm reset of the system by jumping to the begining of the FV\r
-    StartOfFv = (CALL_STUB)(UINTN)PcdGet32(PcdFvBaseAddress);\r
+    StartOfFv = (CALL_STUB)(UINTN)PcdGet64 (PcdFvBaseAddress);\r
     StartOfFv ();\r
     break;\r
   case EfiResetCold:\r
@@ -141,7 +141,7 @@ LibResetSystem (
   ASSERT (FALSE);\r
   return EFI_DEVICE_ERROR;\r
 }\r
-  \r
+\r
 \r
 \r
 /**\r
@@ -149,7 +149,7 @@ LibResetSystem (
 \r
   @param  ImageHandle   The firmware allocated handle for the EFI image.\r
   @param  SystemTable   A pointer to the EFI System Table.\r
-  \r
+\r
   @retval EFI_SUCCESS   The constructor always returns EFI_SUCCESS.\r
 \r
 **/\r