MCPcopy Create free account
hub / github.com/IBM/ACE-RISCV / generic_console_init

Function generic_console_init

security-monitor/platform/generic/platform.c:351–357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349}
350
351static int generic_console_init(void)
352{
353 if (semihosting_enabled())
354 return semihosting_init();
355 else
356 return fdt_serial_init();
357}
358
359const struct sbi_platform_operations platform_ops = {
360 .cold_boot_allowed = generic_cold_boot_allowed,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected