summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/sys (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add mmapVijay Kumar Banerjee2019-07-271-1/+1
|
* Separate libbsd and RTEMS clock ticksSebastian Huber2019-05-151-9/+0
|
* Use static inline functions for jail and prisonSebastian Huber2019-05-131-0/+202
| | | | This helps the compiler to optimize away dead code.
* C++ compatibility for some kernel-space headersSebastian Huber2019-02-181-3/+3
|
* ZONE(9): Fix UMA_PCPU_ALLOC_SIZESebastian Huber2019-02-121-6/+4
| | | | | Using CACHE_LINE_SIZE for UMA_PCPU_ALLOC_SIZE was a huge memory waste since the backend memory allocator is page based.
* Fix INVARIANTS supportSebastian Huber2019-01-221-0/+5
|
* Update to FreeBSD head 2018-12-20Sebastian Huber2018-12-2020-41/+155
| | | | | | | | | | Git mirror commit 19a6ceb89dbacf74697d493e48c388767126d418. It includes an update of wpa_supplicant to version 2.7. It includes an update of the OpenSSL baseline to version 1.1.1a. Update #3472.
* blist: Fix u_daddr_t for 32-bit targetsSebastian Huber2018-11-271-0/+4
| | | | The daddr_t is defined in <sys/types.h> by Newlib as long.
* Update to FreeBSD head 2018-11-15Sebastian Huber2018-11-1516-173/+181
| | | | | | Git mirror commit a18b0830c4be01b39489a891b63d6023ada6358a. Update #3472.
* Update to FreeBSD head 2018-10-23Sebastian Huber2018-10-2520-120/+189
| | | | | | | | | | | Git mirror commit 59f44d20be3f99d181ca742e636d45fc39ec982b. This commit updates OpenSSL to version 1.1.1. This required an update of racoon which uses some internal stuff from OpenSSL and seems to be mostly unmaintained, e.g. there is update in the FreeBSD ports to cope with OpenSSL 1.1.1. Update #3472.
* Update to FreeBSD head 2018-09-17Sebastian Huber2018-09-2127-192/+437
| | | | | | Git mirror commit 6c2192b1ef8c50788c751f878552526800b1e319. Update #3472.
* Update to FreeBSD head 2018-06-01Sebastian Huber2018-09-2126-73/+311
| | | | | | Git mirror commit fb63610a69b0eb7f69a201ba05c4c1a7a2739cf9. Update #3472.
* Update to FreeBSD head 2018-04-01Sebastian Huber2018-09-2122-110/+348
| | | | | | Git mirror commit 8dfb1ccc26d1cea7e2529303003ff61f9f1784c4. Update #3472.
* Update to FreeBSD head 2018-02-01Sebastian Huber2018-09-2123-58/+396
| | | | | | Git mirror commit d079ae0442af8fa3cfd6d7ede190d04e64a2c0d4. Update #3472.
* Update to FreeBSD head 2017-12-01Sebastian Huber2018-09-21117-251/+722
| | | | | | Git mirror commit e724f51f811a4b2bd29447f8b85ab5c2f9b88266. Update #3472.
* Update to FreeBSD head 2017-10-01Sebastian Huber2018-09-2116-55/+168
| | | | | | Git mirror commit b2f0376b45428f13151d229c5ae9d4d8f74acbd1. Update #3472.
* Update to FreeBSD head 2017-08-01Sebastian Huber2018-09-2118-252/+229
| | | | | | Git mirror commit f5002f5e5f78cae9f0269d812dc0aedb0339312c. Update #3472.
* Update to FreeBSD head 2017-06-01Sebastian Huber2018-09-2116-226/+372
| | | | | | Git mirror commit dfb26efac4ce9101dda240e94d9ab53f80a9e131. Update #3472.
* Remove struct callout::c_cpuSebastian Huber2018-09-171-0/+2
| | | | | This is an optimization of the callout handling. In libbsd all callouts are handled by the one and only timer server.
* libkern.h: Avoid call overhead for bcmp()Sebastian Huber2018-08-091-0/+4
|
* random: Implement read_random via getentropy.Christian Mauderer2018-08-011-0/+10
|
* Make sure CALLOUT_DFRMIGRATION is not usedSebastian Huber2018-07-261-1/+1
| | | | | 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-1/+1
| | | | | 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-0/+2
| | | | | | | | 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.
* Avoid malloc() in getsockaddr()Sebastian Huber2018-07-041-0/+2
| | | | | | | | | | | | | | | | The getsockaddr() function is used to allocate a struct sockaddr of the right length and initialize it with userspace provided data. It is used for the connect(), bind() and sendit() family functions. In particular, the sendit() function is used by the UDP send functions. This means each UDP send needs a malloc() and free() invocation. This is a performance problem in RTEMS (first-fit heap) and may lead to heap fragmentation. Replace the malloc() allocation with a stack allocation. This requires SOCK_MAXADDRLEN (= 255) of additional stack space for libbsd. A further optimization would be to get rid of the stack copy of the socket address. However, this would require to check each consumer of the address to ensure that it is not modified.
* DEVICE(9): Fix __BUS_ACCESSOR()Sebastian Huber2018-01-081-2/+0
|
* Revert "RWLOCK(9): Add reader/writer lock implementation"Sebastian Huber2017-11-171-2/+2
| | | | | | This was accidentally committed. This reverts commit 97a98f6cd767b3a68279890488c7b451788f84f4.
* Revert "SX(9): Implement with reader/writer lock"Sebastian Huber2017-11-172-2/+5
| | | | | | This was accidentally committed. This reverts commit cc7a8d87e7307db738bf39ab1ca3ce1053f1c163.
* SX(9): Implement with reader/writer lockSebastian Huber2017-11-162-5/+2
|
* RWLOCK(9): Add reader/writer lock implementationSebastian Huber2017-11-161-2/+2
|
* Fix warningSebastian Huber2017-11-101-0/+2
|
* freebsd/bus: Check return value of bus_accessor.Christian Mauderer2017-11-101-0/+23
|
* Fix reference counting for file descriptorsSebastian Huber2017-11-102-1/+11
| | | | Update #3132.
* blist: Import from FreeBSDSebastian Huber2017-10-201-0/+104
|
* Fix INVARIANTS supportSebastian Huber2017-10-203-0/+9
|
* Support reference counting for file descriptorsSebastian Huber2017-09-152-23/+26
| | | | Close #3132.
* Include missing <string.h> and <limits.h>Sebastian Huber2017-08-251-0/+3
| | | | | | | Fix warnings. Update #2132. Update #2133.
* Import am335x usb driver file from FreeBSD.Sichen Zhao2017-07-132-0/+221
|
* libkern.h: Add ffsll()Sebastian Huber2017-07-101-3/+3
|
* libkern.h: Avoid conflict with <strings.h>Sebastian Huber2017-07-101-2/+13
|
* Use <sys/lock.h> provided by NewlibSebastian Huber2017-06-0814-15/+15
|
* Update due to Newlib 2017-06-07 changesSebastian Huber2017-06-0816-1095/+10
| | | | | | | | | | | | | | | | | 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.
* Redirect FREEBSD's kern_yield to RTEMS sched_yieldKevin Kirspel2017-05-191-1/+2
|
* Add bitcount inlinesfor RTEMS. These are found in FREEBSDs types.hKevin Kirspel2017-05-191-0/+3
|
* Add FREEBSD USB input device filesKevin Kirspel2017-05-191-0/+395
|
* Add FREEBSD keyboard driver filesKevin Kirspel2017-05-191-0/+269
|
* devfs: Fix some issuesKevin Kirspel2017-05-121-4/+3
| | | | | Fix issue with cdev private data usage with RTEMS iop structure. Add support for cdev alias device names. Add support for cdev fstat.
* Updating FREEBSD for tty supportKevin Kirspel2017-05-113-0/+8
|
* Adding tty support files from FREEBSD treeKevin Kirspel2017-05-112-0/+236
|
* Update to FreeBSD head 2017-04-04Sebastian Huber2017-04-0463-307/+823
| | | | Git mirror commit 642b174daddbd0efd9bb5f242c43f4ab4db6869f.