Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:elf16_to_cpu

Proto:static uint16_t elf16_to_cpu(const struct elf64_hdr *ehdr, uint16_t value)

Type:uint16_t

Parameter:

TypeParameterName
const struct elf64_hdr *ehdr
uint16_tvalue
51  If ELF "magic number" [EI_DATA] == ELFDATA2LSB Then value = le16_to_cpu(value)
53  Else if ELF "magic number" [EI_DATA] == ELFDATA2MSB Then value = be16_to_cpu(value)
56  Return value
Caller
NameDescribe
elf_read_ehdr