aboutsummaryrefslogtreecommitdiff
path: root/include/arch/arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/arch/arch.h')
-rw-r--r--include/arch/arch.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/arch/arch.h b/include/arch/arch.h
index c19b039..c4f2d28 100644
--- a/include/arch/arch.h
+++ b/include/arch/arch.h
@@ -15,6 +15,15 @@
#include "../../arch/riscv32/include/arch.h"
#endif
+/**
+ * Setup arch specific stuff.
+ *
+ * See arch documentation if there is any.
+ *
+ * @param fdt Global FDT.
+ * @return \ref OK if boot can continue, error otherwise.
+ * \todo Check errors.
+ */
stat_t setup_arch(void *fdt);
#endif /* APOS_ARCH_H */