From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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-Google-Smtp-Source: ANB0VdZxwnLbBNijMJUghcWtaVmNc+UPNPiI4nEbyGv9WP6OWgLC+nMQWq2yRTL2i415Nc/d8v2wSQ== 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 Cc: ard.biesheuvel@linaro.org, michael.d.kinney@intel.com, lersek@redhat.com, guoheyi@huawei.com, wanghuiqiang@huawei.com, huangming23@huawei.com, zhangjinsong2@huawei.com, huangdaode@hisilicon.com, john.garry@huawei.com, xinliang.liu@linaro.org, Ming Huang 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: [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: , X-List-Received-Date: Thu, 23 Aug 2018 15:59:47 -0000 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(+) 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 -- 2.18.0