| /openbmc/libcper/include/libcper/sections/ |
| H A D | cper-section-pcie.h | 40 json_object *cper_section_pcie_to_ir(const UINT8 *section, UINT32 size, 115 UINT32 max_payload_size_supported : 3; // bits [2:0] 116 UINT32 phantom_functions_supported : 2; // bits [4:3] 117 UINT32 extended_tag_field_supported : 1; // bit [5] 118 UINT32 endpoint_l0s_acceptable_latency : 3; // bits [8:6] 119 UINT32 endpoint_l1_acceptable_latency : 3; // bits [11:9] 120 UINT32 undefined : 3; // bits [14:12] 121 UINT32 role_based_error_reporting : 1; // bit [15] 122 UINT32 err_cor_subclass_capable : 1; // bit [16] 123 UINT32 rx_mps_fixed : 1; // bits [17] [all …]
|
| H A D | cper-section-nvidia-events.h | 39 UINT32 Architecture; 40 UINT32 Ecid[4]; 56 UINT32 CtxSize; 61 UINT32 DataSize; 71 UINT32 Key; 72 UINT32 Value; 80 UINT32 Value; 107 UINT32 ArchitectureId; 116 UINT32 XidCode; 130 json_object *cper_section_nvidia_events_to_ir(const UINT8 *section, UINT32 size,
|
| H A D | cper-section-pci-dev.h | 40 UINT32 MemoryNumber; 41 UINT32 IoNumber; 50 json_object *cper_section_pci_dev_to_ir(const UINT8 *section, UINT32 size,
|
| H A D | cper-section-ccix-per.h | 20 UINT32 Length; 27 json_object *cper_section_ccix_per_to_ir(const UINT8 *section, UINT32 size,
|
| H A D | cper-section-memory.h | 79 UINT32 size, 82 UINT32 size,
|
| /openbmc/libcper/include/libcper/ |
| H A D | Cper.h | 159 UINT32 SignatureStart; 161 UINT32 SignatureEnd; 163 UINT32 ErrorSeverity; 164 UINT32 ValidationBits; 165 UINT32 RecordLength; 172 UINT32 Flags; 287 UINT32 SectionOffset; 288 UINT32 SectionLength; 292 UINT32 SectionFlags; 295 UINT32 Severity; [all …]
|
| H A D | cper-utils.h | 23 UINT32 ui32; 32 json_object *uniform_struct_to_ir(UINT32 *start, int len, const char *names[]); 35 void ir_to_uniform_struct(json_object *ir, UINT32 *start, int len, 56 const char *severity_to_string(UINT32 severity); 74 UINT32 *value_out);
|
| H A D | BaseTypes.h | 32 typedef unsigned int UINT32; typedef 71 UINT32 Data1;
|
| /openbmc/libcper/generator/sections/ |
| H A D | gen-section-pci-dev.c | 18 UINT32 num_memory_pairs = cper_rand() % 4; in generate_section_pci_dev() 19 UINT32 num_io_pairs = cper_rand() % 4; in generate_section_pci_dev() 20 UINT32 num_registers = num_memory_pairs + num_io_pairs; in generate_section_pci_dev() 39 UINT32 *memory_number_field = (UINT32 *)(bytes + 32); in generate_section_pci_dev() 40 UINT32 *io_number_field = (UINT32 *)(bytes + 36); in generate_section_pci_dev()
|
| H A D | gen-section-pcie.c | 39 UINT32 *version = (UINT32 *)(bytes + 12); in generate_section_pcie() 41 UINT32 *reserved = (UINT32 *)(bytes + 20); in generate_section_pcie() 53 UINT32 *port_type = (UINT32 *)(bytes + 8); in generate_section_pcie()
|
| H A D | gen-section-nvidia-events.c | 33 static size_t get_context_data_size(UINT16 ctx_type, UINT32 num_elements) in get_context_data_size() 52 static void fill_context_data(UINT8 *data, UINT16 ctx_type, UINT32 num_elements) in fill_context_data() 57 for (UINT32 i = 0; i < num_elements; i++) { in fill_context_data() 64 for (UINT32 i = 0; i < num_elements; i++) { in fill_context_data() 75 for (UINT32 i = 0; i < num_elements; i++) { in fill_context_data() 84 for (UINT32 i = 0; i < num_elements; i++) { in fill_context_data() 93 for (UINT32 i = 0; i < num_elements; i++) { in fill_context_data() 112 UINT32 deviceType = cper_rand() % 2; in generate_section_nvidia_events() 122 UINT32 contextCount = cper_rand() % 6; in generate_section_nvidia_events() 126 UINT32 ctx_num_elements[5]; in generate_section_nvidia_events() [all …]
|
| H A D | gen-section-arm-ras.c | 48 static UINT32 gen_arm_ras_contexts_region_size(const GEN_CTX_META *ctxMeta, in gen_arm_ras_contexts_region_size() 51 UINT32 contextsRegion = 0; in gen_arm_ras_contexts_region_size() 54 (UINT32)sizeof(EFI_ARM_RAS_AUX_CONTEXT_HEADER) + in gen_arm_ras_contexts_region_size() 131 UINT32 descriptorCount) in gen_arm_ras_fill_descriptors() 134 for (UINT32 i = 0; i < descriptorCount; i++) { in gen_arm_ras_fill_descriptors() 162 UINT32 chosenAuxLen, UINT16 ctxCount, in gen_arm_ras_fill_aux_data() 163 UINT16 kvCount, UINT32 contextsRegion, in gen_arm_ras_fill_aux_data() 172 UINT32 kvOffset = in gen_arm_ras_fill_aux_data() 173 (UINT32)sizeof(EFI_ARM_RAS_AUX_DATA_HEADER) + contextsRegion; in gen_arm_ras_fill_aux_data() 185 UINT32 ctxLen = (UINT32)sizeof(EFI_ARM_RAS_AUX_CONTEXT_HEADER) + in gen_arm_ras_fill_aux_data() [all …]
|
| H A D | gen-section-cxl-component.c | 26 UINT32 *validation = (UINT32 *)(bytes + 4); in generate_section_cxl_component() 39 UINT32 *length = (UINT32 *)bytes; in generate_section_cxl_component()
|
| H A D | gen-section-ccix-per.c | 26 UINT32 *validation = (UINT32 *)(bytes + 4); in generate_section_ccix_per() 39 UINT32 *length = (UINT32 *)bytes; in generate_section_ccix_per()
|
| H A D | gen-section-arm.c | 55 UINT32 *section_length = (UINT32 *)(section + 8); in generate_section_arm() 62 UINT32 *validation = (UINT32 *)section; in generate_section_arm() 69 UINT32 *running_state = (UINT32 *)(section + 32); in generate_section_arm() 168 UINT32 reg_size = 0; in generate_arm_context_info() 228 *((UINT32 *)(context_info + 2)) = reg_size; in generate_arm_context_info()
|
| H A D | gen-section-cxl-protocol.c | 52 UINT32 *reserved = (UINT32 *)(bytes + 36); in generate_section_cxl_protocol() 54 reserved = (UINT32 *)(bytes + 112); in generate_section_cxl_protocol()
|
| H A D | gen-section-dmar.c | 53 UINT32 *reserved = (UINT32 *)(fault_record); in generate_section_dmar_vtd() 55 reserved = (UINT32 *)(fault_record + 8); in generate_section_dmar_vtd()
|
| H A D | gen-section-pci-bus.c | 29 UINT32 *reserved = (UINT32 *)(bytes + 20); in generate_section_pci_bus()
|
| /openbmc/libcper/sections/ |
| H A D | cper-section-arm-ras.c | 48 UINT32 size, char **desc_string, in arm_ras_read_node() 63 UINT32 descriptorCount = node->ErrorSyndromeArrayNumEntries; in arm_ras_read_node() 181 UINT32 descriptorCount) in arm_ras_parse_descriptors() 186 for (UINT32 i = 0; i < descriptorCount; i++) { in arm_ras_parse_descriptors() 221 UINT32 auxLen) in arm_ras_aux_hdr_valid() 272 UINT32 remaining = in arm_ras_aux_parse_contexts() 295 UINT32 needed = sizeof(EFI_ARM_RAS_AUX_CONTEXT_HEADER) + in arm_ras_aux_parse_contexts() 305 UINT32 afterCtxOffset = in arm_ras_aux_parse_contexts() 306 (UINT32)(cursor - aux_ptr) + ctx->Length; in arm_ras_aux_parse_contexts() 375 UINT32 kvAvail = in arm_ras_aux_parse_kvps() [all …]
|
| H A D | cper-section-ia32x64.c | 27 UINT32 *remaining_size); 49 json_object *cper_section_ia32x64_to_ir(const UINT8 *section, UINT32 size, in cper_section_ia32x64_to_ir() 77 UINT32 remaining_size = in cper_section_ia32x64_to_ir() 454 UINT32 *remaining_size) in cper_ia32x64_processor_context_info_to_ir() 918 context_info_cper->MsrAddress = (UINT32)json_object_get_uint64( in ir_ia32x64_context_info_to_cper() 962 register_state.Eax = (UINT32)json_object_get_uint64( in ir_ia32x64_ia32_registers_to_cper() 964 register_state.Ebx = (UINT32)json_object_get_uint64( in ir_ia32x64_ia32_registers_to_cper() 966 register_state.Ecx = (UINT32)json_object_get_uint64( in ir_ia32x64_ia32_registers_to_cper() 968 register_state.Edx = (UINT32)json_object_get_uint64( in ir_ia32x64_ia32_registers_to_cper() 970 register_state.Esi = (UINT32)json_object_get_uint64( in ir_ia32x64_ia32_registers_to_cper() [all …]
|
| H A D | cper-section-arm.c | 25 const UINT8 **cur_pos, UINT32 *remaining_size); 51 json_object *cper_section_arm_to_ir(const UINT8 *section, UINT32 size, in cper_section_arm_to_ir() 77 UINT32 remaining_size = size; in cper_section_arm_to_ir() 212 cur_pos += (UINT32)(record->ErrInfoNum * in cper_section_arm_to_ir() 214 remaining_size -= (UINT32)(record->ErrInfoNum * in cper_section_arm_to_ir() 650 const UINT8 **cur_pos, UINT32 *remaining_size) in cper_arm_processor_context_to_ir() 691 (UINT32 *)*cur_pos, in cper_arm_processor_context_to_ir() 692 sizeof(EFI_ARM_V8_AARCH32_GPR) / sizeof(UINT32), in cper_arm_processor_context_to_ir() 709 (UINT32 *)*cur_pos, in cper_arm_processor_context_to_ir() 711 sizeof(UINT32), in cper_arm_processor_context_to_ir() [all …]
|
| /openbmc/qemu/tests/image-fuzzer/qcow2/ |
| H A D | fuzz.py | 24 UINT32 = 0xffffffff variable 34 UINT32_V = [0, 0x100, 0x1000, 0x10000, 0x100000, UINT32//4, UINT32//2 - 1, 35 UINT32//2, UINT32//2 + 1, UINT32 - 1, UINT32] 165 [(0, 1), (4, UINT32)] 186 [(0, 9), (20, UINT32)] 201 [(2, UINT32)] 278 [(0, UINT32)]
|
| /openbmc/openbmc/meta-security/meta-tpm/recipes-tpm1/tpm-tools/files/ |
| H A D | tpm-tools-extendpcr.patch | 8 UINT32 *a_PcrSize, BYTE **a_PcrValue); 9 TSS_RESULT pcrcompositeSetPcrValue(TSS_HPCRS a_hPcrs, UINT32 a_Idx, 10 UINT32 a_PcrSize, BYTE *a_PcrValue); 11 +TSS_RESULT tpmPcrExtend(TSS_HTPM a_hTpm, UINT32 a_Idx, 12 + UINT32 a_DataSize, BYTE *a_Data, 14 + UINT32 *a_PcrSize, BYTE **a_PcrValue); 17 TSS_RESULT pcrcompositeSetPcrLocality(TSS_HPCRS a_hPcrs, UINT32 localityValue); 27 +tpmPcrExtend(TSS_HTPM a_hTpm, UINT32 a_Idx, 28 + UINT32 a_DataSize, BYTE *a_Data, 30 + UINT32 *a_PcrSize, BYTE **a_PcrValue) [all …]
|
| /openbmc/libcper/generator/ |
| H A D | gen-utils.c | 11 UINT32 lfsr = 0xACE1u; 13 void cper_rand_seed(UINT32 seed) in cper_rand_seed() 18 UINT32 cper_rand(void) in cper_rand()
|
| /openbmc/libcper/include/libcper/generator/ |
| H A D | gen-utils.h | 22 void cper_rand_seed(UINT32 seed); 23 UINT32 cper_rand(void);
|