[libbsd 7/7] Define IFCAP_NOMAP for Newlib compatibility

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Jul 7 12:02:48 UTC 2022


---
 rtemsbsd/include/machine/rtems-bsd-kernel-space.h | 3 +++
 rtemsbsd/include/machine/rtems-bsd-user-space.h   | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/rtemsbsd/include/machine/rtems-bsd-kernel-space.h b/rtemsbsd/include/machine/rtems-bsd-kernel-space.h
index c4c70c75..f2f1b91f 100644
--- a/rtemsbsd/include/machine/rtems-bsd-kernel-space.h
+++ b/rtemsbsd/include/machine/rtems-bsd-kernel-space.h
@@ -58,6 +58,9 @@
 /* REVIEW-AFTER-FREEBSD-BASELINE-UPDATE */
 #define IN_HISTORICAL_NETS
 
+/* REVIEW-AFTER-FREEBSD-BASELINE-UPDATE */
+#define IFCAP_NOMAP 0x4000000
+
 #include <machine/rtems-bsd-version.h>
 #include <machine/rtems-bsd-kernel-namespace.h>
 
diff --git a/rtemsbsd/include/machine/rtems-bsd-user-space.h b/rtemsbsd/include/machine/rtems-bsd-user-space.h
index cc7493d1..93113b9c 100644
--- a/rtemsbsd/include/machine/rtems-bsd-user-space.h
+++ b/rtemsbsd/include/machine/rtems-bsd-user-space.h
@@ -50,6 +50,9 @@
 
 #include <stdio.h>
 
+/* REVIEW-AFTER-FREEBSD-BASELINE-UPDATE */
+#define IFCAP_NOMAP 0x4000000
+
 #define O_CLOEXEC 0
 
 #define O_DIRECTORY 0
-- 
2.35.3



More information about the devel mailing list