commit | 456c9a2f7bc11ed3cef2139f7c1a316fa68fd2a6 | [log] [tgz] |
---|---|---|
author | George Liu <liuxiwei@inspur.com> | Mon Jan 13 11:36:22 2020 +0800 |
committer | Deepak Kodihalli <dkodihal@in.ibm.com> | Mon May 11 02:57:33 2020 +0000 |
tree | dbb8582894ba3482be66e301efa20d9c55dddb19 | |
parent | c94d49415189192bcc75bd12156bb245b519029d [diff] [blame] |
pldm: Add parsing JSON for Numeric Effecter PDR According to spec DSP0248_1.2.0: 28.11 and effecter_pdr.json, parse JSON and generate PDR structure. In addition: 1. move the parsing generateNumericEffecterHandler method to pdr_numeric_effecter_pdr.hpp. 2. test/libpldmresponder_pdr_state_effecter_test.cpp renamed test/libpldmresponder_pdr_effecter_test.cpp. Tested with JSON files: https://gist.github.com/lxwinspur/2c3fd68cdb35e06480c4a5f7890e3a06#file-effecter_pdr-json. Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I4254a14f0fd5e33b312f65c15c9a23437e28d341
diff --git a/libpldm/pldm_types.h b/libpldm/pldm_types.h index 093d016..ee823a5 100644 --- a/libpldm/pldm_types.h +++ b/libpldm/pldm_types.h
@@ -68,4 +68,6 @@ } __attribute__((packed)) bits; } bitfield32_t; +typedef float real32_t; + #endif /* PLDM_TYPES_H */