summaryrefslogtreecommitdiff
path: root/EDK/Foundation/Guid/StatusCode
diff options
context:
space:
mode:
authorraywu <raywu0301@gmail.com>2018-06-15 00:00:50 +0800
committerraywu <raywu0301@gmail.com>2018-06-15 00:00:50 +0800
commitb7c51c9cf4864df6aabb99a1ae843becd577237c (patch)
treeeebe9b0d0ca03062955223097e57da84dd618b9a /EDK/Foundation/Guid/StatusCode
downloadzprj-master.tar.xz
init. 1AQQW051HEADmaster
Diffstat (limited to 'EDK/Foundation/Guid/StatusCode')
-rw-r--r--EDK/Foundation/Guid/StatusCode/StatusCode.c28
-rw-r--r--EDK/Foundation/Guid/StatusCode/StatusCode.h33
2 files changed, 61 insertions, 0 deletions
diff --git a/EDK/Foundation/Guid/StatusCode/StatusCode.c b/EDK/Foundation/Guid/StatusCode/StatusCode.c
new file mode 100644
index 0000000..bc2f48c
--- /dev/null
+++ b/EDK/Foundation/Guid/StatusCode/StatusCode.c
@@ -0,0 +1,28 @@
+/*++
+
+Copyright (c) 2004, 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
+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.
+
+Module Name:
+
+ StatusCode.c
+
+Abstract:
+
+ GUIDs used to identify Data Hub records that originate from the Tiano
+ ReportStatusCode API.
+
+--*/
+
+#include "Tiano.h"
+#include EFI_GUID_DEFINITION (StatusCode)
+
+EFI_GUID gEfiStatusCodeGuid = EFI_STATUS_CODE_GUID;
+
+EFI_GUID_STRING(&gEfiStatusCodeGuid, "Status Code", "Data Hub record for Tiano ReportStatusCode API");
diff --git a/EDK/Foundation/Guid/StatusCode/StatusCode.h b/EDK/Foundation/Guid/StatusCode/StatusCode.h
new file mode 100644
index 0000000..e3da307
--- /dev/null
+++ b/EDK/Foundation/Guid/StatusCode/StatusCode.h
@@ -0,0 +1,33 @@
+/*++
+
+Copyright (c) 2004, 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
+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.
+
+Module Name:
+
+ StatusCode.h
+
+Abstract:
+
+ GUID used to identify Data Hub records that originate from the Tiano
+ ReportStatusCode API.
+
+--*/
+
+#ifndef _STATUS_CODE_H__
+#define _STATUS_CODE_H__
+
+#define EFI_STATUS_CODE_GUID \
+ { \
+ 0xd083e94c, 0x6560, 0x42e4, 0xb6, 0xd4, 0x2d, 0xf7, 0x5a, 0xdf, 0x6a, 0x2a \
+ }
+
+extern EFI_GUID gEfiStatusCodeGuid;
+
+#endif