Function report |
Source Code:scripts\dtc\libfdt\fdt_sw.c |
Create Date:2022-07-28 06:19:00 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:fdt_create_with_flags
Proto:int fdt_create_with_flags(void *buf, int bufsize, uint32_t flags)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| void * | buf | |
| int | bufsize | |
| uint32_t | flags |
| 107 | hdrsize = FDT_ALIGN(sizeof(structfdt_header), sizeof(structfdt_reserve_entry)) |
| 111 | If bufsize < hdrsize Then Return -FDT_ERR_EXISTS: Attempted to create a node or property which* already exists |
| 126 | fdt_set_magic(fdt, FDT_SW_MAGIC) |
| 130 | fdt_set_totalsize(fdt, bufsize) |
| 132 | fdt_set_off_mem_rsvmap(fdt, hdrsize) |
| 134 | fdt_set_off_dt_strings(fdt, 0) |
| 136 | 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 |