From 18e44b07d4c1667ad49169810e1f2835f3534d13 Mon Sep 17 00:00:00 2001 From: Olivier Martin Date: Wed, 21 Aug 2013 14:45:02 +0000 Subject: [PATCH] ArmPlatformPkg/ArmVExpressPkg: Added 'EfiResetPlatformSpecific' to ResetSystemLib This value was missing from the switch on 'ResetType'. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14583 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Library/ResetSystemLib/ResetSystemLib.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ArmPlatformPkg/ArmVExpressPkg/Library/ResetSystemLib/ResetSystemLib.c b/ArmPlatformPkg/ArmVExpressPkg/Library/ResetSystemLib/ResetSystemLib.c index b96e7e096f..98203ff081 100644 --- a/ArmPlatformPkg/ArmVExpressPkg/Library/ResetSystemLib/ResetSystemLib.c +++ b/ArmPlatformPkg/ArmVExpressPkg/Library/ResetSystemLib/ResetSystemLib.c @@ -1,11 +1,11 @@ /** @file Template library implementation to support ResetSystem Runtime call. - - Fill in the templates with what ever makes you system reset. + Fill in the templates with what ever makes you system reset. Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
- + Copyright (c) 2013, ARM Ltd. All rights reserved.
+ This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -46,6 +46,8 @@ LibResetSystem ( ) { switch (ResetType) { + case EfiResetPlatformSpecific: + // Map the platform specific reset as reboot case EfiResetWarm: // Map a warm reset into a cold reset case EfiResetCold: -- 2.39.2