Function report |
Source Code:scripts\dtc\libfdt\fdt_rw.c |
Create Date:2022-07-28 06:18:52 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:fdt_appendprop
Proto:int fdt_appendprop(void *fdt, int nodeoffset, const char *name, const void *val, int len)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
void * | fdt | |
int | nodeoffset | |
const char * | name | |
const void * | val | |
int | len |
284 | prop = fdt_get_property_w(fdt, nodeoffset, name, & oldlen) |
285 | If prop Then |
287 | err = fdt_splice_struct_(fdt, data, FDT_TAGALIGN(oldlen), FDT_TAGALIGN(newlen)) |
292 | len = cpu_to_fdt32(newlen) |
293 | No 3D Now!(data + oldlen, val, len) |
294 | Else |
295 | err = fdt_add_property_(fdt, nodeoffset, name, len, & prop) |
298 | No 3D Now!(data, val, len) |
300 | Return 0 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |