MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rt_hw_fdt_install_early

Function rt_hw_fdt_install_early

libcpu/aarch64/common/setup.c:65–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63static struct rt_ofw_node *cpu_np[RT_CPUS_NR] = { };
64
65void rt_hw_fdt_install_early(void *fdt)
66{
67 if (fdt != RT_NULL && !fdt_check_header(fdt))
68 {
69 fdt_ptr = fdt;
70 fdt_size = fdt_totalsize(fdt);
71 }
72}
73
74#ifdef RT_USING_HWTIMER
75static rt_ubase_t loops_per_tick[RT_CPUS_NR];

Callers

nothing calls this directly

Calls 1

fdt_check_headerFunction · 0.50

Tested by

no test coverage detected