]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPlatformPkg/ArmVExpressPkg: Added 'EfiResetPlatformSpecific' to ResetSystemLib
authorOlivier Martin <olivier.martin@arm.com>
Wed, 21 Aug 2013 14:45:02 +0000 (14:45 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 21 Aug 2013 14:45:02 +0000 (14:45 +0000)
This value was missing from the switch on 'ResetType'.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14583 6f19259b-4bc3-4df7-8a09-765794883524

ArmPlatformPkg/ArmVExpressPkg/Library/ResetSystemLib/ResetSystemLib.c

index b96e7e096f65089d9c114573faa8bdc7eac0250d..98203ff081d36d5afe1093eaec58911f59cc5102 100644 (file)
@@ -1,11 +1,11 @@
 /** @file\r
   Template library implementation to support ResetSystem Runtime call.\r
 /** @file\r
   Template library implementation to support ResetSystem Runtime call.\r
-  \r
-  Fill in the templates with what ever makes you system reset.\r
 \r
 \r
+  Fill in the templates with what ever makes you system reset.\r
 \r
   Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
 \r
   Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
-  \r
+  Copyright (c) 2013, ARM Ltd. All rights reserved.<BR>\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
   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
@@ -46,6 +46,8 @@ LibResetSystem (
   )\r
 {\r
   switch (ResetType) {\r
   )\r
 {\r
   switch (ResetType) {\r
+  case EfiResetPlatformSpecific:\r
+    // Map the platform specific reset as reboot\r
   case EfiResetWarm:\r
     // Map a warm reset into a cold reset\r
   case EfiResetCold:\r
   case EfiResetWarm:\r
     // Map a warm reset into a cold reset\r
   case EfiResetCold:\r