120 Commits

Author SHA1 Message Date
Kevin Kirspel
817cbf7201 devfs: Fix some issues
Fix issue with cdev private data usage with RTEMS iop structure. Add
support for cdev alias device names. Add support for cdev fstat.
2017-05-12 14:20:33 +02:00
Kevin Kirspel
4a8f953f62 Updating FREEBSD for tty support 2017-05-11 11:15:41 +02:00
Kevin Kirspel
f6c52e086d Adding tty support files from FREEBSD tree 2017-05-11 11:15:41 +02:00
Sebastian Huber
de8a76da2f Update to FreeBSD head 2017-04-04
Git mirror commit 642b174daddbd0efd9bb5f242c43f4ab4db6869f.
2017-04-04 14:46:23 +02:00
Sebastian Huber
0732183638 Fix SOCK_CLOEXEC with socket() and socketpair()
Remove SOCK_CLOEXEC flag to get a valid socket type, e.g. to avoid a
EPROTOTYPE in case of socket(..., SOCK_DGRAM | SOCK_CLOEXEC, ...).
2017-03-14 07:15:34 +01:00
Sebastian Huber
5268338be3 Provide sbuf_hexdump() 2017-03-06 12:06:19 +01:00
Sebastian Huber
57ba8ad63c Avoid kern_unsetenv() 2017-03-06 12:05:54 +01:00
Sebastian Huber
5e093a5bcb SLEEPQUEUE(9): Fix absolute timeouts
The FreeBSD kernel timeouts are always based on the uptime.  Thus, we
have to use the relative watchdog.  C_ABSOLUTE just means that the
timeout value is already an uptime value.

https://lists.freebsd.org/pipermail/freebsd-hackers/2017-February/050572.html
2017-02-28 10:07:30 +01:00
Sebastian Huber
1fd5083234 SLEEPQUEUE(9): Add wmesg to thread wait info 2017-01-31 09:50:45 +01:00
Sebastian Huber
ee94f8a8ea rtems-bsd-mutex: Use thread queue name 2017-01-31 09:49:49 +01:00
Christian Mauderer
66eb1437f2 firmware: Port to RTEMS. 2017-01-17 12:50:57 +01:00
Christian Mauderer
2e8dd24b7c firmware: Import from FreeBSD. 2017-01-17 12:50:57 +01:00
Sebastian Huber
172f2acb2b Use thread name support
Update #2858.
2017-01-13 09:20:43 +01:00
Sebastian Huber
0577772720 Update to FreeBSD head 2017-01-09
Git mirror commit 1f8e4a995a6ede4bdb24e6d335ccda2bdb0175ab.
2017-01-10 11:03:27 +01:00
Sebastian Huber
75b706fde4 Update to FreeBSD head 2016-12-10
Git mirror commit 80c55f08a05ab3b26a73b226ccb56adc3122a55c.
2017-01-10 09:53:34 +01:00
Sebastian Huber
c40e45b75e Update to FreeBSD head 2016-08-23
Git mirror commit 9fe7c416e6abb28b1398fd3e5687099846800cfd.
2017-01-10 09:53:31 +01:00
Sebastian Huber
750b2d4294 Workaround for <sys/event.h> update 2017-01-09 14:54:21 +01:00
Kevin Kirspel
b1580fb039 PIPE(2): Port to RTEMS 2016-12-23 08:26:14 +01:00
Kevin Kirspel
6959face72 PIPE(2): Import from FreeBSD 2016-12-23 08:24:12 +01:00
Sebastian Huber
cfec446525 SLEEPQUEUE(9): Properly remove timeout timer 2016-11-24 09:49:08 +01:00
Sebastian Huber
616ffa9668 Use _Thread_Dispatch_direct() 2016-11-24 09:49:08 +01:00
Sebastian Huber
c418b7a213 Fix mbuf_jumbo_alloc() 2016-11-14 10:54:04 +01:00
Sebastian Huber
cf882982fa Prepare copyiniov() for FreeBSD update 2016-10-26 14:14:05 +02:00
Sebastian Huber
2c44b51475 Use _Thread_Get_priority() 2016-09-22 07:21:54 +02:00
Christian Mauderer
9a01ebf7d7 kern_conf.c: Adapt for RTEMS. 2016-08-01 14:02:04 +02:00
Christian Mauderer
6c0cfc2173 kern_conf.c: Import from FreeBSD. 2016-08-01 14:02:04 +02:00
Chris Johns
b6c170f713 kern/sleepqueue: Update due to API changes 2016-07-28 12:19:01 +10:00
Chris Johns
a0ea5f8710 Revert "kern/sleepqueue: Update due to API changes"
This reverts commit 1bf6529d195848be4f70b091a0a5071b1c08239a.

