/openbmc/openbmc/poky/meta/recipes-core/glibc/ldconfig-native-2.12.1/ |
H A D | ldconfig-handle-.dynstr-located-in-separate-segment.patch | 4 Subject: [PATCH] ldconfig: handle .dynstr located in separate segment (bug 8 segment containing it, instead of using the load offset of the first 9 segment. 41 switch (read32(segment->p_type, be)) 45 - loadaddr = read32(segment->p_vaddr, be) - read32(segment->p_offset, be); 50 error (0, 0, _("more than one dynamic segment\n")); 73 + /* Find the file offset of the segment containing the dynamic 76 + for (i = 0, segment = elf_pheader; 77 + i < read16(elf_header->e_phnum, be); i++, segment++) 79 + if (read32(segment->p_type, be) == PT_LOAD [all …]
|
H A D | endian-ness_handling_fix.patch | 26 error (0, 0, _("more than one dynamic segment\n")); 28 dynamic_addr = read64(segment->p_offset, be); 29 - dynamic_size = read32(segment->p_filesz, be); 30 + dynamic_size = read64(segment->p_filesz, be); 38 - if (!*osversion && read32(segment->p_filesz, be) >= 32 && read32(segment->p_align, be) >= 4) 39 + if (!*osversion && read64(segment->p_filesz, be) >= 32 && read64(segment->p_align, be) >= 4) 42 + read64(segment->p_offset, be)); 43 - Elf64_Addr size = read32(segment->p_filesz, be); 44 + Elf64_Xword size = read64(segment->p_filesz, be);
|
H A D | endian-ness_handling.patch | 67 for (i = 0, segment = elf_pheader; 68 - i < elf_header->e_phnum; i++, segment++) 69 + i < read16(elf_header->e_phnum, be); i++, segment++) 71 check_ptr (segment); 73 - switch (segment->p_type) 74 + switch (read32(segment->p_type, be)) 78 - loadaddr = segment->p_vaddr - segment->p_offset; 79 + loadaddr = read32(segment->p_vaddr, be) - read32(segment->p_offset, be); 84 error (0, 0, _("more than one dynamic segment\n")); 86 - dynamic_addr = segment->p_offset; [all …]
|
H A D | 32and64bit.patch | 31 - ElfW(Phdr) *elf_pheader, *segment; 34 + Elf32_Phdr *elf_pheader, *segment; 63 + for (i = 0, segment = elf_pheader; 64 + i < elf_header->e_phnum; i++, segment++) 66 + check_ptr (segment); 68 + switch (segment->p_type) 78 + loadaddr = segment->p_vaddr - segment->p_offset; 83 + error (0, 0, _("more than one dynamic segment\n")); 85 + dynamic_addr = segment->p_offset; 86 + dynamic_size = segment->p_filesz; [all …]
|
/openbmc/phosphor-mrw-tools/ |
H A D | gen_path_callouts.pl | 229 # Segment bus types 249 # Find all single segment buses that we care about 254 # Build the single and multi segment callouts 302 my %segment; 303 $segment{BusType} = $busType; 304 $segment{SourceUnit} = $target; 305 $segment{SourceChip} = getParentByClass($target, "CHIP"); 306 if ($segment{SourceChip} eq "") 319 $segment{DestUnit} = $dest; 320 $segment{DestChip} = getParentByClass($dest, "CHIP"); [all …]
|
H A D | Inventory.pm | 158 #make API calls on the segment instances. 171 #If this segment is a card but not a FRU, 174 my $segment = $targetObj->getInstanceName($target); 175 $item->{OBMC_NAME} =~ s/\b$segment-\d+\b\///; 184 #to the card segment that plugs into the connector. 206 my ($segment) = $target =~ /\b(\w+-\d+)$/; 210 $item->{OBMC_NAME} =~ s/\b$segment\/(\w+)-\d+/$1-$pos/; 246 #based on the type of the segment. 308 #The same as renameSegmentWithType, but finds the segment 371 #seen a particular segment with the same instance before. [all …]
|
H A D | inventory.pl | 143 #Renames a segment in all target names based on its type 189 #Renames a segment in all target names based on its target type 282 #remove the connector segment from the path 374 my $segment, my $item; 379 for $segment (@segments) { 380 my ($s, $inst) = $segment =~ /(\w+)-(\d+)/; 394 for my $segment (keys %instanceHash) { 396 if (not exists $instanceHash{$segment}{keep}) { 398 $item->{name} =~ s/$segment-\d+/$segment/;
|
/openbmc/sdbusplus/tools/sdbusplus/ |
H A D | path.py | 10 def __init__(self, segment=False, **kwargs): argument 20 # Validate path/segment format. 22 if segment: 26 if not segment and self.value[0] != "/": 28 if segment and self.value[0] == "/": 31 if not segment: 44 Path(segment=True, **s) for s in kwargs.pop("segments", [])
|
/openbmc/openbmc/poky/meta/recipes-devtools/patchelf/patchelf/ |
H A D | 0003-make-LOAD-segment-extensions-based-on-p_align-instea.patch | 4 Subject: [PATCH] make LOAD segment extensions based on p_align instead of 7 Since the p_align of the LOAD segment is no longer pagesize, the actual p_align 8 value is used to calculate for the LOAD segment extension. 10 If calculated with pagesize, new LOAD segment may be added even though the 11 existing LOAD segment can be extended.
|
H A D | 0002-align-startOffset-with-p_align-instead-of-pagesize-f.patch | 9 glibc earlier than 2.35 incorrectly requires that the LOAD segment be (p_vaddr 33 + /* glibc earlier than 2.35 requires that the LOAD segment satisfies 42 // section segment is strictly smaller than the file (and not same size).
|
/openbmc/qemu/linux-user/ |
H A D | gen-vdso-elfn.c.inc | 29 bswaps(&phdr->p_type); /* Segment type */ 30 bswaps(&phdr->p_flags); /* Segment flags */ 31 bswaps(&phdr->p_offset); /* Segment file offset */ 32 bswaps(&phdr->p_vaddr); /* Segment virtual address */ 33 bswaps(&phdr->p_paddr); /* Segment physical address */ 34 bswaps(&phdr->p_filesz); /* Segment size in file */ 35 bswaps(&phdr->p_memsz); /* Segment size in memory */ 36 bswaps(&phdr->p_align); /* Segment alignment */ 144 * PT_DYNAMIC, and PT_NOTE located in a writable data segment. 157 fprintf(stderr, "LOAD segment does not cover EHDR\n"); [all …]
|
H A D | flat.h | 27 with text segment from beginning of file */ 28 abi_ulong data_start; /* Offset of data segment from beginning of 30 abi_ulong data_end; /* Offset of end of data segment 32 abi_ulong bss_end; /* Offset of end of bss segment from beginning 35 /* (It is assumed that data_end through bss_end forms the bss segment.) */
|
/openbmc/u-boot/arch/x86/include/asm/ |
H A D | e820.h | 16 __u64 addr; /* start of memory segment */ 17 __u64 size; /* size of memory segment */ 18 __u32 type; /* type of memory segment */
|
H A D | sipi.h | 21 * Each of these must be set up for the AP to boot, except @segment which is 25 * @segment: Code segment for U-Boot 33 u16 segment; member
|
/openbmc/u-boot/drivers/bios_emulator/x86emu/ |
H A D | decode.c | 233 Value of the default data segment 236 Inline function that returns the default data segment for the current 239 On the x86 processor, the default segment is not always DS if there is 240 no segment override. Address modes such as -3[BP] or 10[BP+SI] all refer to 249 cs segment override 250 ds segment override 251 es segment override 252 fs segment override 253 gs segment override 254 ss segment override [all …]
|
/openbmc/u-boot/arch/x86/cpu/ |
H A D | wakeup.S | 26 /* the rest is taken as segment */ 30 /* Activate the right segment descriptor real mode */ 37 * Load the segment registers w/ properly configured segment
|
H A D | call32.S | 12 * rdi - 32-bit code segment selector 32 push %rdi /* 32-bit code segment */ 61 pushl %edi /* 32-bit code segment */
|
H A D | start16.S | 15 #define BOOT_SEG 0xffff0000 /* linear segment of boot code */ 60 .word 0x10 /* segment */ 105 * The Code Segment Descriptor: 119 * The Data Segment Descriptor:
|
/openbmc/u-boot/drivers/bios_emulator/include/x86emu/ |
H A D | decode.h | 64 u8 fetch_data_byte_abs (uint segment, uint offset); 66 u16 fetch_data_word_abs (uint segment, uint offset); 68 u32 fetch_data_long_abs (uint segment, uint offset); 70 void store_data_byte_abs (uint segment, uint offset, u8 val); 72 void store_data_word_abs (uint segment, uint offset, u16 val); 74 void store_data_long_abs (uint segment, uint offset, u32 val);
|
/openbmc/u-boot/arch/x86/lib/ |
H A D | bios_asm.S | 12 #define SEG(segment) $segment * X86_GDT_ENTRY_SIZE argument 16 * to some fixed addresses in the F segment. Before the code can used, 48 /* Activate the right segment descriptor real mode. */ 53 * Load the segment registers with properly configured segment 75 * 16-bit ESP at segment 0 will work for any case. 117 /* Now that we are in protected mode jump to a 32 bit code segment */
|
/openbmc/openbmc/poky/meta/recipes-core/systemd/ |
H A D | dlopen-deps.inc | 8 def extract_segment(filename, segment): 10 Return the named segment from the ELF. 16 cmd = [d.getVar("OBJCOPY"), "--dump-section", f"{segment}={f.name}", filename] 21 # binutils-objcopy has 0 exit code if the segment can't be found, but llvm-objcopy
|
/openbmc/qemu/include/hw/ |
H A D | elf_ops.h.inc | 20 bswap32s(&phdr->p_type); /* Segment type */ 21 bswapSZs(&phdr->p_offset); /* Segment file offset */ 22 bswapSZs(&phdr->p_vaddr); /* Segment virtual address */ 23 bswapSZs(&phdr->p_paddr); /* Segment physical address */ 24 bswapSZs(&phdr->p_filesz); /* Segment size in file */ 25 bswapSZs(&phdr->p_memsz); /* Segment size in memory */ 26 bswap32s(&phdr->p_flags); /* Segment flags */ 27 bswapSZs(&phdr->p_align); /* Segment alignment */ 447 * segment, but the filesz represents the loadtime size. If 452 * paddr + memsz for this segment would overlap with any other [all …]
|
/openbmc/phosphor-host-postd/ipmisnoop/ |
H A D | ipmisnoop.cpp | 30 // Configure the seven segment display connected GPIOs direction 75 // Display the received postcode into seven segment display 120 // write postcode into seven segment display in getSelectorPositionSignal() 172 // Configure seven segment dsiplay connected to GPIOs as output in postCodeIpmiHandler() 177 "in seven segment display..\n"); in postCodeIpmiHandler()
|
/openbmc/qemu/tests/tcg/x86_64/system/ |
H A D | boot.S | 61 * - `cs `: must be a 32-bit read/execute code segment with a base of ‘0’ 63 * - `ds`, `es`: must be a 32-bit read/write data segment with a base of 197 * segment descriptors. In 32 bit mode each segment each 198 * segment is associated with segment registers which are
|
/openbmc/bmcweb/http/ |
H A D | utility.hpp | 341 // std::reference_wrapper<std::string> - extracts segment to variable 342 // std::string_view - checks if segment is equal to variable 358 output = segment; in operator ()() 364 if (segment == expected) in operator ()() 377 segment(segmentIn) in UrlSegmentMatcherVisitor() 381 std::string_view segment; member in crow::utility::details::UrlSegmentMatcherVisitor 412 // There will be an empty segment at the end if the URI ends with a "/" in readUrlSegments() 419 for (const auto& segment : segments) in readUrlSegments() local 426 return std::holds_alternative<OrMorePaths>(segment); in readUrlSegments() 428 res = std::visit(UrlSegmentMatcherVisitor(*fragIt), segment); in readUrlSegments() [all …]
|