Home
last modified time | relevance | path

Searched refs:UINT8 (Results 1 – 25 of 44) sorted by relevance

12

/openbmc/libcper/edk/
H A DCper.h54 UINT8 Seconds;
55 UINT8 Minutes;
56 UINT8 Hours;
57 UINT8 Flag;
58 UINT8 Day;
59 UINT8 Month;
60 UINT8 Year;
61 UINT8 Century;
387 UINT8 Type;
388 UINT8 Isa;
[all …]
H A DBaseTypes.h51 typedef unsigned char UINT8; typedef
67 UINT8 Data4[8];
/openbmc/libcper/
H A Dbase64.c9 static const UINT8 encode_table[65] =
16 CHAR8 *base64_encode(const UINT8 *src, INT32 len, INT32 *out_len) in base64_encode()
20 const UINT8 *src_end; in base64_encode()
21 const UINT8 *in_pos; in base64_encode()
70 UINT8 decode_table[256] =
92 UINT8 *base64_decode(const CHAR8 *src, INT32 len, INT32 *out_len) in base64_decode()
94 UINT8 *out; in base64_decode()
95 UINT8 *pos; in base64_decode()
96 UINT8 block[4]; in base64_decode()
97 UINT8 tmp; in base64_decode()
[all …]
H A Dcommon-utils.c12 int bcd_to_int(UINT8 bcd) in bcd_to_int()
18 UINT8 int_to_bcd(int value) in int_to_bcd()
20 UINT8 result = 0; in int_to_bcd()
H A Dcommon-utils.h6 int bcd_to_int(UINT8 bcd);
7 UINT8 int_to_bcd(int value);
H A Dbase64.h7 UINT8 *base64_decode(const CHAR8 *src, INT32 len, INT32 *out_len);
13 CHAR8 *base64_encode(const UINT8 *src, INT32 len, INT32 *out_len);
/openbmc/libcper/sections/
H A Dcper-section-generic.c112 section_cper->Type = (UINT8)readable_pair_to_integer( in ir_section_generic_to_cper()
114 section_cper->Isa = (UINT8)readable_pair_to_integer( in ir_section_generic_to_cper()
116 section_cper->ErrorType = (UINT8)readable_pair_to_integer( in ir_section_generic_to_cper()
118 section_cper->Operation = (UINT8)readable_pair_to_integer( in ir_section_generic_to_cper()
123 (UINT8)ir_to_bitfield(json_object_object_get(section, "flags"), in ir_section_generic_to_cper()
127 section_cper->Level = (UINT8)json_object_get_int( in ir_section_generic_to_cper()
H A Dcper-section-ccix-per.c44 char *encoded = base64_encode((UINT8 *)cur_pos, in cper_section_ccix_per_to_ir()
75 section_cper->CcixSourceId = (UINT8)json_object_get_int( in ir_section_ccix_per_to_cper()
77 section_cper->CcixPortId = (UINT8)json_object_get_int( in ir_section_ccix_per_to_cper()
88 UINT8 *decoded = base64_decode(json_object_get_string(encoded), in ir_section_ccix_per_to_cper()
H A Dcper-section-dmar-generic.c77 section_cper->FaultReason = (UINT8)readable_pair_to_integer( in ir_section_dmar_generic_to_cper()
79 section_cper->AccessType = (UINT8)readable_pair_to_integer( in ir_section_dmar_generic_to_cper()
81 section_cper->AddressType = (UINT8)readable_pair_to_integer( in ir_section_dmar_generic_to_cper()
83 section_cper->ArchType = (UINT8)readable_pair_to_integer( in ir_section_dmar_generic_to_cper()
H A Dcper-section-pcie.c108 char *encoded = base64_encode((UINT8 *)pcie_error->Capability.PcieCap, in cper_section_pcie_to_ir()
127 encoded = base64_encode((UINT8 *)pcie_error->AerInfo.PcieAer, 96, in cper_section_pcie_to_ir()
181 section_cper->DevBridge.Function = (UINT8)json_object_get_uint64( in ir_section_pcie_to_cper()
183 section_cper->DevBridge.Device = (UINT8)json_object_get_uint64( in ir_section_pcie_to_cper()
188 (UINT8)json_object_get_uint64(json_object_object_get( in ir_section_pcie_to_cper()
190 section_cper->DevBridge.SecondaryBus = (UINT8)json_object_get_uint64( in ir_section_pcie_to_cper()
213 UINT8 *decoded = base64_decode(json_object_get_string(encoded), in ir_section_pcie_to_cper()
H A Dcper-section-ipf.h56 UINT8 CpuIdInfo[40];
57 UINT8 Reserved1[8];
62 UINT8 MinimalSaveStateInfo[1024];
H A Dcper-section-dmar-iommu.c36 char *encoded = base64_encode((UINT8 *)iommu_error->EventLogEntry, 16, in cper_section_dmar_iommu_to_ir()
51 encoded = base64_encode((UINT8 *)iommu_error->DeviceTableEntry, 32, in cper_section_dmar_iommu_to_ir()
87 section_cper->Revision = (UINT8)json_object_get_int( in ir_section_dmar_iommu_to_cper()
98 UINT8 *decoded = base64_decode(json_object_get_string(encoded), in ir_section_dmar_iommu_to_cper()
H A Dcper-section-ccix-per.h19 UINT8 CcixSourceId;
20 UINT8 CcixPortId;
H A Dcper-section-memory.c235 UINT16 address = (UINT8)json_object_get_uint64( in ir_section_memory_to_cper()
237 UINT16 group = (UINT8)json_object_get_uint64( in ir_section_memory_to_cper()
256 section_cper->ErrorType = (UINT8)readable_pair_to_integer( in ir_section_memory_to_cper()
320 UINT16 address = (UINT8)json_object_get_uint64( in ir_section_memory2_to_cper()
322 UINT16 group = (UINT8)json_object_get_uint64( in ir_section_memory2_to_cper()
330 section_cper->Status = (UINT8)readable_pair_to_integer( in ir_section_memory2_to_cper()
352 section_cper->ChipId = (UINT8)json_object_get_uint64( in ir_section_memory2_to_cper()
H A Dcper-section-dmar-vtd.c88 base64_encode((UINT8 *)vtd_error->RootEntry, 16, &encoded_len); in cper_section_dmar_vtd_to_ir()
96 encoded = base64_encode((UINT8 *)vtd_error->ContextEntry, 16, in cper_section_dmar_vtd_to_ir()
139 section_cper->Version = (UINT8)json_object_get_int( in ir_section_dmar_vtd_to_cper()
141 section_cper->Revision = (UINT8)json_object_get_int( in ir_section_dmar_vtd_to_cper()
183 UINT8 *decoded = base64_decode(json_object_get_string(encoded), in ir_section_dmar_vtd_to_cper()
H A Dcper-section-pci-bus.c46 UINT8 command_type = (bus_error->BusCommand >> 56) & in cper_section_pci_bus_to_ir()
85 UINT16 bus_number = (UINT8)json_object_get_int( in ir_section_pci_bus_to_cper()
87 UINT16 segment_number = (UINT8)json_object_get_int( in ir_section_pci_bus_to_cper()
/openbmc/libcper/generator/sections/
H A Dgen-section-dmar.c18 UINT8 *bytes = generate_random_bytes(size); in generate_section_dmar_generic()
42 UINT8 *bytes = generate_random_bytes(size); in generate_section_dmar_vtd()
48 UINT8 *fault_record = bytes + 48; in generate_section_dmar_vtd()
66 UINT8 *bytes = generate_random_bytes(size); in generate_section_dmar_iommu()
H A Dgen-section-generic.c20 UINT8 *start_byte = (UINT8 *)*location; in generate_section_generic()
27 UINT8 *byte = start_byte + 24 + i; in generate_section_generic()
H A Dgen-section-cxl-component.c22 UINT8 *bytes = generate_random_bytes(size); in generate_section_cxl_component()
28 UINT8 *slot_number = (UINT8 *)(bytes + 21); in generate_section_cxl_component()
H A Dgen-section-ia32x64.c44 UINT8 *section = generate_random_bytes(total_len); in generate_section_ia32x64()
58 UINT8 *cur_pos = section + 64; in generate_section_ia32x64()
80 UINT8 *error_structure = in generate_ia32x64_error_structure()
158 UINT8 *reg_bytes = (UINT8 *)(context_structure + 8); in generate_ia32x64_context_structure()
H A Dgen-section-arm.c46 UINT8 *section = generate_random_bytes(total_len); in generate_section_arm()
66 UINT8 *cur_pos = section + 40; in generate_section_arm()
87 UINT8 *error_info = generate_random_bytes(ARM_ERROR_INFO_SIZE); in generate_arm_error_info()
94 UINT8 error_type = rand() % 4; in generate_arm_error_info()
H A Dgen-section-memory.c18 UINT8 *bytes = generate_random_bytes(size); in generate_section_memory()
42 UINT8 *bytes = generate_random_bytes(size); in generate_section_memory2()
/openbmc/libcper/generator/
H A Dgen-utils.h16 UINT8 *generate_random_bytes(size_t size);
18 void create_valid_error_section(UINT8 *start);
19 UINT8 int_to_bcd(int value);
H A Dgen-utils.c20 UINT8 *generate_random_bytes(size_t size) in generate_random_bytes()
22 UINT8 *bytes = malloc(size); in generate_random_bytes()
31 void create_valid_error_section(UINT8 *start) in create_valid_error_section()
/openbmc/qemu/tests/image-fuzzer/qcow2/
H A Dfuzz.py22 UINT8 = 0xff variable
30 UINT8_V = [0, 0x10, UINT8//4, UINT8//2 - 1, UINT8//2, UINT8//2 + 1, UINT8 - 1,
31 UINT8]

12