From patchwork Thu Aug 23 15:59:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Huang X-Patchwork-Id: 144936 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp303690ljw; Thu, 23 Aug 2018 08:59:49 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZTVlTEpoD+/0oeQeN76wa2j+qo2zdsXjNCJ62PbG4zvD94h+SVa3Qh4qv1yRH2futuibX1 X-Received: by 2002:a62:6781:: with SMTP id t1-v6mr6000344pfj.200.1535039988885; Thu, 23 Aug 2018 08:59:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535039988; cv=none; d=google.com; s=arc-20160816; b=cEBa0fiu2ZNFKX61PB+j64OZdbu2F4a36DjZFBic5xmtOs1uzgQESiLd8PfVVJKYA3 b8ml0WFQBLJb4GiNffvl8wUjJwpFyW3a1V40yFgfEXGTZZuy/5MD/7/iTx/aZXSov9N2 9oF4eKy6SAoVVHCyxdWJuUFP9uQ+xm5HeboIbN5Jx2VQ58g6tTcYshuDgIYSCeOvQ0D9 zDJ40GMqP3MXGWqcTssHPGOXD5zT70ywI5YG2JL1MJR/oSdbaf+Av9BBRcLTRRbAUlrx Fg9DoSMqcFXHR5QwEm2gL/yJddobgJFnfTLRH7m25BQAX82D3n80u05SmIOrnp+hMol8 yB9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=WPLlr8jF8ik0djTV6bLhPX3VMpdAMHl4Deio0Y8LKQs=; b=jpdfyuPwgQpGJmCv2CXepdVqnKmYU8KkoQNJ1vejEDiVefTWOCnTghtu5QNvQN/r3s cg1pWXbustiQ/wfo4lAbnYX0oL7GeTT+IVxdKUTViBaRxnXrJAXBes5kWcc96EICUTPD O1wS45YEIgllEaajMRRdVtXmdlERsOSDE/EwtADasqLF6pAqoKAPn74uCOYq8uQYuZwp OQkmOD0wIOB7nk7pRcQ1hT61tfBM2PiHch7C1GvzCHVAqHCUawFra9TA6WDDbySoyEvG Mq0ka07b8DwTDJvY0dnSphmRE++1PPpki2tvULfYe4xYoiml3EaXXEWk++nWiRiaRvE9 ecyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=EYwAn7o4; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id o14-v6si4978078pgl.614.2018.08.23.08.59.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Aug 2018 08:59:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=EYwAn7o4; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 7028021103DB9; Thu, 23 Aug 2018 08:59:48 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4864:20::543; helo=mail-pg1-x543.google.com; envelope-from=ming.huang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 4E54B21959CB2 for ; Thu, 23 Aug 2018 08:59:47 -0700 (PDT) Received: by mail-pg1-x543.google.com with SMTP id r1-v6so2796658pgp.11 for ; Thu, 23 Aug 2018 08:59:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=HCH9ZJP1Gr9+CYJpSC8b3NLn1qK9oCyje0bYAhmVYcc=; b=EYwAn7o4FZxCBrWMy+ajEfoTrFNSs3Tzb9u+NRMSeP7WMGeSZlM9TyGzJaROa6mESu efOoS32UNQqTbsPN0UGL/AqGarz6tZnup/ZQ1svU+XvcmlLRqqEkzdGPhbyoRkpI0z9e M7uLfxSc/Pas/7ZcSFZUn12Kr4FFGB7KBTzZY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=HCH9ZJP1Gr9+CYJpSC8b3NLn1qK9oCyje0bYAhmVYcc=; b=XqUbhRxbrLqY9zS0az6Wa1Wwy+8rvUAhK5Jy5C+RMxfShSovzaS7RFrjXs7FefMPm1 hzZAV0pKmOTBBs1M7Aj/oVDvuX1M71wvv14mtPNCxsfbQT7MI5RoX8SgdWi98+5yLTrI ZzxRT03bgxgoxljRRmgYSq68Kmdl4GWCG669Kfvcn6PWkSdAs3TJU6jgIhlYe/y/PpJD 8E5VVG7B9erxjheMJBeeVR6ftKY896GTb4jQWA7DdqaNIResvrIQF3KkR0fGW30mmyl0 c97FpY2aRk55Qv6drK4WGiEBqKtVXEy4mQcwBBpIuP36ES3eYju6bx59bBGJPprtTXJm BtEg== X-Gm-Message-State: APzg51BoY1Y+FuoASIGGN8MS7kgxhWqj/04JV72ZPZGkRaBq99LQHBNI 3GpEbY8l3b3Mrx53g+dtZVScJA== X-Received: by 2002:a63:e712:: with SMTP id b18-v6mr1054210pgi.68.1535039987017; Thu, 23 Aug 2018 08:59:47 -0700 (PDT) Received: from localhost.localdomain ([120.31.149.194]) by smtp.gmail.com with ESMTPSA id c88-v6sm6915605pfe.132.2018.08.23.08.59.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 23 Aug 2018 08:59:46 -0700 (PDT) From: Ming Huang To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Date: Thu, 23 Aug 2018 23:59:34 +0800 Message-Id: <20180823155935.42494-2-ming.huang@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180823155935.42494-1-ming.huang@linaro.org> References: <20180823155935.42494-1-ming.huang@linaro.org> Subject: [edk2] [PATCH edk2-non-osi v4 1/2] Hisilicon: Add dec and header file X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: huangming23@huawei.com, xinliang.liu@linaro.org, john.garry@huawei.com, zhangjinsong2@huawei.com, guoheyi@huawei.com, huangdaode@hisilicon.com, michael.d.kinney@intel.com, lersek@redhat.com, wanghuiqiang@huawei.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Add Guid and protocol in edk2-non-osi to make API cleaner. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang --- Silicon/Hisilicon/HisiliconNonOsi.dec | 26 +++++++++++++++++++ Silicon/Hisilicon/Include/Protocol/PlatformSasNotify.h | 27 ++++++++++++++++++++ 2 files changed, 53 insertions(+) -- 2.18.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Silicon/Hisilicon/HisiliconNonOsi.dec b/Silicon/Hisilicon/HisiliconNonOsi.dec new file mode 100644 index 0000000..76087a8 --- /dev/null +++ b/Silicon/Hisilicon/HisiliconNonOsi.dec @@ -0,0 +1,26 @@ +#/** @file +# +# Copyright (c) 2018, Hisilicon Limited. All rights reserved. +# Copyright (c) 2018, Linaro Limited. 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 +# http://opensource.org/licenses/bsd-license.php +# +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +# +#**/ + +[Defines] + DEC_SPECIFICATION = 0x0001001A + PACKAGE_NAME = HisiliconNonOsi + PACKAGE_GUID = ff4ba59f-9856-4db2-a575-97189dc67284 + PACKAGE_VERSION = 0.1 + +[Includes] + Include + +[Protocols] + gPlatformSasNotifyProtocolGuid = {0xac62b9a5, 0x9939, 0x41d3, {0xff, 0x5c, 0xc5, 0x80, 0x32, 0x7d, 0x9b, 0x29}} diff --git a/Silicon/Hisilicon/Include/Protocol/PlatformSasNotify.h b/Silicon/Hisilicon/Include/Protocol/PlatformSasNotify.h new file mode 100644 index 0000000..54fd30f --- /dev/null +++ b/Silicon/Hisilicon/Include/Protocol/PlatformSasNotify.h @@ -0,0 +1,27 @@ +/** @file +* +* Copyright (c) 2018, Hisilicon Limited. All rights reserved. +* Copyright (c) 2018, Linaro Limited. 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 +* http://opensource.org/licenses/bsd-license.php +* +* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +* +**/ + +#ifndef _PLATFORM_SAS_NOTIFY_H_ +#define _PLATFORM_SAS_NOTIFY_H_ + +typedef struct _PLATFORM_SAS_NOTIFY PLATFORM_SAS_NOTIFY; + +struct _PLATFORM_SAS_NOTIFY { + EFI_EVENT WaitDiskEvent; +}; + +extern EFI_GUID gPlatformSasNotifyProtocolGuid; + +#endif