Function report |
Source Code:scripts\dtc\libfdt\fdt_sw.c |
Create Date:2022-07-28 06:19:07 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:fdt_finish
Proto:int fdt_finish(void *fdt)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| void * | fdt |
| 341 | If Not end Then Return -FDT_ERR_EXISTS: Attempted to create a node or property which* already exists |
| 343 | end = cpu_to_fdt32(FDT_END) |
| 346 | oldstroffset = fdt_totalsize(fdt) - fdt_size_dt_strings(fdt) |
| 347 | newstroffset = fdt_off_dt_struct(fdt) + fdt_size_dt_struct(fdt) |
| 352 | offset = 0 |
| 353 | When (tag = fdt_next_tag(fdt, offset, & nextoffset)) != FDT_END cycle |
| 354 | If tag == Property: name off,size, content Then |
| 355 | prop = fdt_offset_ptr_w_(fdt, offset) |
| 359 | nameoff = fdt32_to_cpu(nameoff) |
| 360 | nameoff += fdt_size_dt_strings(fdt) |
| 361 | nameoff = cpu_to_fdt32(nameoff) |
| 363 | offset = nextoffset |
| 365 | If nextoffset < 0 Then Return nextoffset |
| 375 | 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 |