diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-08-10 13:27:19 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-09-02 10:07:15 +0800 |
commit | 1b22c63a9e40d11f03596d8fcce351847b2beecf (patch) | |
tree | 6a76135be2cfbeb6540d4015c179bdd1ba8de07d /PcAtChipsetPkg | |
parent | 2b9020f086869e14e5b111ed80844c01a5b0a404 (diff) | |
download | edk2-1b22c63a9e40d11f03596d8fcce351847b2beecf.tar.gz edk2-1b22c63a9e40d11f03596d8fcce351847b2beecf.tar.bz2 edk2-1b22c63a9e40d11f03596d8fcce351847b2beecf.zip |
PcAtChipsetPkg/ResetSystemLib: Implement ResetPlatformSpecific
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
Cc: Amy Chan <amy.chan@intel.com>
Diffstat (limited to 'PcAtChipsetPkg')
-rw-r--r-- | PcAtChipsetPkg/Library/ResetSystemLib/ResetSystemLib.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/PcAtChipsetPkg/Library/ResetSystemLib/ResetSystemLib.c b/PcAtChipsetPkg/Library/ResetSystemLib/ResetSystemLib.c index b3b2efbe35..237ae883e9 100644 --- a/PcAtChipsetPkg/Library/ResetSystemLib/ResetSystemLib.c +++ b/PcAtChipsetPkg/Library/ResetSystemLib/ResetSystemLib.c @@ -84,3 +84,24 @@ 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 ();
+}
|