函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:scripts\dtc\libfdt\fdt_sw.c Create Date:2022-07-27 07:16:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:fdt_add_reservemap_entry

函数原型:int fdt_add_reservemap_entry(void *fdt, uint64_t addr, uint64_t size)

返回类型:int

参数:

类型参数名称
void *fdt
uint64_taddr
uint64_tsize
187  offset等于fdt_off_dt_struct(fdt)
188  如果offsetre的长度大于fdt_totalsize(fdt)则返回:负FDT_ERR_EXISTS: Attempted to create a node or property which* already exists
191  re等于fdtoffset
192  address等于cpu_to_fdt64(addr)
193  size等于cpu_to_fdt64(size)
195  fdt_set_off_dt_struct(fdt, offset + re的长度)
197  返回:0
调用者
名称描述
fdt_finish_reservemap