29#define FDT_EARLYCON_KICK_UPDATE 0
30#define FDT_EARLYCON_KICK_COMPLETED 1
34 char msg[RT_FDT_EARLYCON_MSG_SIZE * 1024];
45#define RT_FDT_EARLYCON_EXPORT(_name, _type, _compatible, _setup) \
46static const struct rt_fdt_earlycon_id __rt_fdt_##_name##_earlycon \
47rt_used RT_OFW_SYMBOL(earlycon, _) = \
51 .compatible = _compatible, \
rt_uint64_t rt_fdt_translate_address(void *fdt, int nodeoffset, rt_uint64_t address)
rt_err_t rt_fdt_model_dump(void)
rt_uint64_t rt_fdt_read_number(const fdt32_t *cell, int size)
rt_err_t rt_fdt_scan_root(void)
void rt_fdt_earlycon_kick(int why)
void rt_fdt_earlycon_output(const char *str)
rt_err_t rt_fdt_commit_memregion_request(rt_region_t **out_region, rt_size_t *out_nr, rt_bool_t is_reserved)
rt_err_t rt_fdt_scan_initrd(rt_uint64_t *ranges)
const char * rt_fdt_node_name(const char *full_name)
rt_bool_t rt_fdt_device_is_available(void *fdt, int nodeoffset)
rt_err_t rt_fdt_boot_dump(void)
rt_err_t rt_fdt_prefetch(void *fdt)
rt_err_t rt_fdt_scan_chosen_stdout(void)
struct rt_ofw_node * rt_fdt_unflatten_single(void *fdt)
rt_err_t rt_fdt_bootargs_select(const char *key, int index, const char **out_result)
rt_err_t rt_fdt_scan_memory(void)
rt_uint64_t rt_fdt_next_cell(const fdt32_t **cellptr, int size)
rt_err_t rt_fdt_commit_memregion_early(rt_region_t *region, rt_bool_t is_reserved)
rt_err_t rt_fdt_unflatten(void)
unsigned long long rt_uint64_t
rt_err_t(* setup)(struct rt_fdt_earlycon *earlycon, const char *options)
void(* console_kick)(struct rt_fdt_earlycon *earlycon, int why)
void(* console_putc)(void *data, char c)
char msg[RT_FDT_EARLYCON_MSG_SIZE *1024]