Skip to content

Commit

Permalink
RedfishClientPkg/Converter: EDK2 Redfish JSON schema to C structure D…
Browse files Browse the repository at this point in the history
…XE drivers

Total 7044 files that is unable to be reviewed.

This is the edk2 JSON to C structure DXE driver generated
by open source Redfish Schema C Structure Generator Python script.
(https://github.com/DMTF/Redfish-Schema-C-Struct-Generator).
Each edk2 DXE driver is generated base on the Redfish
schema name space and resource type and linked with library under
ConvertLib/edk2library
(changab@8e8497a).

Each DXE driver register itself through
EFI_REST_JSON_STRUCTURE_PROTOCOL in order to providing the  Redfish JSON to C Structure conversion and vise versa.

New edk2 Redfish JSON schema to C structure DXE driver will be
added when every time the new schema is introduced in the Redfish schema release.

Signed-off-by: Abner Chang <abner.chang@hpe.com>
  • Loading branch information
Abner Chang committed Aug 14, 2021
1 parent 8e8497a commit 1203c8b
Show file tree
Hide file tree
Showing 7,044 changed files with 1,202,176 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.

Large diffs are not rendered by default.

@@ -0,0 +1,55 @@
## @file
#
# INF file of AccelerationFunction.v1_0_0 EFI Redfish JSON Structure DXE driver
#
# (C) Copyright 2019-2021 Hewlett Packard Enterprise Development LP<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
# Auto-generated file by Redfish Schema C Structure Generator.
# https://github.com/DMTF/Redfish-Schema-C-Struct-Generator
#
# Copyright Notice:
# Copyright 2019-2021 Distributed Management Task Force, Inc. All rights reserved.
# License: BSD 3-Clause License. For full text see link: https://github.com/DMTF/Redfish-JSON-C-Struct-Converter/blob/master/LICENSE.md
#
##

[Defines]
INF_VERSION = 0x00010005
BASE_NAME = RedfishAccelerationFunction_V1_0_0_Dxe
FILE_GUID = d7e2f8bb-417c-47e2-b045-035a6e091ad9
MODULE_TYPE = DXE_DRIVER
VERSION_STRING = 1.0
ENTRY_POINT = RedfishAccelerationFunction_V1_0_0EntryPoint
UNLOAD_IMAGE = RedfishAccelerationFunction_V1_0_0Unload

[Packages]
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
RedfishPkg/RedfishPkg.dec
RedfishClientPkg/RedfishClientPkg.dec

[Sources]
AccelerationFunction_V1_0_0_Dxe.c

[LibraryClasses]
BaseLib
BaseMemoryLib
DebugLib
PrintLib
UefiLib
UefiBootServicesTableLib
UefiDriverEntryPoint
MemoryAllocationLib

AccelerationFunctionV1_0_0Lib

[Protocols]
gEfiRestJsonStructureProtocolGuid ## Consuming

[Depex]
gEfiRestJsonStructureProtocolGuid

[BuildOptions]
#MSFT:*_*_*_CC_FLAGS = /Od

0 comments on commit 1203c8b

Please sign in to comment.