Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:scripts\dtc\libfdt\fdt_sw.c Create Date:2022-07-28 06:19:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:fdt_add_reservemap_entry

Proto:int fdt_add_reservemap_entry(void *fdt, uint64_t addr, uint64_t size)

Type:int

Parameter:

TypeParameterName
void *fdt
uint64_taddr
uint64_tsize
187  offset = fdt_off_dt_struct(fdt)
188  If offset + size of re > fdt_totalsize(fdt) Then Return -FDT_ERR_EXISTS: Attempted to create a node or property which* already exists
191  re = fdt + offset
192  address = cpu_to_fdt64(addr)
193  size = cpu_to_fdt64(size)
195  fdt_set_off_dt_struct(fdt, offset + size of re )
197  Return 0