summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/kern/kern_timeout.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Separate libbsd and RTEMS clock ticksSebastian Huber2019-05-151-1/+4
|
* CONFIG_INTRHOOK(9): Port to RTEMSSebastian Huber2018-09-251-2/+10
| | | | | | | | | Some device drivers (e.g. MMC) need a complex intialization with working callouts. Remove the dummy CONFIG_INTRHOOK() implementation and replace it with the real one from FreeBSD. Make sure TIMEOUT(9) services work at this point. Update #3525.
* Update to FreeBSD head 2017-12-01Sebastian Huber2018-09-211-5/+7
| | | | | | Git mirror commit e724f51f811a4b2bd29447f8b85ab5c2f9b88266. Update #3472.
* Update to FreeBSD head 2017-06-01Sebastian Huber2018-09-211-1/+1
| | | | | | Git mirror commit dfb26efac4ce9101dda240e94d9ab53f80a9e131. Update #3472.
* Optimize callout handline via static timer wheelSebastian Huber2018-09-171-1/+17
| | | | | | | The number of callouts is a compile-time constant in libbsd. Use this in struct callout_cpu and avoid dynamic allocation of tables. This signficantly reduces the count of load instructions in the callout handling.
* Remove struct callout::c_cpuSebastian Huber2018-09-171-1/+23
| | | | | This is an optimization of the callout handling. In libbsd all callouts are handled by the one and only timer server.
* Make sure CALLOUT_DFRMIGRATION is not usedSebastian Huber2018-07-261-10/+21
| | | | | This flag supports the callout migration in FreeBSD. This feature is not supported by libbsd.
* Make sure CALLOUT_PROCESSED is not usedSebastian Huber2018-07-261-0/+2
| | | | | This flag is only used in combination with the callout expire list, which we do not use in libbsd.
* Critical bug fix for calloutsSebastian Huber2018-07-261-1/+31
| | | | | | | | FreeBSD has two callout executors, one in software and one in hardware interrupt context. In libbsd, all callouts are executed by the timer server. Entirely remove the different execution contexts for libbsd. Previously, this was not properly done which could result an invalid callout_drain() sequence leading to system memory corruption.
* Use <sys/lock.h> provided by NewlibSebastian Huber2017-06-081-1/+1
|
* Update due to Newlib 2017-06-07 changesSebastian Huber2017-06-081-1/+1
| | | | | | | | | | | | | | | | | 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.
* Update to FreeBSD head 2017-04-04Sebastian Huber2017-04-041-2/+6
| | | | Git mirror commit 642b174daddbd0efd9bb5f242c43f4ab4db6869f.
* Update to FreeBSD head 2016-12-10Sebastian Huber2017-01-101-1/+3
| | | | Git mirror commit 80c55f08a05ab3b26a73b226ccb56adc3122a55c.
* Update to FreeBSD head 2016-08-23Sebastian Huber2017-01-101-396/+940
| | | | Git mirror commit 9fe7c416e6abb28b1398fd3e5687099846800cfd.
* Add INVARIANTS supportSebastian Huber2015-05-201-0/+4
|
* Update to FreeBSD 9.3Sebastian Huber2015-02-131-8/+8
|
* TIMEOUT(9): Start callout timer laterSebastian Huber2013-11-131-13/+23
| | | | This avoid race conditions during initialization.
* Update to FreeBSD 9.2Sebastian Huber2013-11-111-44/+82
|
* Reduce divergence from FreeBSD sourcesSebastian Huber2013-11-111-2/+2
|
* Rename rtems-bsd-config.hSebastian Huber2013-11-111-1/+1
| | | | Rename rtems-bsd-config.h in rtems-bsd-kernel-space.h.
* Update to FreeBSD 8.4Sebastian Huber2013-11-041-162/+362
|
* TIMEOUT(9): Support callout_drain()Sebastian Huber2013-10-311-2/+10
|
* TIMEOUT(9): Use timer server for callout_tick()Sebastian Huber2013-10-311-0/+21
|
* Move TIMEOUT(9) and ZONE(9) initializationSebastian Huber2013-10-311-0/+27
| | | | Delete most of virtual memory support.
* Update files to match FreeBSD layoutSebastian Huber2013-10-101-20/+20
| | | | | | | | | | | | | | | | | | | Add compatibility with Newlib header files. Some FreeBSD header files are mapped by the translation script: o rtems/bsd/sys/_types.h o rtems/bsd/sys/errno.h o rtems/bsd/sys/lock.h o rtems/bsd/sys/param.h o rtems/bsd/sys/resource.h o rtems/bsd/sys/time.h o rtems/bsd/sys/timespec.h o rtems/bsd/sys/types.h o rtems/bsd/sys/unistd.h It is now possible to include <sys/socket.h> directly for example. Generate one Makefile which builds everything including tests.
* Move files to match FreeBSD layoutSebastian Huber2013-10-101-0/+927