It changes FreeBSD whitespace.
2016-07-28 12:17:08 +10:00
Chris Johns
1bf6529d19 kern/sleepqueue: Update due to API changes 2016-07-28 12:16:09 +10:00
Chris Johns
9835790270 Enable device sysctl. 2016-06-27 21:24:03 +10:00
Sebastian Huber
32fd702138 Update due to RTEMS printer API changes 2016-06-23 14:08:02 +02:00
Sebastian Huber
3d1e767c8f Directly use <sys/types.h> provided by Newlib 2016-05-30 16:06:41 +02:00
Sebastian Huber
2017a6df2b Directly use <sys/time.h> provided by Newlib 2016-05-30 16:06:41 +02:00
Sebastian Huber
43a14eba2e Update due to API changes 2016-05-25 13:11:59 +02:00
Sebastian Huber
356f59c898 kvprintf: Add support for %m 2016-05-06 14:07:34 +02:00
Sebastian Huber
54a577d44f subr_prf.c: Port to RTEMS 2016-05-06 14:07:31 +02:00
Sebastian Huber
469db421d3 subr_prf.c: Import from FreeBSD 2016-05-06 13:44:43 +02:00
Chris Johns
7b8f3362ae Remove debug output. 2016-04-28 13:49:40 +10:00
Sebastian Huber
7d0050d921 Fix fp initializaiton in kern_sendit()
Bug introduced by 22257c7d81148e5b78027116e07627a54f4efb95.
2016-04-25 11:26:58 +02:00
Chris Johns
e1e10cddee waf: Add the ability to set FreeBSD options on the configure command line.
Add --freebsd-options to add specific FreeBSD compile time options to
the build. This is a developer tool.
2016-04-23 17:37:27 +10:00
Sebastian Huber
22257c7d81 Avoid use of cap_rights_t 2016-04-18 15:06:41 +02:00
Sebastian Huber
a336c46301 Update due to Watchdog Handler changes 2016-03-14 09:25:51 +01:00
Sebastian Huber
96bf77b2f9 Fix heap corruption in UNIX domain socket connect
Update #2558.
2016-02-02 08:06:44 +01:00
Sebastian Huber
dd96574e45 SOCKETPAIR(2): Port to RTEMS 2015-11-16 09:52:50 +01:00
Sebastian Huber
495a768f99 ZONE(9): Fix slab flag handling
Disable unused slab flags.
2015-09-11 11:50:44 +02:00
Sebastian Huber
9199609cea DEVICE.HINTS(5): Enable resource_disabled() 2015-07-31 12:55:17 +02:00
Sebastian Huber
595b333ad2 Add INVARIANTS support 2015-05-20 15:03:32 +02:00
Sebastian Huber
e65165bc2c SLEEPQUEUE(9): Update due to RTEMS API changes 2015-05-20 10:13:49 +02:00
Sebastian Huber
f2cb584a61 Update rtems_bsd_force_select_timeout() 2015-05-20 09:58:22 +02:00
Sebastian Huber
1ee85a59b7 SLEEPQUEUE(9): Update due to API changes 2015-05-20 09:58:22 +02:00