[PATCH RTEMS v2 4/6] bsp/fatal.h: Add FATAL codes for libfreebsd

G S Niteesh Babu niteesh.gs at gmail.com
Thu Jun 11 12:23:13 UTC 2020


---
 bsps/include/bsp/fatal.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/bsps/include/bsp/fatal.h b/bsps/include/bsp/fatal.h
index 3f8e1eb591..c22f8a2f52 100644
--- a/bsps/include/bsp/fatal.h
+++ b/bsps/include/bsp/fatal.h
@@ -156,6 +156,10 @@ typedef enum {
   RISCV_FATAL_NO_TLCLOCK_FREQUENCY_IN_DEVICE_TREE
 } bsp_fatal_code;
 
+typedef enum {
+  LIBFREEBSD_FATAL_INVALID_FDT = BSP_FATAL_CODE_BLOCK(14)
+} libfreebsd_fatal_code;
+
 RTEMS_NO_RETURN static inline void
 bsp_fatal( bsp_fatal_code code )
 {
-- 
2.17.1



More information about the devel mailing list