diff options
author | Ming Huang <ming.huang@linaro.org> | 2018-08-23 10:00:22 +0800 |
---|---|---|
committer | Leif Lindholm <leif.lindholm@linaro.org> | 2018-09-03 16:40:14 +0100 |
commit | e3171227a5d9aafb568784b6694a2cd6baebed53 (patch) | |
tree | 9ee0cd42735425b0f308f474069c9236f51eec99 | |
parent | 3ce657b0c01006b505673fcca344bc7be85eefdd (diff) |
Hisilicon: Add dec and header file
Add Guid and protocol in edk2-non-osi to make API cleaner.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ming Huang <ming.huang@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
-rw-r--r-- | Silicon/Hisilicon/HisiliconNonOsi.dec | 26 | ||||
-rw-r--r-- | Silicon/Hisilicon/Include/Protocol/PlatformSasNotify.h | 27 |
2 files changed, 53 insertions, 0 deletions
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
|