函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:fdt_add_mem_rsv

函数原型:int fdt_add_mem_rsv(void *fdt, uint64_t address, uint64_t size)

返回类型:int

参数:

类型参数名称
void *fdt
uint64_taddress
uint64_tsize
148  re等于fdt_mem_rsv_w_(fdt, fdt_num_mem_rsv(fdt))
149  err等于fdt_splice_mem_rsv_(fdt, re, 0, 1)
150  如果err则返回:err
153  address等于cpu_to_fdt64(address)
154  size等于cpu_to_fdt64(size)
155  返回:0