Home
last modified time | relevance | path

Searched refs:section (Results 1 – 25 of 1240) sorted by relevance

12345678910>>...50

/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/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/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/
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 …]
/openbmc/qemu/accel/hvf/
H A Dhvf-all.c93 static void hvf_set_phys_mem(MemoryRegionSection *section, bool add) in hvf_set_phys_mem() argument
96 MemoryRegion *area = section->mr; in hvf_set_phys_mem()
113 if (!QEMU_IS_ALIGNED(int128_get64(section->size), page_size) || in hvf_set_phys_mem()
114 !QEMU_IS_ALIGNED(section->offset_within_address_space, page_size)) { in hvf_set_phys_mem()
120 section->offset_within_address_space, in hvf_set_phys_mem()
121 int128_get64(section->size)); in hvf_set_phys_mem()
124 if (mem->size == int128_get64(section->size) && in hvf_set_phys_mem()
125 mem->start == section->offset_within_address_space && in hvf_set_phys_mem()
127 section->offset_within_region)) { in hvf_set_phys_mem()
167 mem->size = int128_get64(section->size); in hvf_set_phys_mem()
[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 …]
H A Delf_test.py73 section = FakeSection()
75 syms = elf.LookupAndWriteSymbols('missing-file', entry, section)
82 section = FakeSection()
85 syms = elf.LookupAndWriteSymbols(elf_fname, entry, section)
96 section = FakeSection()
98 self.assertEqual(elf.LookupAndWriteSymbols(elf_fname, entry, section),
108 section = FakeSection()
111 syms = elf.LookupAndWriteSymbols(elf_fname, entry, section)
122 section = FakeSection(sym_value=None)
124 syms = elf.LookupAndWriteSymbols(elf_fname, entry, section)
[all …]
/openbmc/phosphor-logging/test/openpower-pels/
H A Dgeneric_section_test.cpp17 Generic section(stream); in TEST() local
19 EXPECT_EQ(section.header().id, 0x5048); in TEST()
20 EXPECT_EQ(section.header().size, data.size()); in TEST()
21 EXPECT_EQ(section.header().version, 0x01); in TEST()
22 EXPECT_EQ(section.header().subType, 0x02); in TEST()
23 EXPECT_EQ(section.header().componentID, 0x0304); in TEST()
25 const auto& sectionData = section.data(); in TEST()
38 section.flatten(newStream); in TEST()
50 Generic section(stream); in TEST() local
51 ASSERT_FALSE(section.valid()); in TEST()
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dsection_factory.cpp24 std::unique_ptr<Section> section; in create() local
40 section = std::make_unique<PrivateHeader>(pelData); in create()
43 section = std::make_unique<UserData>(pelData); in create()
46 section = std::make_unique<UserHeader>(pelData); in create()
49 section = std::make_unique<FailingMTMS>(pelData); in create()
53 section = std::make_unique<SRC>(pelData); in create()
56 section = std::make_unique<ExtendedUserHeader>(pelData); in create()
59 section = std::make_unique<ExtendedUserData>(pelData); in create()
63 section = std::make_unique<Generic>(pelData); in create()
67 return section; in create()
/openbmc/qemu/system/
H A Dram-block-attributes.c38 const MemoryRegionSection *section) in ram_block_attributes_rdm_is_populated() argument
42 const uint64_t first_bit = section->offset_within_region / block_size; in ram_block_attributes_rdm_is_populated()
44 first_bit + int128_get64(section->size) / block_size - 1; in ram_block_attributes_rdm_is_populated()
56 ram_block_attributes_notify_populate_cb(MemoryRegionSection *section, in ram_block_attributes_notify_populate_cb() argument
61 return rdl->notify_populate(rdl, section); in ram_block_attributes_notify_populate_cb()
65 ram_block_attributes_notify_discard_cb(MemoryRegionSection *section, in ram_block_attributes_notify_discard_cb() argument
70 rdl->notify_discard(rdl, section); in ram_block_attributes_notify_discard_cb()
76 MemoryRegionSection *section, in ram_block_attributes_for_each_populated_section() argument
85 first_bit = section->offset_within_region / block_size; in ram_block_attributes_for_each_populated_section()
90 MemoryRegionSection tmp = *section; in ram_block_attributes_for_each_populated_section()
[all …]
/openbmc/libcper/docs/
H A DOEMExtensions.md4 modified at compile time to include custom OEM section extensions. This document
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_:
42 #include <libcper/cper-section-ccix-per.h>
44 json_object* cper_section_myvendor_to_ir(void* section, EFI_ERROR_SECTION_DESCRIPTOR* descriptor)
[all …]
/openbmc/qemu/hw/remote/
H A Dproxy-memory-listener.c81 MemoryRegionSection *section) in try_merge() argument
93 mrs_rb = section->mr->ram_block; in try_merge()
95 mrs_size = int128_get64(section->size); in try_merge()
96 mrs_gpa = section->offset_within_address_space; in try_merge()
97 mrs_host = (uintptr_t)memory_region_get_ram_ptr(section->mr) + in try_merge()
98 section->offset_within_region; in try_merge()
121 if ((section->mr == prev_sec->mr) && in try_merge()
140 MemoryRegionSection *section) in proxy_memory_listener_region_addnop() argument
146 if (!memory_region_is_ram(section->mr) || in proxy_memory_listener_region_addnop()
147 memory_region_is_rom(section->mr)) { in proxy_memory_listener_region_addnop()
[all …]
/openbmc/libcper/sections/
H A Dcper-section-dmar-iommu.c18 json_object *cper_section_dmar_iommu_to_ir(const UINT8 *section, UINT32 size, in cper_section_dmar_iommu_to_ir() argument
38 (EFI_IOMMU_DMAR_ERROR_DATA *)section; in cper_section_dmar_iommu_to_ir()
99 void ir_section_dmar_iommu_to_cper(json_object *section, FILE *out) in ir_section_dmar_iommu_to_cper() argument
107 json_object_object_get(section, "revision")); in ir_section_dmar_iommu_to_cper()
109 json_object_object_get(section, "controlRegister")); in ir_section_dmar_iommu_to_cper()
111 json_object_object_get(section, "statusRegister")); in ir_section_dmar_iommu_to_cper()
114 json_object *encoded = json_object_object_get(section, "eventLogEntry"); in ir_section_dmar_iommu_to_cper()
127 encoded = json_object_object_get(section, "deviceTableEntry"); in ir_section_dmar_iommu_to_cper()
142 json_object_object_get(section, "pageTableEntry_Level1")); in ir_section_dmar_iommu_to_cper()
144 json_object_object_get(section, "pageTableEntry_Level2")); in ir_section_dmar_iommu_to_cper()
[all …]
H A Dcper-section-memory.c16 json_object *cper_section_platform_memory_to_ir(const UINT8 *section, in cper_section_platform_memory_to_ir() argument
26 (EFI_PLATFORM_MEMORY_ERROR_DATA *)section; in cper_section_platform_memory_to_ir()
238 json_object *cper_section_platform_memory2_to_ir(const UINT8 *section, in cper_section_platform_memory2_to_ir() argument
250 (EFI_PLATFORM_MEMORY2_ERROR_DATA *)section; in cper_section_platform_memory2_to_ir()
462 void ir_section_memory_to_cper(json_object *section, FILE *out) in ir_section_memory_to_cper() argument
472 if (json_object_object_get_ex(section, "errorStatus", &obj)) { in ir_section_memory_to_cper()
479 if (json_object_object_get_ex(section, "bank", &obj)) { in ir_section_memory_to_cper()
499 if (json_object_object_get_ex(section, "extended", &obj)) { in ir_section_memory_to_cper()
517 if (json_object_object_get_ex(section, "memoryErrorType", &obj)) { in ir_section_memory_to_cper()
521 if (json_object_object_get_ex(section, "physicalAddress", &obj)) { in ir_section_memory_to_cper()
[all …]
H A Dcper-section-dmar-vtd.c18 json_object *cper_section_dmar_vtd_to_ir(const UINT8 *section, UINT32 size, in cper_section_dmar_vtd_to_ir() argument
38 (EFI_DIRECTED_IO_DMAR_ERROR_DATA *)section; in cper_section_dmar_vtd_to_ir()
144 void ir_section_dmar_vtd_to_cper(json_object *section, FILE *out) in ir_section_dmar_vtd_to_cper() argument
152 json_object_object_get(section, "oemID")); in ir_section_dmar_vtd_to_cper()
159 json_object_object_get(section, "version")); in ir_section_dmar_vtd_to_cper()
161 json_object_object_get(section, "revision")); in ir_section_dmar_vtd_to_cper()
163 json_object_object_get(section, "capabilityRegister")); in ir_section_dmar_vtd_to_cper()
165 json_object_object_get(section, "extendedCapabilityRegister")); in ir_section_dmar_vtd_to_cper()
167 json_object_object_get(section, "globalCommandRegister")); in ir_section_dmar_vtd_to_cper()
169 json_object_object_get(section, "globalStatusRegister")); in ir_section_dmar_vtd_to_cper()
[all …]
H A Dcper-section-generic.c18 json_object *cper_section_generic_to_ir(const UINT8 *section, UINT32 size, in cper_section_generic_to_ir() argument
37 (EFI_PROCESSOR_GENERIC_ERROR_DATA *)section; in cper_section_generic_to_ir()
152 void ir_section_generic_to_cper(json_object *section, FILE *out) in ir_section_generic_to_cper() argument
166 if (json_object_object_get_ex(section, "processorType", &obj)) { in ir_section_generic_to_cper()
170 if (json_object_object_get_ex(section, "processorISA", &obj)) { in ir_section_generic_to_cper()
174 if (json_object_object_get_ex(section, "errorType", &obj)) { in ir_section_generic_to_cper()
178 if (json_object_object_get_ex(section, "operation", &obj)) { in ir_section_generic_to_cper()
183 if (json_object_object_get_ex(section, "flags", &obj)) { in ir_section_generic_to_cper()
190 if (json_object_object_get_ex(section, "level", &obj)) { in ir_section_generic_to_cper()
194 if (json_object_object_get_ex(section, "cpuVersionInfo", &obj)) { in ir_section_generic_to_cper()
[all …]
H A Dcper-section-dmar-generic.c16 json_object *cper_section_dmar_generic_to_ir(const UINT8 *section, UINT32 size, in cper_section_dmar_generic_to_ir() argument
36 (EFI_DMAR_GENERIC_ERROR_DATA *)section; in cper_section_dmar_generic_to_ir()
85 void ir_section_dmar_generic_to_cper(json_object *section, FILE *out) in ir_section_dmar_generic_to_cper() argument
93 json_object_object_get(section, "requesterID")); in ir_section_dmar_generic_to_cper()
95 json_object_object_get(section, "segmentNumber")); in ir_section_dmar_generic_to_cper()
97 json_object_object_get(section, "faultReason")); in ir_section_dmar_generic_to_cper()
99 json_object_object_get(section, "accessType")); in ir_section_dmar_generic_to_cper()
101 json_object_object_get(section, "addressType")); in ir_section_dmar_generic_to_cper()
103 json_object_object_get(section, "architectureType")); in ir_section_dmar_generic_to_cper()
105 json_object_object_get(section, "deviceAddress")); in ir_section_dmar_generic_to_cper()
H A Dcper-section-pci-bus.c17 json_object *cper_section_pci_bus_to_ir(const UINT8 *section, UINT32 size, in cper_section_pci_bus_to_ir() argument
37 (EFI_PCI_PCIX_BUS_ERROR_DATA *)section; in cper_section_pci_bus_to_ir()
124 void ir_section_pci_bus_to_cper(json_object *section, FILE *out) in ir_section_pci_bus_to_cper() argument
135 if (json_object_object_get_ex(section, "errorStatus", &obj)) { in ir_section_pci_bus_to_cper()
142 if (json_object_object_get_ex(section, "busID", &obj)) { in ir_section_pci_bus_to_cper()
143 json_object *bus_id = json_object_object_get(section, "busID"); in ir_section_pci_bus_to_cper()
155 if (json_object_object_get_ex(section, "errorType", &obj)) { in ir_section_pci_bus_to_cper()
159 if (json_object_object_get_ex(section, "busAddress", &obj)) { in ir_section_pci_bus_to_cper()
161 json_object_object_get(section, "busAddress")); in ir_section_pci_bus_to_cper()
164 if (json_object_object_get_ex(section, "busData", &obj)) { in ir_section_pci_bus_to_cper()
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/
H A Dptest.py88 for section in results:
89 for test in results[section]:
90 result = results[section][test]
91 …testname = "ptestresult." + (section or "No-section") + "." + "_".join(test.translate(trans).split…
93 if not results[section]:
94 zerolength.append(section)
98 for section in sections:
99 if 'exitcode' in sections[section].keys() or 'timeout' in sections[section].keys():
100 failed_tests[section] = sections[section]["log"]
102 for section in results:
[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/qemu/docs/sphinx/
H A Dqapidoc.py226 def visit_paragraph(self, section: QAPIDoc.Section) -> None:
228 if not section.text:
232 self.add_lines(section.text, section.info)
235 def visit_member(self, section: QAPIDoc.ArgSection) -> None:
240 assert section.member
243 section.member,
245 section.text if section.text else "Not documented",
246 section.info,
249 def visit_feature(self, section: QAPIDoc.ArgSection) -> None:
253 assert section.text # Guaranteed by parser.py
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/core/
H A Dcase.py77 def ptest_section(self, section, duration = None, log = None, logfile = None, exitcode = None): argument
82 if section not in sections:
83 sections[section] = {}
86 sections[section]["log"] = self._compress_log(log)
89 sections[section]["log"] = self._compress_log(f.read())
92 sections[section]["duration"] = duration
94 sections[section]["exitcode"] = exitcode
96 def ptest_result(self, section, test, result): argument
101 if section not in sections:
102 sections[section] = {}
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A Dlogparser.py87 for section in self.sections:
88 self.sections[section]['log'] = "".join(self.sections[section]['log'])
97 for section in self.results:
99 if section:
100 prefix = section
104 for test_name in sorted(self.results[section]):
105 status = self.results[section][test_name]
118 section = {"duration": 0, "log": ""}
138 section["duration"] += int(values["dur"])
150 return results, section
[all …]
/openbmc/pldm/oem/ampere/event/
H A Dcper.cpp41 static void decodeSecAmpere(void* section, EFI_AMPERE_ERROR_DATA* ampSpecHdr) in decodeSecAmpere() argument
43 std::memcpy(ampSpecHdr, section, sizeof(EFI_AMPERE_ERROR_DATA)); in decodeSecAmpere()
46 static void decodeSecArm(void* section, EFI_AMPERE_ERROR_DATA* ampSpecHdr) in decodeSecArm() argument
53 proc = reinterpret_cast<EFI_ARM_ERROR_RECORD*>(section); in decodeSecArm()
86 static void decodeSecPlatformMemory(void* section, in decodeSecPlatformMemory() argument
90 reinterpret_cast<EFI_PLATFORM_MEMORY_ERROR_DATA*>(section); in decodeSecPlatformMemory()
99 static void decodeSecPcie(void* section, EFI_AMPERE_ERROR_DATA* ampSpecHdr) in decodeSecPcie() argument
102 reinterpret_cast<EFI_PCIE_ERROR_DATA*>(section); in decodeSecPcie()
121 char* section = new char[secDesc->SectionLength]; in decodeCperSection() local
122 std::memcpy(section, &data[pos], secDesc->SectionLength); in decodeCperSection()
[all …]

12345678910>>...50