Home
last modified time | relevance | path

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

12345678910>>...114

/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/libcper/
H A Dmeson.build35 'sections/cper-section-ampere.c',
36 'sections/cper-section-arm.c',
37 'sections/cper-section-ccix-per.c',
38 'sections/cper-section-cxl-component.c',
39 'sections/cper-section-cxl-protocol.c',
40 'sections/cper-section-dmar-generic.c',
41 'sections/cper-section-dmar-iommu.c',
42 'sections/cper-section-dmar-vtd.c',
43 'sections/cper-section-firmware.c',
44 'sections/cper-section-generic.c',
[all …]
H A Dcper-parse.c3 * CPER headers and section descriptions into an intermediate JSON format.
19 #include <libcper/sections/cper-section.h>
45 "Invalid CPER file: Invalid section count (0).\n"); in header_signature_valid()
86 "Invalid CPER file: Invalid section descriptor (section offset + length > size).\n"); in cper_buf_to_ir()
96 //Read the appropriate number of section descriptors & sections, and convert them into IR format. in cper_buf_to_ir()
100 //Create the section descriptor. in cper_buf_to_ir()
103 "Invalid number of section headers: Header states %d sections, could not read section %d.\n", in cper_buf_to_ir()
115 "Invalid section descriptor: Section offset > size.\n"); in cper_buf_to_ir()
121 "Invalid section descriptor: Section length <= 0.\n"); in cper_buf_to_ir()
128 "Invalid section descriptor: Section offset + length would overflow.\n"); in cper_buf_to_ir()
[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 …]
H A Dsection_header.hpp15 * @brief This 8-byte header is at the start of every PEL section.
20 * | 4 | Section ID | Section Length |
25 * Section ID:
26 * A two-ASCII character field which uniquely identifies the type of section.
28 * Section length:
29 * Length in bytes of the section, including the entire section header.
31 * Section Version:
34 * Section sub-type:
35 * Optional. Additional identifier describing the section.
66 * @brief A two character ASCII field which identifies the section type.
[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::headerSize() + _data.size(); in flattenedSize()
[all …]
H A Dgeneric.hpp3 #include "section.hpp"
14 * This class is used for a PEL section when there is no other class to use.
17 * every section type.
19 class Generic : public Section
39 * @brief Flatten the section into the stream
46 * @brief Returns the size of this section when flattened into a PEL
48 * @return size_t - the size of the section
52 return Section::headerSize() + _data.size(); in flattenedSize()
56 * @brief Returns the raw section data
74 * @brief Validates the section contents
[all …]
H A Dsection_factory.cpp34 std::unique_ptr<Section> create(Stream& pelData) in create()
36 std::unique_ptr<Section> section; in create() local
38 // Peek the section ID to create the appriopriate object. in create()
52 section = std::make_unique<PrivateHeader>(pelData); in create()
55 section = std::make_unique<UserData>(pelData); in create()
58 section = std::make_unique<UserHeader>(pelData); in create()
61 section = std::make_unique<FailingMTMS>(pelData); in create()
65 section = std::make_unique<SRC>(pelData); in create()
68 section = std::make_unique<ExtendedUserHeader>(pelData); in create()
71 section = std::make_unique<ExtendedUserData>(pelData); in create()
[all …]
H A Dsection_factory.hpp3 #include "section.hpp"
14 * @brief Create a PEL section based on its data
16 * This creates the appropriate PEL section object based on the section ID in
17 * the first 2 bytes of the stream, but returns the base class Section pointer.
19 * If there isn't a class specifically for that section, it defaults to
24 * @return std::unique_ptr<Section> - class of the appropriate type
26 std::unique_ptr<Section> create(Stream& pelData);
/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/qemu/hw/vfio/
H A Dlistener.c79 static bool vfio_listener_skipped_section(MemoryRegionSection *section) in vfio_listener_skipped_section() argument
81 return (!memory_region_is_ram(section->mr) && in vfio_listener_skipped_section()
82 !memory_region_is_iommu(section->mr)) || in vfio_listener_skipped_section()
83 memory_region_is_protected(section->mr) || in vfio_listener_skipped_section()
90 section->offset_within_address_space & (1ULL << 63); in vfio_listener_skipped_section()
201 MemoryRegionSection *section) in vfio_ram_discard_notify_discard() argument
206 const hwaddr size = int128_get64(section->size); in vfio_ram_discard_notify_discard()
207 const hwaddr iova = section->offset_within_address_space; in vfio_ram_discard_notify_discard()
219 MemoryRegionSection *section) in vfio_ram_discard_notify_populate() argument
224 const hwaddr end = section->offset_within_region + in vfio_ram_discard_notify_populate()
[all …]
H A Dspapr.c42 static bool vfio_prereg_listener_skipped_section(MemoryRegionSection *section) in vfio_prereg_listener_skipped_section() argument
44 if (memory_region_is_iommu(section->mr)) { in vfio_prereg_listener_skipped_section()
48 return !memory_region_is_ram(section->mr) || in vfio_prereg_listener_skipped_section()
49 memory_region_is_ram_device(section->mr); in vfio_prereg_listener_skipped_section()
52 static void *vfio_prereg_gpa_to_vaddr(MemoryRegionSection *section, hwaddr gpa) in vfio_prereg_gpa_to_vaddr() argument
54 return memory_region_get_ram_ptr(section->mr) + in vfio_prereg_gpa_to_vaddr()
55 section->offset_within_region + in vfio_prereg_gpa_to_vaddr()
56 (gpa - section->offset_within_address_space); in vfio_prereg_gpa_to_vaddr()
60 MemoryRegionSection *section) in vfio_prereg_listener_region_add() argument
66 const hwaddr gpa = section->offset_within_address_space; in vfio_prereg_listener_region_add()
[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/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/libcper/sections/
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 …]
/openbmc/libcper/generator/
H A Dcper-generate.c13 #include <libcper/generator/sections/gen-section.h>
23 //Generates a CPER record with the given section types, outputting to the given stream.
35 printf("Error encountered generating section %d of type '%s', length returned zero.\n", in generate_cper_record()
63 //Generate the section descriptors given the number of sections. in generate_cper_record()
95 //Generates a single section record for the given section, and outputs to file.
99 //Generate a section. in generate_single_section_record()
100 void *section = NULL; in generate_single_section_record() local
101 size_t section_len = generate_section(&section, type, validBitsType); in generate_single_section_record()
112 fwrite(section, section_len, 1, out); in generate_single_section_record()
117 free(section); in generate_single_section_record()
[all …]
/openbmc/qemu/system/
H A Dram-block-attributes.c40 const MemoryRegionSection *section) in ram_block_attributes_rdm_is_populated() argument
44 const uint64_t first_bit = section->offset_within_region / block_size; in ram_block_attributes_rdm_is_populated()
46 first_bit + int128_get64(section->size) / block_size - 1; in ram_block_attributes_rdm_is_populated()
58 ram_block_attributes_notify_populate_cb(MemoryRegionSection *section, in ram_block_attributes_notify_populate_cb() argument
63 return rdl->notify_populate(rdl, section); in ram_block_attributes_notify_populate_cb()
67 ram_block_attributes_notify_discard_cb(MemoryRegionSection *section, in ram_block_attributes_notify_discard_cb() argument
72 rdl->notify_discard(rdl, section); in ram_block_attributes_notify_discard_cb()
78 MemoryRegionSection *section, in ram_block_attributes_for_each_populated_section() argument
87 first_bit = section->offset_within_region / block_size; in ram_block_attributes_for_each_populated_section()
92 MemoryRegionSection tmp = *section; in ram_block_attributes_for_each_populated_section()
[all …]
/openbmc/u-boot/tools/binman/
H A Dimage_test.py15 section = image._section
17 section.LookupSymbol('_binman_something_prop_', False, 'msg')
24 section = image._section
25 section._entries = {}
27 section.LookupSymbol('_binman_type_prop_pname', False, 'msg')
33 section = image._section
34 section._entries = {}
36 val = section.LookupSymbol('_binman_type_prop_pname', True, 'msg')
44 section = image._section
45 section._entries = {'u-boot': 1}
[all …]
/openbmc/webui-vue/docs/guide/components/page-section/
H A Dindex.md1 # Page section
3 The `<page-section>` component will render semantic HTML. By adding a
4 `:section-title` prop to the `<page-section>` component, the localized text
9 <page-section :section-title="$t('pageLdap.settings')"></page-section>
12 [View the page section component source code](https://github.com/openbmc/webui-vue/blob/master/src/…
/openbmc/phosphor-webui/app/server-control/controllers/
H A Dpower-usage-controller.html5 <section class="section">
6 <div class="section-header">
7 <h2 class="section-title">Power information</h2>
13 </section>
14 <section class="section">
15 <div class="section-header">
16 <h2 class="section-title">
20 <div class="section-content">
47 <div class="section-content form__field">
61 </section>
/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 …]
/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.
203 Verify View More Button Under Server Information Section
[all...]

12345678910>>...114