RedfishPkg/RedfishCrtLib: Redfish C runtime library
Redfish CRT library is currently used by edk2 JsonLib (open source jansson project) and edk2 RedfishLib (libredfish open source project). Redfish CrtLib library provides the necessary C runtime equivalent edk2 functions for open source projects. Signed-off-by: Abner Chang <abner.chang@hpe.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Nickle Wang <nickle.wang@hpe.com> Cc: Peter O'Hanley <peter.ohanley@hpe.com> Reviewed-by: Nickle Wang <nickle.wang@hpe.com> Acked-by: Leif Lindholm <leif@nuviainc.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
a88731d545
commit
6e9233f968
16
RedfishPkg/PrivateInclude/Crt/assert.h
Normal file
16
RedfishPkg/PrivateInclude/Crt/assert.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/** @file
|
||||
Include file to support building the third-party jansson library.
|
||||
|
||||
Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
|
||||
(C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>
|
||||
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
|
||||
#ifndef REDFISH_CRT_ASSERT_H_
|
||||
#define REDFISH_CRT_ASSERT_H_
|
||||
|
||||
#include <Library/RedfishCrtLib.h>
|
||||
|
||||
#endif
|
16
RedfishPkg/PrivateInclude/Crt/errno.h
Normal file
16
RedfishPkg/PrivateInclude/Crt/errno.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/** @file
|
||||
Include file to support building the third-party jansson library.
|
||||
|
||||
Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
|
||||
(C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>
|
||||
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
|
||||
#ifndef REDFISH_CRT_ERRNO_H_
|
||||
#define REDFISH_CRT_ERRNO_H_
|
||||
|
||||
#include <Library/RedfishCrtLib.h>
|
||||
|
||||
#endif
|
16
RedfishPkg/PrivateInclude/Crt/limits.h
Normal file
16
RedfishPkg/PrivateInclude/Crt/limits.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/** @file
|
||||
Include file to support building the third-party jansson library.
|
||||
|
||||
Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
|
||||
(C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>
|
||||
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
|
||||
#ifndef REDFISH_CRT_LIMITS_H_
|
||||
#define REDFISH_CRT_LIMITS_H_
|
||||
|
||||
#include <Library/RedfishCrtLib.h>
|
||||
|
||||
#endif
|
16
RedfishPkg/PrivateInclude/Crt/math.h
Normal file
16
RedfishPkg/PrivateInclude/Crt/math.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/** @file
|
||||
Include file to support building the third-party jansson library.
|
||||
|
||||
Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
|
||||
(C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>
|
||||
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
|
||||
#ifndef REDFISH_CRT_MATH_H_
|
||||
#define REDFISH_CRT_MATH_H_
|
||||
|
||||
#include <Library/RedfishCrtLib.h>
|
||||
|
||||
#endif
|
15
RedfishPkg/PrivateInclude/Crt/stdarg.h
Normal file
15
RedfishPkg/PrivateInclude/Crt/stdarg.h
Normal file
@@ -0,0 +1,15 @@
|
||||
/** @file
|
||||
Include file to support building the third-party jansson library.
|
||||
|
||||
Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
|
||||
(C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>
|
||||
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
#ifndef REDFISH_CRT_STDARG_H_
|
||||
#define REDFISH_CRT_STDARG_H_
|
||||
|
||||
#include <Library/RedfishCrtLib.h>
|
||||
|
||||
#endif
|
16
RedfishPkg/PrivateInclude/Crt/stddef.h
Normal file
16
RedfishPkg/PrivateInclude/Crt/stddef.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/** @file
|
||||
Include file to support building the third-party jansson library.
|
||||
|
||||
Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
|
||||
(C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>
|
||||
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
|
||||
#ifndef REDFISH_CRT_STDDEF_H_
|
||||
#define REDFISH_CRT_STDDEF_H_
|
||||
|
||||
#include <Library/RedfishCrtLib.h>
|
||||
|
||||
#endif
|
15
RedfishPkg/PrivateInclude/Crt/stdio.h
Normal file
15
RedfishPkg/PrivateInclude/Crt/stdio.h
Normal file
@@ -0,0 +1,15 @@
|
||||
/** @file
|
||||
Include file to support building the third-party jansson library.
|
||||
|
||||
Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
|
||||
(C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>
|
||||
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
#ifndef REDFISH_CRT_STDIO_H_
|
||||
#define REDFISH_CRT_STDIO_H_
|
||||
|
||||
#include <Library/RedfishCrtLib.h>
|
||||
|
||||
#endif
|
16
RedfishPkg/PrivateInclude/Crt/stdlib.h
Normal file
16
RedfishPkg/PrivateInclude/Crt/stdlib.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/** @file
|
||||
Include file to support building the third-party jansson library.
|
||||
|
||||
Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
|
||||
(C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>
|
||||
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
|
||||
#ifndef REDFISH_CRT_STDLIB_H_
|
||||
#define REDFISH_CRT_STDLIB_H_
|
||||
|
||||
#include <Library/RedfishCrtLib.h>
|
||||
|
||||
#endif
|
16
RedfishPkg/PrivateInclude/Crt/string.h
Normal file
16
RedfishPkg/PrivateInclude/Crt/string.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/** @file
|
||||
Include file to support building the third-party jansson library.
|
||||
|
||||
Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
|
||||
(C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>
|
||||
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
|
||||
#ifndef REDFISH_CRT_STRING_H_
|
||||
#define REDFISH_CRT_STRING_H_
|
||||
|
||||
#include <Library/RedfishCrtLib.h>
|
||||
|
||||
#endif
|
15
RedfishPkg/PrivateInclude/Crt/sys/time.h
Normal file
15
RedfishPkg/PrivateInclude/Crt/sys/time.h
Normal file
@@ -0,0 +1,15 @@
|
||||
/** @file
|
||||
Include file to support building the third-party jansson library.
|
||||
|
||||
Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
|
||||
(C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>
|
||||
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
#ifndef REDFISH_CRT_SYS_TIME_H_
|
||||
#define REDFISH_CRT_SYS_TIME_H_
|
||||
|
||||
#include <Library/RedfishCrtLib.h>
|
||||
|
||||
#endif
|
15
RedfishPkg/PrivateInclude/Crt/sys/types.h
Normal file
15
RedfishPkg/PrivateInclude/Crt/sys/types.h
Normal file
@@ -0,0 +1,15 @@
|
||||
/** @file
|
||||
Include file to support building the third-party jansson library.
|
||||
|
||||
Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
|
||||
(C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>
|
||||
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
#ifndef REDFISH_CRT_SYS_TYPES_H_
|
||||
#define REDFISH_CRT_SYS_TYPES_H_
|
||||
|
||||
#include <Library/RedfishCrtLib.h>
|
||||
|
||||
#endif
|
15
RedfishPkg/PrivateInclude/Crt/time.h
Normal file
15
RedfishPkg/PrivateInclude/Crt/time.h
Normal file
@@ -0,0 +1,15 @@
|
||||
/** @file
|
||||
Include file to support building the third-party jansson library.
|
||||
|
||||
Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
|
||||
(C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>
|
||||
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
#ifndef REDFISH_CRT_TIME_H_
|
||||
#define REDFISH_CRT_TIME_H_
|
||||
|
||||
#include <Library/RedfishCrtLib.h>
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user