From nobody Sat Jul 12 22:55:31 2025 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zoho.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org; Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1497847638926623.4542631862456; Sun, 18 Jun 2017 21:47:18 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id EBAF621C8F62D; Sun, 18 Jun 2017 21:45:53 -0700 (PDT) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 948B821C8F637 for ; Sun, 18 Jun 2017 21:45:52 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Jun 2017 21:47:13 -0700 Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.157.135]) by orsmga002.jf.intel.com with ESMTP; 18 Jun 2017 21:47:12 -0700 X-Original-To: edk2-devel@lists.01.org X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,359,1493708400"; d="scan'208";a="100987292" From: Dandan Bi To: edk2-devel@lists.01.org Date: Mon, 19 Jun 2017 12:46:24 +0800 Message-Id: <1497847586-18144-7-git-send-email-dandan.bi@intel.com> X-Mailer: git-send-email 1.9.5.msysgit.1 In-Reply-To: <1497847586-18144-1-git-send-email-dandan.bi@intel.com> References: <1497847586-18144-1-git-send-email-dandan.bi@intel.com> Subject: [edk2] [PATCH v2 6/8] MdePkg: update comments in ResetSystem() according to UEFI2.7 X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ruiyu Ni , Liming Gao MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Cc: Liming Gao Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi --- MdePkg/Include/Library/UefiRuntimeLib.h | 7 +++---- MdePkg/Include/Uefi/UefiSpec.h | 3 +++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/MdePkg/Include/Library/UefiRuntimeLib.h b/MdePkg/Include/Libra= ry/UefiRuntimeLib.h index 99ca824..0bca416 100644 --- a/MdePkg/Include/Library/UefiRuntimeLib.h +++ b/MdePkg/Include/Library/UefiRuntimeLib.h @@ -1,10 +1,10 @@ /** @file Provides library functions for each of the UEFI Runtime Services. Only available to DXE and UEFI module types. =20 -Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
+Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made availabl= e under=20 the terms and conditions of the BSD License that accompanies this distribu= tion. =20 The full text of the license may be found at http://opensource.org/licenses/bsd-license.php. =20 @@ -327,13 +327,12 @@ EfiGetNextHighMonotonicCount ( @param DataSizeThe size, in bytes, of ResetData. @param ResetData For a ResetType of EfiResetCold, EfiResetWarm, or Ef= iResetShutdown the data buffer starts with a Null-terminated Unicode string, optionally followed = by additional binary data. The string is a description that the caller may use to further indic= ate the reason for the system reset. ResetData is only valid if ResetStatus is something other then= EFI_SUCCESS. This pointer must be a physical - address. For a ResetType of EfiRestUpdate the data b= uffer also starts with a Null-terminated string - that is followed by a physical VOID * to an EFI_CAPS= ULE_HEADER. - + address. For a ResetType of EfiResetPlatformSpecific= the data buffer also starts with a Null-terminated + string that is followed by an EFI_GUID that describe= s the specific type of reset to perform. **/ VOID EFIAPI EfiResetSystem ( IN EFI_RESET_TYPE ResetType, diff --git a/MdePkg/Include/Uefi/UefiSpec.h b/MdePkg/Include/Uefi/UefiSpec.h index 4c541a6..637c9c7 100644 --- a/MdePkg/Include/Uefi/UefiSpec.h +++ b/MdePkg/Include/Uefi/UefiSpec.h @@ -1018,10 +1018,13 @@ EFI_STATUS The string is a description that the calle= r may use to further indicate the reason for the system reset. = ResetData is only valid if ResetStatus is something other th= an EFI_SUCCESS unless the ResetType is EfiResetPlatformSp= ecific where a minimum amount of ResetData is alw= ays required. + For a ResetType of EfiResetPlatformSpecifi= c the data buffer + also starts with a Null-terminated string = that is followed + by an EFI_GUID that describes the specific= type of reset to perform. **/ typedef VOID (EFIAPI *EFI_RESET_SYSTEM)( IN EFI_RESET_TYPE ResetType, --=20 1.9.5.msysgit.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel