summaryrefslogtreecommitdiffstats
path: root/freebsd (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* ck: No hardware barriers in uniprocessor configsSebastian Huber2018-09-213-4/+21
| | | | Update #3472.
* Update to FreeBSD head 2018-09-17Sebastian Huber2018-09-21562-13033/+25407
| | | | | | Git mirror commit 6c2192b1ef8c50788c751f878552526800b1e319. Update #3472.
* ck: Define CK_MD_PPC32_LWSYNC if availableSebastian Huber2018-09-211-0/+4
| | | | | | This is option has a huge performance impact. Update #3472.
* ck: Use atomic built-insSebastian Huber2018-09-211-10/+13
| | | | Update #3472.
* Update to FreeBSD head 2018-06-01Sebastian Huber2018-09-21327-11780/+24188
| | | | | | Git mirror commit fb63610a69b0eb7f69a201ba05c4c1a7a2739cf9. Update #3472.
* Update to FreeBSD head 2018-04-01Sebastian Huber2018-09-21319-3442/+6452
| | | | | | Git mirror commit 8dfb1ccc26d1cea7e2529303003ff61f9f1784c4. Update #3472.
* Update to FreeBSD head 2018-02-01Sebastian Huber2018-09-21344-5806/+6332
| | | | | | Git mirror commit d079ae0442af8fa3cfd6d7ede190d04e64a2c0d4. Update #3472.
* Update to FreeBSD head 2017-12-01Sebastian Huber2018-09-211186-2494/+6438
| | | | | | Git mirror commit e724f51f811a4b2bd29447f8b85ab5c2f9b88266. Update #3472.
* Update to FreeBSD head 2017-10-01Sebastian Huber2018-09-21158-1382/+2548
| | | | | | Git mirror commit b2f0376b45428f13151d229c5ae9d4d8f74acbd1. Update #3472.
* Update to FreeBSD head 2017-08-01Sebastian Huber2018-09-21159-3195/+6687
| | | | | | Git mirror commit f5002f5e5f78cae9f0269d812dc0aedb0339312c. Update #3472.
* Update to FreeBSD head 2017-06-01Sebastian Huber2018-09-21252-2574/+3891
| | | | | | 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-172-1/+25
| | | | | This is an optimization of the callout handling. In libbsd all callouts are handled by the one and only timer server.
* Regenerate program header filesSebastian Huber2018-08-2855-937/+921
|
* Update yacc and lex generated filesSebastian Huber2018-08-284-795/+585
| | | | | | Use the FreeBSD 11.1 yacc and lex tools to generate the files. Update #3472.
* kvaddr_t is now provided by <sys/types.h>Sebastian Huber2018-08-281-0/+2
| | | | Update #3472.
* WPA_SUPPLICANT(8): Remove unused filesSebastian Huber2018-08-242-4222/+0
| | | | | | | Remove unused files which may make trouble during FreeBSD baseline updates. It also increased the compile-time of the library for nothing. Update #3472.
* IPFW(4): Remove FreeBSD importSebastian Huber2018-08-2436-30326/+0
| | | | | | | | This firewall was not ported to RTEMS and is just dead code which may make trouble during FreeBSD baseline updates. It also increased the compile-time of the library for nothing. Update #3472.
* Fix alignment of getsockaddr_sockaddrSebastian Huber2018-08-241-1/+1
|
* Update due to <sys/time.h> API changesSebastian Huber2018-08-242-11/+12
| | | | | | | | | | | | | | | | | | | | | | | | | Changes correspond to FreeBSD commit: "Make timespecadd(3) and friends public The timespecadd(3) family of macros were imported from NetBSD back in r35029. However, they were initially guarded by #ifdef _KERNEL. In the meantime, we have grown at least 28 syscalls that use timespecs in some way, leading many programs both inside and outside of the base system to redefine those macros. It's better just to make the definitions public. Our kernel currently defines two-argument versions of timespecadd and timespecsub. NetBSD, OpenBSD, and FreeDesktop.org's libbsd, however, define three-argument versions. Solaris also defines a three-argument version, but only in its kernel. This revision changes our definition to match the common three-argument version. Bump _FreeBSD_version due to the breaking KPI change. Discussed with: cem, jilles, ian, bde Differential Revision: https://reviews.freebsd.org/D14725" Update #3472.
* libkern.h: Avoid call overhead for bcmp()Sebastian Huber2018-08-091-0/+4
|
* ipsec-tools: Port libipsec, setkey and racoon.Christian Mauderer2018-08-0212-7099/+0
| | | | | Note that this replaces the libipsec from FreeBSD with the one provided by ipsec-tools.
* if_ipsec: Port and add to everything-buildset.Christian Mauderer2018-08-011-0/+4
| | | | | This ports the kernel space parts for ipsec and adds them to the everything-buildset.
* if_ipsec: Import from FreeBSD.Christian Mauderer2018-08-012-0/+1043
|
* random: Implement read_random via getentropy.Christian Mauderer2018-08-011-0/+10
|
* crypto/sha2: Remove left over file.Christian Mauderer2018-08-011-141/+0
| | | | This file seems to be imported from a long gone version.
* Make sure CALLOUT_DFRMIGRATION is not usedSebastian Huber2018-07-262-11/+22
| | | | | This flag supports the callout migration in FreeBSD. This feature is not supported by libbsd.
* Make sure CALLOUT_PROCESSED is not usedSebastian Huber2018-07-262-1/+3
| | | | | 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-262-1/+33
| | | | | | | | 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.
* Fix sporadic test failures via uma_timeout()Sebastian Huber2018-07-262-0/+15
|
* Avoid malloc() in getsockaddr()Sebastian Huber2018-07-042-0/+47
| | | | | | | | | | | | | | | | 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.
* BPF(9): Pass flags to bpfopen()Nicolas Tsiogkas2018-07-041-1/+1
|
* pfctl: Undef INET6 to avoid warning.Christian Mauderer2018-05-032-415/+412
|
* buildset: Add minimal and everything config.Christian Mauderer2018-05-033-1/+7
| | | | | | | | | | | | This adds two new buildset configurations: One that leaves out as much features as possible and one that enables all features. For the default configuration WiFi support is now disabled. To disable IPv6 for the minimal configuration, all -DINET6 are eliminated in libbsd.py. They are now replaced by a #ifdef that checks for RTEMS_BSD_MODULE_NETINET6 instead. Close #3351.
* tcpdump: Remove unused file.Christian Mauderer2018-05-031-182/+0
|
* Use network services from RTEMSSebastian Huber2018-04-301-107/+0
| | | | Close #3419.
* at91_mci: Simplify XDMA usageSebastian Huber2018-04-271-43/+27
|
* at91_mci: Get rid of bounce bufferSebastian Huber2018-04-271-63/+57
|
* at91_mci: Use real interruptSebastian Huber2018-04-261-0/+51
| | | | | Execute at91_mci_intr() in interrupt context. Synchronize MMC requests via RTEMS interrupt lock.
* mmc: Optimize mmc_wait_for_req()Sebastian Huber2018-04-262-0/+19
| | | | | | Use a self-contained RTEMS binary semaphore instead of msleep() and wakeup(). This is itself more efficient and in addition allows the use of mmc_wakeup() in interrupt context.
* at91_mci: Fix use of BOARD_MCKSebastian Huber2018-04-261-1/+1
|
* at91_mci: Fix use of pre-processor definesSebastian Huber2018-04-261-1/+1
|
* CRYPTO(4): Port to RTEMSSebastian Huber2018-03-281-0/+75
|
* CRYPTO(4): Import from FreeBSDSebastian Huber2018-03-271-0/+1375
|
* DEVFS(5): Fix warningSebastian Huber2018-03-271-0/+3
|
* dwc_otg: Default to USB host modeSebastian Huber2018-02-061-0/+2
| | | | | | In case no "dr_mode" property is present in the device tree, then default to USB host mode. This is necessary to support the Cyclone V SoC Development Kit.
* dwc_otg: Add compatibility string, constifySebastian Huber2018-02-061-1/+2
| | | | Support device tree of Cyclone V SoC Development Kit.
* Add device tree support for Altera/Intel Cyclone VSebastian Huber2018-02-064-39/+273
| | | | Close #3290.
* SLEEPQUEUE(9): Update due to API changesSebastian Huber2018-02-051-1/+1
| | | | Update #3264.
* ZONE(9): Avoid function call overheadSebastian Huber2018-01-191-1/+3
|