Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\kexec_elf.c Create Date:2022-07-28 11:04:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:elf64_to_cpu

Proto:static uint64_t elf64_to_cpu(const struct elf64_hdr *ehdr, uint64_t value)

Type:uint64_t

Parameter:

TypeParameterName
const struct elf64_hdr *ehdr
uint64_tvalue
31  If ELF "magic number" [EI_DATA] == ELFDATA2LSB Then value = le64_to_cpu(value)
33  Else if ELF "magic number" [EI_DATA] == ELFDATA2MSB Then value = be64_to_cpu(value)
36  Return value
Caller
NameDescribe
elf_read_ehdr
elf_read_phdr