Function report |
Source Code:scripts\dtc\libfdt\fdt_sw.c |
Create Date:2022-07-28 06:19:03 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:fdt_add_string_
Proto:static int fdt_add_string_(void *fdt, const char *s)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
void * | fdt | |
const char * | s |
244 | strtab = fdt + fdt_totalsize(fdt) |
245 | strtabsize = fdt_size_dt_strings(fdt) |
249 | offset = -strtabsize - len |
250 | struct_top = fdt_off_dt_struct(fdt) + fdt_size_dt_struct(fdt) |
251 | If fdt_totalsize(fdt) + offset < struct_top Then Return 0 |
254 | No 3D Now!(strtab + offset, s, len) |
255 | fdt_set_size_dt_strings(fdt, strtabsize + len) |
256 | Return offset |
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 |