From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (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 D95CD21C8F619 for ; Sun, 18 Jun 2017 19:30:32 -0700 (PDT) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga105.jf.intel.com with ESMTP; 18 Jun 2017 19:31:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,359,1493708400"; d="scan'208";a="982417089" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga003.jf.intel.com with ESMTP; 18 Jun 2017 19:31:53 -0700 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 18 Jun 2017 19:31:53 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 18 Jun 2017 19:31:53 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.151]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.122]) with mapi id 14.03.0319.002; Mon, 19 Jun 2017 10:31:31 +0800 From: "Ni, Ruiyu" To: "Bi, Dandan" , "edk2-devel@lists.01.org" CC: "Gao, Liming" Thread-Topic: [patch 6/8] MdePkg: update comments in ResetSystem() according to UEFI2.7 Thread-Index: AQHS6Jp8FLLzReOUWEiIIQ3v/YecpqIrdtnw Date: Mon, 19 Jun 2017 02:31:30 +0000 Deferred-Delivery: Mon, 19 Jun 2017 02:31:00 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D5B99BD1C@SHSMSX104.ccr.corp.intel.com> References: <1497835292-34476-1-git-send-email-dandan.bi@intel.com> <1497835292-34476-7-git-send-email-dandan.bi@intel.com> In-Reply-To: <1497835292-34476-7-git-send-email-dandan.bi@intel.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [patch 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: , X-List-Received-Date: Mon, 19 Jun 2017 02:30:33 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ruiyu Ni Thanks/Ray > -----Original Message----- > From: Bi, Dandan > Sent: Monday, June 19, 2017 9:22 AM > To: edk2-devel@lists.01.org > Cc: Gao, Liming ; Ni, Ruiyu > Subject: [patch 6/8] MdePkg: update comments in ResetSystem() according > to UEFI2.7 >=20 > 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(-) >=20 > diff --git a/MdePkg/Include/Library/UefiRuntimeLib.h > b/MdePkg/Include/Library/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 > available under the terms and conditions of the BSD License that > accompanies this distribution. > 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 > EfiResetShutdown the data buffer starts with a > Null-terminated Unicode string, optionally followe= d by additional > binary data. The string is a > description that the caller may use to further ind= icate the reason > for the system reset. ResetData > is only valid if ResetStatus is something other th= en EFI_SUCCESS. > This pointer must be a physical > - address. For a ResetType of EfiRestUpdate the data= buffer also > starts with a Null-terminated string > - that is followed by a physical VOID * to an EFI_CA= PSULE_HEADER. > - > + address. For a ResetType of EfiResetPlatformSpecif= ic the data > buffer also starts with a Null-terminated > + string that is followed by an EFI_GUID that descri= bes 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 5774470..58acca2 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 cal= ler may use to further > indicate the reason for the system reset= . ResetData is only > valid if ResetStatus is something other = than EFI_SUCCESS > unless the ResetType is EfiResetPlatform= Specific > where a minimum amount of ResetData is a= lways required. > + For a ResetType of EfiResetPlatformSpeci= fic the data buffer > + also starts with a Null-terminated strin= g that is followed > + by an EFI_GUID that describes the specif= ic type of reset to > perform. > **/ > typedef > VOID > (EFIAPI *EFI_RESET_SYSTEM)( > IN EFI_RESET_TYPE ResetType, > -- > 1.9.5.msysgit.1