From: Sebastian Huber <sebastian.hu...@embedded-brains.de> --- freebsd/sys/sys/buf.h | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/freebsd/sys/sys/buf.h b/freebsd/sys/sys/buf.h index 209174b4..dfe3eaa6 100644 --- a/freebsd/sys/sys/buf.h +++ b/freebsd/sys/sys/buf.h @@ -497,7 +497,11 @@ extern int cluster_pbuf_freecnt; /* Number of pbufs for clusters */ extern int vnode_pbuf_freecnt; /* Number of pbufs for vnode pager */ extern int vnode_async_pbuf_freecnt; /* Number of pbufs for vnode pager, asynchronous reads */ +#ifndef __rtems__ extern caddr_t unmapped_buf; /* Data address for unmapped buffers. */ +#else /* __rtems__ */ +extern caddr_t __read_mostly unmapped_buf; +#endif /* __rtems__ */ static inline int buf_mapped(struct buf *bp) -- 2.35.3 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel