35 Commits

Author SHA1 Message Date
Sebastian Huber
a5ddb0ea69 Update to FreeBSD head 2019-09-24
Git mirror commit 6b0307a0a5184339393f555d5d424190d8a8277a.
2019-11-13 10:47:04 +01:00
Sebastian Huber
abbce3f757 SLEEPQUEUE(9): Optimize sleepq_set_timeout_sbt()
Avoid an extra ISR disable/enable in SMP configurations.
2019-08-26 08:18:13 +02:00
Sebastian Huber
313e1d5f1c SLEEPQUEUE(9): Fix timeout handling 2019-07-05 10:20:18 +02:00
Sebastian Huber
c727e4a22e Separate libbsd and RTEMS clock ticks 2019-05-15 12:43:06 +02:00
Christian Mauderer
e3b595273a SLEEPQUEUE(9): Fix typo that prevent non-SMP build. 2018-12-19 10:41:47 +01:00
Sebastian Huber
1b47c61d2b SLEEPQUEUE(9): SMP only cache line alignment 2018-12-14 10:37:26 +01:00
Sebastian Huber
bcdce02d9b Update to FreeBSD head 2018-06-01
Git mirror commit fb63610a69b0eb7f69a201ba05c4c1a7a2739cf9.

Update #3472.
2018-09-21 10:29:41 +02:00
Sebastian Huber
2df56dbd60 Update to FreeBSD head 2018-04-01
Git mirror commit 8dfb1ccc26d1cea7e2529303003ff61f9f1784c4.

Update #3472.
2018-09-21 10:29:40 +02:00
Sebastian Huber
18fa92c2dc Update to FreeBSD head 2018-02-01
Git mirror commit d079ae0442af8fa3cfd6d7ede190d04e64a2c0d4.

Update #3472.
2018-09-21 10:29:39 +02:00
Sebastian Huber
bb80d9df8b Update to FreeBSD head 2017-12-01
Git mirror commit e724f51f811a4b2bd29447f8b85ab5c2f9b88266.

Update #3472.
2018-09-21 10:29:38 +02:00
Sebastian Huber
a0633c51db SLEEPQUEUE(9): Update due to API changes
Update #3264.
2018-02-05 10:56:39 +01:00
Sebastian Huber
9a583a94d3 SLEEPQUEUE(9): Update due to API changes
Update #3117.
Update #3182.
2017-10-17 13:56:38 +02:00
Sebastian Huber
3c967ca238 Use <sys/lock.h> provided by Newlib 2017-06-08 13:20:09 +02:00
Sebastian Huber
02373194fe Update due to Newlib 2017-06-07 changes
The following files are now provided by Newlib:

  * arpa/inet.h
  * net/if.h
  * netinet/in.h
  * netinet/tcp.h
  * sys/socket.h
  * sys/uio.h
  * sys/un.h

The <sys/param.h> and <sys/cpuset.h> are now compatible enough to be
used directly.

Update #2833.
2017-06-08 13:19:54 +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
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
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
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
2c44b51475 Use _Thread_Get_priority() 2016-09-22 07:21:54 +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
Sebastian Huber
a336c46301 Update due to Watchdog Handler changes 2016-03-14 09:25:51 +01: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
1ee85a59b7 SLEEPQUEUE(9): Update due to API changes 2015-05-20 09:58:22 +02:00
Sebastian Huber
c2f2392028 SLEEPQUEUE(9): Avoid Giant lock 2015-05-20 09:58:22 +02:00
Sebastian Huber
67f84974ad SLEEPQUEUE(9): Update due to API changes 2015-04-23 14:56:08 +02:00
Sebastian Huber
8b722dba65 SLEEPQUEUE(9): Include missing header file 2015-04-08 07:58:52 +02:00
Sebastian Huber
8475e7aa0a SLEEPQUEUE(9): Port to RTEMS 2015-03-24 15:20:57 +01:00
Sebastian Huber
9975839a12 SLEEPQUEUE(9): Import from FreeBSD 2015-03-24 15:20:57 +01:00