summaryrefslogtreecommitdiffstats
path: root/Vlv2TbltDevicePkg
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2016-08-10 13:29:28 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2016-09-02 10:07:16 +0800
commitcdd1ae1fef27c44773479a618ecdc4606a7b876e (patch)
treec10bf1fbbd30156f0079fb41dddabc2944d8bd6c /Vlv2TbltDevicePkg
parent964f2d7410efdd901c9c7f43df75d8d5a8e1087d (diff)
downloadedk2-cdd1ae1fef27c44773479a618ecdc4606a7b876e.tar.gz
edk2-cdd1ae1fef27c44773479a618ecdc4606a7b876e.tar.bz2
edk2-cdd1ae1fef27c44773479a618ecdc4606a7b876e.zip
Vlv2TbltDevicePkg/ResetSystemLib: Implement ResetPlatformSpecific
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: David Wei <david.wei@intel.com>
Diffstat (limited to 'Vlv2TbltDevicePkg')
-rw-r--r--Vlv2TbltDevicePkg/Library/ResetSystemLib/ResetSystemLib.c23
1 files changed, 21 insertions, 2 deletions
diff --git a/Vlv2TbltDevicePkg/Library/ResetSystemLib/ResetSystemLib.c b/Vlv2TbltDevicePkg/Library/ResetSystemLib/ResetSystemLib.c
index 1a6da83c40..55e48bdadf 100644
--- a/Vlv2TbltDevicePkg/Library/ResetSystemLib/ResetSystemLib.c
+++ b/Vlv2TbltDevicePkg/Library/ResetSystemLib/ResetSystemLib.c
@@ -1,7 +1,6 @@
/** @file
-Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
-
+ Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available under
the terms and conditions of the BSD License that accompanies this distribution.
The full text of the license may be found at
@@ -176,3 +175,23 @@ EnterS3WithImmediateWake (
ASSERT (FALSE);
}
+/**
+ This function causes a systemwide reset. The exact type of the reset is
+ defined by the EFI_GUID that follows the Null-terminated Unicode string passed
+ into ResetData. If the platform does not recognize the EFI_GUID in ResetData
+ the platform must pick a supported reset type to perform.The platform may
+ optionally log the parameters from any non-normal reset that occurs.
+
+ @param[in] DataSize The size, in bytes, of ResetData.
+ @param[in] ResetData The data buffer starts with a Null-terminated string,
+ followed by the EFI_GUID.
+**/
+VOID
+EFIAPI
+ResetPlatformSpecific (
+ IN UINTN DataSize,
+ IN VOID *ResetData
+ )
+{
+ ResetCold ();
+}