Home
last modified time | relevance | path

Searched full:section (Results 1 – 25 of 3855) sorted by relevance

12345678910>>...155

/openbmc/libcper/
H A Dmeson.build27 'sections/cper-section-ampere.c',
28 'sections/cper-section-arm.c',
29 'sections/cper-section-ccix-per.c',
30 'sections/cper-section-cxl-component.c',
31 'sections/cper-section-cxl-protocol.c',
32 'sections/cper-section-dmar-generic.c',
33 'sections/cper-section-dmar-iommu.c',
34 'sections/cper-section-dmar-vtd.c',
35 'sections/cper-section-firmware.c',
36 'sections/cper-section-generic.c',
[all …]
H A Dcper-parse.c3 * CPER headers and section descriptions into an intermediate JSON format.
16 #include <libcper/sections/cper-section.h>
49 //Read the appropriate number of section descriptors & sections, and convert them into IR format. in cper_to_ir()
53 //Create the section descriptor. in cper_to_ir()
58 …printf("Invalid number of section headers: Header states %d sections, could not read section %d.\n… in cper_to_ir()
70 //Read the section itself. in cper_to_ir()
76 //Add the header, section descriptors, and sections to a parent object. in cper_to_ir()
111 //Section count. in cper_header_to_ir()
124 //The validation bits for each section. in cper_header_to_ir()
241 //Converts the given EFI section descriptor into JSON IR format.
[all …]
/openbmc/libcper/docs/
H A DOEMExtensions.md3 Section definitions within `cper-parse` are entirely modular, and can be easily
4 modified at compile time to include custom OEM section extensions. This document
8 ## Creating a Section Parser
11 section from CPER -> CPER-JSON and CPER-JSON -> CPER. For the purposes of
12 example here, we will create a fake CPER section, "myVendorSection", in
13 `cper-section-myvendor.h` and `cper-section-myvendor.c`.
15 _sections/cper-section-myvendor.h_:
24 json_object* cper_section_myvendor_to_ir(void* section, EFI_ERROR_SECTION_DESCRIPTOR* descriptor);
25 void ir_section_myvendor_to_cper(json_object* section, FILE* out);
30 _sections/cper-section-myvendor.c_:
[all …]
H A DGeneratorExtensions.md4 sections as extensions. This document details how an OEM section generator could
7 ## Creating a Section Generator
10 a function predefinition inside `sections/gen-section.h` as shown below, and
12 sake of example, we will create a generator for a fake OEM section
15 _sections/gen-section.h_:
18 //Section generator function predefinitions.
42 ## Adding a Section GUID
44 To identify our section for parsing, we must define a section GUID within
69 Now that a GUID and generation function are created for our section, we can
71 edit `sections/gen-section.c` and add your generator definition to the
[all …]
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dsection.hpp13 * @class Section
15 * The base class for a PEL section. It contains the SectionHeader
19 class Section class
22 Section() = default;
23 virtual ~Section() = default;
24 Section(const Section&) = default;
25 Section& operator=(const Section&) = default;
26 Section(Section&&) = default;
27 Section& operator=(Section&&) = default;
38 * @brief Says if the section is valid.
[all …]
H A Dextended_user_data.hpp3 #include "section.hpp"
12 * This represents the Extended User Data section in a PEL. It is free form
14 * sub-type fields in the section header are used to identify the format.
16 * This section is used for one subsystem to add FFDC data to a PEL created
17 * by another subsystem. It is basically the same as a UserData section,
18 * except it has the creator ID of the section creator stored in the section.
20 * The Section base class handles the section header structure that every
21 * PEL section has at offset zero.
23 class ExtendedUserData : public Section
58 * @brief Flatten the section into the stream
[all …]
H A Duser_data.hpp3 #include "section.hpp"
14 * This represents the User Data section in a PEL. It is free form data
16 * and sub-type fields in the section header are used to identify the
19 * The Section base class handles the section header structure that every
20 * PEL section has at offset zero.
22 class UserData : public Section
57 * @brief Flatten the section into the stream
64 * @brief Returns the size of this section when flattened into a PEL
66 * @return size_t - the size of the section
70 return Section::flattenedSize() + _data.size(); in flattenedSize()
[all …]
/openbmc/libcper/sections/
H A Dcper-section-memory.c11 #include <libcper/sections/cper-section-memory.h>
13 //Converts a single memory error CPER section into JSON IR.
14 json_object *cper_section_platform_memory_to_ir(void *section) in cper_section_platform_memory_to_ir() argument
17 (EFI_PLATFORM_MEMORY_ERROR_DATA *)section; in cper_section_platform_memory_to_ir()
119 //Converts a single memory error 2 CPER section into JSON IR.
120 json_object *cper_section_platform_memory2_to_ir(void *section) in cper_section_platform_memory2_to_ir() argument
123 (EFI_PLATFORM_MEMORY2_ERROR_DATA *)section; in cper_section_platform_memory2_to_ir()
224 //Converts a single Memory Error IR section into CPER binary, outputting to the provided stream.
225 void ir_section_memory_to_cper(json_object *section, FILE *out) in ir_section_memory_to_cper() argument
233 json_object_object_get(section, "validationBits"), 22, in ir_section_memory_to_cper()
[all …]
H A Dcper-section.c7 #include <libcper/sections/cper-section.h>
8 #include <libcper/sections/cper-section-arm.h>
9 #include <libcper/sections/cper-section-generic.h>
10 #include <libcper/sections/cper-section-ia32x64.h>
11 #include <libcper/sections/cper-section-ipf.h>
12 #include <libcper/sections/cper-section-memory.h>
13 #include <libcper/sections/cper-section-pcie.h>
14 #include <libcper/sections/cper-section-firmware.h>
15 #include <libcper/sections/cper-section-pci-bus.h>
16 #include <libcper/sections/cper-section-pci-dev.h>
[all …]
H A Dcper-section-generic.c13 #include <libcper/sections/cper-section-generic.h>
15 //Converts the given processor-generic CPER section into JSON IR.
16 json_object *cper_section_generic_to_ir(void *section) in cper_section_generic_to_ir() argument
19 (EFI_PROCESSOR_GENERIC_ERROR_DATA *)section; in cper_section_generic_to_ir()
98 //Converts the given CPER-JSON processor-generic error section into CPER binary,
100 void ir_section_generic_to_cper(json_object *section, FILE *out) in ir_section_generic_to_cper() argument
108 json_object_object_get(section, "validationBits"), 13, in ir_section_generic_to_cper()
113 json_object_object_get(section, "processorType")); in ir_section_generic_to_cper()
115 json_object_object_get(section, "processorISA")); in ir_section_generic_to_cper()
117 json_object_object_get(section, "errorType")); in ir_section_generic_to_cper()
[all …]
H A Dcper-section-dmar-vtd.c13 #include <libcper/sections/cper-section-dmar-vtd.h>
15 //Converts a single VT-d specific DMAr CPER section into JSON IR.
16 json_object *cper_section_dmar_vtd_to_ir(void *section) in cper_section_dmar_vtd_to_ir() argument
19 (EFI_DIRECTED_IO_DMAR_ERROR_DATA *)section; in cper_section_dmar_vtd_to_ir()
125 void ir_section_dmar_vtd_to_cper(json_object *section, FILE *out) in ir_section_dmar_vtd_to_cper() argument
133 json_object_object_get(section, "oemID")); in ir_section_dmar_vtd_to_cper()
140 json_object_object_get(section, "version")); in ir_section_dmar_vtd_to_cper()
142 json_object_object_get(section, "revision")); in ir_section_dmar_vtd_to_cper()
144 json_object_object_get(section, "capabilityRegister")); in ir_section_dmar_vtd_to_cper()
146 json_object_object_get(section, "extendedCapabilityRegister")); in ir_section_dmar_vtd_to_cper()
[all …]
/openbmc/libcper/specification/document/
H A Dcper-json-specification.tex42 % Introductory section.
44 \section{Introduction \& Summary}
52 % Specification section.
54 \section{Parent Structure (Type 1): Full Log}
55 \label{section:parentstructuretype1}
56 This structure contains descriptions of the CPER log header, as well as the section descriptors and
57 section structures themselves within arrays, representing a full CPER log. This is the structure re…
61 header & object & A CPER header structure as defined in Section \ref{section:headerstructure}. \\
63 sectionDescriptors & array & An array of section descriptor objects as defined in Section \ref{sect…
65 …array of section objects as defined in Chapter \ref{chapter:sectionchapter}. These sections are at…
[all …]
/openbmc/openpower-hw-diags/attn/pel/
H A Dpel_section.hpp10 * @class Section
12 * The base class for a PEL section. It contains the SectionHeader
16 class Section class
19 Section() = default;
20 virtual ~Section() = default;
21 Section(const Section&) = default;
22 Section& operator=(const Section&) = default;
23 Section(Section&&) = default;
24 Section& operator=(Section&&) = default;
35 * @brief Flatten the section into the stream
[all …]
/openbmc/qemu/hw/vfio/
H A Dspapr.c35 static bool vfio_prereg_listener_skipped_section(MemoryRegionSection *section) in vfio_prereg_listener_skipped_section() argument
37 if (memory_region_is_iommu(section->mr)) { in vfio_prereg_listener_skipped_section()
41 return !memory_region_is_ram(section->mr) || in vfio_prereg_listener_skipped_section()
42 memory_region_is_ram_device(section->mr); in vfio_prereg_listener_skipped_section()
45 static void *vfio_prereg_gpa_to_vaddr(MemoryRegionSection *section, hwaddr gpa) in vfio_prereg_gpa_to_vaddr() argument
47 return memory_region_get_ram_ptr(section->mr) + in vfio_prereg_gpa_to_vaddr()
48 section->offset_within_region + in vfio_prereg_gpa_to_vaddr()
49 (gpa - section->offset_within_address_space); in vfio_prereg_gpa_to_vaddr()
53 MemoryRegionSection *section) in vfio_prereg_listener_region_add() argument
59 const hwaddr gpa = section->offset_within_address_space; in vfio_prereg_listener_region_add()
[all …]
H A Dcommon.c243 static bool vfio_listener_skipped_section(MemoryRegionSection *section) in vfio_listener_skipped_section() argument
245 return (!memory_region_is_ram(section->mr) && in vfio_listener_skipped_section()
246 !memory_region_is_iommu(section->mr)) || in vfio_listener_skipped_section()
247 memory_region_is_protected(section->mr) || in vfio_listener_skipped_section()
254 section->offset_within_address_space & (1ULL << 63); in vfio_listener_skipped_section()
348 MemoryRegionSection *section) in vfio_ram_discard_notify_discard() argument
353 const hwaddr size = int128_get64(section->size); in vfio_ram_discard_notify_discard()
354 const hwaddr iova = section->offset_within_address_space; in vfio_ram_discard_notify_discard()
366 MemoryRegionSection *section) in vfio_ram_discard_notify_populate() argument
371 const hwaddr end = section->offset_within_region + in vfio_ram_discard_notify_populate()
[all …]
/openbmc/linux/scripts/
H A Dcheck_extable.sh9 # Bail out early if there isn't an __ex_table section in this object file.
24 # white listed. If you're adding a new section in the Linux kernel, and
25 # you're expecting this section to contain code which can fault (i.e. the
26 # __ex_table relocation to your new section is expected), simply add your
27 # new section to the white_list variable above. If not, you're probably
33 …eval $(objdump -t ${obj} | grep ${1} | sed 's/\([0-9a-f]\+\) .\{7\} \([^ \t]\+\).*/section="\2"; s…
44 # When the relocation points to the begining of a symbol or section, it
55 …eval $(objdump -rj .altinstructions ${obj} | grep -B1 "${section}+${section_offset}" | head -n1 | …
62 find_alt_replacement_target ${section} ${section_offset}
72 objdump -hwj ${section} ${obj} | grep -q CODE
[all …]
/openbmc/phosphor-webui/app/common/styles/layout/
H A Dsection.scss2 * Used for section layout. This should be used for the page container
4 <section class="section">
5 <div class="section-header">
6 <h2 class="section-title">Section Title</h2>
9 <div class="section-content">
12 <div class="section-content">
15 </section>
18 .section {
22 .section-header {
30 .section-title {
[all …]
/openbmc/libcper/specification/json/
H A Dcper-json-section-log.json3 "required": ["sectionDescriptor", "section"],
10 "$ref": "./cper-json-section-descriptor.json"
12 "section": { object
16 "$id": "cper-json-generic-processor-section",
26 "$id": "cper-json-ia32x64-processor-section",
36 "$id": "cper-json-arm-processor-section",
46 "$id": "cper-json-memory-section",
56 "$id": "cper-json-memory2-section",
66 "$id": "cper-json-pcie-section",
76 "$id": "cper-json-pci-bus-section",
[all …]
H A Dcper-json-full-log.json16 "$ref": "./cper-json-section-descriptor.json"
25 "$id": "cper-json-generic-processor-section",
35 "$id": "cper-json-ia32x64-processor-section",
45 "$id": "cper-json-arm-processor-section",
55 "$id": "cper-json-memory-section",
65 "$id": "cper-json-memory2-section",
75 "$id": "cper-json-pcie-section",
85 "$id": "cper-json-pci-bus-section",
95 "$id": "cper-json-pci-component-section",
105 "$id": "cper-json-firmware-section",
[all …]
/openbmc/openbmc-test-automation/gui/gui_test/overview_menu/
H A Dtest_overview_menu.robot54 [Documentation] Verify values under network information section.
67 Verify Server Information Section
68 [Documentation] Verify values under server information section in overview page.
88 Verify BMC Information Section
89 [Documentation] Verify BMC information section in overview page.
104 Verify Event Under Critical Event Logs Section
105 [Documentation] Verify event under critical event logs section in case of any event.
118 Verify Event Under Warning Event Logs Section
119 [Documentation] Verify event under warning event logs section in case of any event.
212 Verify View More Button Under Server Information Section
[all …]
/openbmc/u-boot/arch/arm/lib/
H A Dsections.c21 char __bss_start[0] __attribute__((section(".__bss_start")));
22 char __bss_end[0] __attribute__((section(".__bss_end")));
23 char __image_copy_start[0] __attribute__((section(".__image_copy_start")));
24 char __image_copy_end[0] __attribute__((section(".__image_copy_end")));
25 char __rel_dyn_start[0] __attribute__((section(".__rel_dyn_start")));
26 char __rel_dyn_end[0] __attribute__((section(".__rel_dyn_end")));
27 char __secure_start[0] __attribute__((section(".__secure_start")));
28 char __secure_end[0] __attribute__((section(".__secure_end")));
29 char __secure_stack_start[0] __attribute__((section(".__secure_stack_start")));
30 char __secure_stack_end[0] __attribute__((section(".__secure_stack_end")));
[all …]
/openbmc/linux/arch/powerpc/include/asm/
H A Dhead-64.h9 * We can't do CPP stringification and concatination directly into the section
13 .section ".head.text.\name\()","ax",@progbits
16 .section ".head.data.\name\()","a",@progbits
19 .section ".head.text.\name\()","ax",@progbits
24 * fixed section entries into them before closing them. Multiple fixed sections
27 * Each fixed section created in a .S file must have corresponding linkage
30 * For each fixed section, code is generated into it in the order which it
31 * appears in the source. Fixed section entries can be placed at a fixed
32 * location within the section using _LOCATION postifx variants. These must
33 * be ordered according to their relative placements within the section.
[all …]
/openbmc/linux/drivers/usb/chipidea/
H A Dotg_fsm.h18 #define TA_WAIT_VRISE (100) /* a_wait_vrise: section 7.1.2
19 * a_wait_vrise_tmr: section 7.4.5.1
20 * TA_VBUS_RISE <= 100ms, section 4.4
25 #define TA_WAIT_VFALL (1000) /* a_wait_vfall: section 7.1.7
26 * a_wait_vfall_tmr: section: 7.4.5.2
29 #define TA_WAIT_BCON (10000) /* a_wait_bcon: section 7.1.3
31 * and 30000 ms, section 5.5, Table 5-1
34 #define TA_AIDL_BDIS (5000) /* a_suspend min 200 ms, section 5.2.1
35 * TA_AIDL_BDIS: section 5.5, Table 5-1
38 #define TA_BIDL_ADIS (500) /* TA_BIDL_ADIS: section 5.2.1
[all …]
/openbmc/libcper/generator/
H A Dcper-generate.c12 #include <libcper/generator/sections/gen-section.h>
21 //Generates a CPER record with the given section types, outputting to the given stream.
34 printf("Error encountered generating section %d of type '%s', length returned zero.\n", in generate_cper_record()
62 //Generate the section descriptors given the number of sections. in generate_cper_record()
94 //Generates a single section record for the given section, and outputs to file.
97 //Generate a section. in generate_single_section_record()
98 void *section = NULL; in generate_single_section_record() local
99 size_t section_len = generate_section(&section, type); in generate_single_section_record()
110 fwrite(section, section_len, 1, out); in generate_single_section_record()
115 free(section); in generate_single_section_record()
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A Dlogparser.py11 # A parser that can be used to identify weather a line is a test result or a section statement.
34 return { 'name': "No-section", 'log': [] }
54 … bb.warn("Ptest END log section mismatch %s vs. %s" % (current_section['name'], result.group(1)))
56 bb.warn("Ptest duplicate section for %s" % (current_section['name']))
65 …bb.warn("Ptest TIMEOUT log section mismatch %s vs. %s" % (current_section['name'], result.group(1)…
83 … bb.warn("Result with no section: %s - %s" % (t, result.group(1).strip()))
87 for section in self.sections:
88 self.sections[section]['log'] = "".join(self.sections[section]['log'])
92 …Log the results as files. The file name is the section name and the contents are the tests in that…
97 for section in self.results:
[all …]

12345678910>>...155