Date: Thu, 18 Sep 2014 05:46:17 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 193733] New: C++ compatibility for some kernel headers Message-ID: <bug-193733-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193733 Bug ID: 193733 Summary: C++ compatibility for some kernel headers Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: Needs Triage Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: sebastian.huber@embedded-brains.de Created attachment 147423 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=147423&action=edit Patch. I already sent this patch to the hackers mailing list and added this bug report on request: http://lists.freebsd.org/pipermail/freebsd-hackers/2014-September/046091.html We ported the FreeBSD network stack to RTEMS. Some users want to write network interface drivers in C++. It would be nice if we can make some FreeBSD kernel headers C++ compatible. sys/buf_ring.h: Mabye it is better to fix the integer type of br_cons_head to be able to use it in atomic_cmpset_int(). sys/mbuf.h: Maybe it is better to fix the integer type of ext_cnt to be able to use it for uma_find_refcnt(). -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193733-8>