summaryrefslogtreecommitdiffstats
path: root/rtemsbsd (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Update to FreeBSD head 2018-10-23Sebastian Huber2018-10-253-0/+14
| | | | | | | | | | | 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.
* Fix redefinition warningsSebastian Huber2018-10-231-4/+0
|
* pppd: Fix use of uninitialized stack variablesSebastian Huber2018-10-231-3/+3
|
* Use global stdout for kernel output and syslog()Sebastian Huber2018-10-101-7/+19
|
* Fix syslog() priority handlingSebastian Huber2018-10-101-10/+30
| | | | Ths syslog priority is a mask not a level.
* Fix typo (RTEMS_BSD_MODULE_NET80211)Sebastian Huber2018-10-021-2/+2
|
* telnetd: Update due to API changesSebastian Huber2018-10-021-7/+2
| | | | Update #3526.
* Add PHY-driver for KSZ8091RNB with 50MHz.Christian Mauderer2018-09-271-0/+186
| | | | | This adds a driver for the KSZ8091RNB PHY. This PHY needs some special treatment if it is clocked with a 50MHz clock.
* fsl_sdhci.c: Port to RTEMSSebastian Huber2018-09-251-0/+3
| | | | Update #3525.
* imx/imx_gpio.c: Port to RTEMSSebastian Huber2018-09-251-0/+2
| | | | Update #3525.
* Update gpio interfaceSebastian Huber2018-09-252-10/+80
| | | | Update #3525.
* CONFIG_INTRHOOK(9): Port to RTEMSSebastian Huber2018-09-251-58/+0
| | | | | | | | | 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.
* if_ffec_mpc8xx: Fix incoming data invalidationSebastian Huber2018-09-211-8/+4
| | | | | | | With a write-back cache dirty cache lines may be evicted which could overwrite new data. Close #3523.
* if_ffec_mpc8xx: Use M_NOWAIT for incoming framesSebastian Huber2018-09-211-22/+32
| | | | Update #3523.
* if_ffec_mpc8xx: New MDIO driver supportSebastian Huber2018-09-212-172/+129
| | | | Update #3523.
* if_ffec_mpc8xx: Port driver to libbsdSebastian Huber2018-09-212-223/+186
| | | | Update #3523.
* if_ffec_mpc8xx: Import legacy driver from RTEMSSebastian Huber2018-09-211-0/+1248
| | | | | | | Imported from RTEMS commit 1fe1b820de02c274c2b2b3431340152734ee9fb6 (2018-09-12). Update #3523.
* Update to FreeBSD head 2018-09-17Sebastian Huber2018-09-2118-129/+3069
| | | | | | Git mirror commit 6c2192b1ef8c50788c751f878552526800b1e319. Update #3472.
* Update to FreeBSD head 2018-06-01Sebastian Huber2018-09-217-38/+606
| | | | | | Git mirror commit fb63610a69b0eb7f69a201ba05c4c1a7a2739cf9. Update #3472.
* Update to FreeBSD head 2018-04-01Sebastian Huber2018-09-216-34/+189
| | | | | | Git mirror commit 8dfb1ccc26d1cea7e2529303003ff61f9f1784c4. Update #3472.
* Update to FreeBSD head 2018-02-01Sebastian Huber2018-09-2115-60/+2755
| | | | | | Git mirror commit d079ae0442af8fa3cfd6d7ede190d04e64a2c0d4. Update #3472.
* Update to FreeBSD head 2017-12-01Sebastian Huber2018-09-219-23/+83
| | | | | | Git mirror commit e724f51f811a4b2bd29447f8b85ab5c2f9b88266. Update #3472.
* Update to FreeBSD head 2017-10-01Sebastian Huber2018-09-214-21/+53
| | | | | | Git mirror commit b2f0376b45428f13151d229c5ae9d4d8f74acbd1. Update #3472.
* Update to FreeBSD head 2017-08-01Sebastian Huber2018-09-218-9/+107
| | | | | | Git mirror commit f5002f5e5f78cae9f0269d812dc0aedb0339312c. Update #3472.
* Update to FreeBSD head 2017-06-01Sebastian Huber2018-09-213-24/+16
| | | | | | Git mirror commit dfb26efac4ce9101dda240e94d9ab53f80a9e131. Update #3472.
* mDNSResponder: Update to v765.1.2Sebastian Huber2018-09-201-0/+314
| | | | | | | | | | | | | The sources can be obtained via: https://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-765.1.2.tar.gz Move mDNS_StartResolveService() and mDNS_StopResolveService() to an RTEMS-specific file (rtemsbsd/mdns/mDNSResolveService.c) using the v576.30.4 implementation. Apple removed these functions without explanation. Update #3522.
* mDNSResponder: Increase stack sizeSebastian Huber2018-09-201-1/+1
| | | | | | | The current stack size was insuffient on a test run of the foobarclient test program. Update #3522.
* mDNSResponder: Use FPU enabled taskSebastian Huber2018-09-201-1/+1
|
* Remove <poll.h>Sebastian Huber2018-09-171-1/+0
| | | | This header file is provided by RTEMS.
* Optimize callout handline via static timer wheelSebastian Huber2018-09-171-2/+0
| | | | | | | 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.
* Initialize interrupt server earlierSebastian Huber2018-09-121-1/+1
| | | | | This allows to initialize other basic services which depend on the interrupt server.
* Move dynamic mutex pool to separate fileSebastian Huber2018-09-121-0/+52
| | | | This avoids false link-time dependencies.
* Fix BUS_SPACE_MAXADDR for 64-bit targetsSebastian Huber2018-09-121-2/+2
|
* Use rtems_counter_read() for get_cyclecount()Sebastian Huber2018-09-111-3/+4
|
* dw_mmc: Avoid conflicting device ivarsSebastian Huber2018-09-111-2/+1
| | | | | Do not overwrite the device ivars used by the simplebus. Use unspecified unit number for child device.
* vprintf: Avoid printf() to avoid FPU usageSebastian Huber2018-09-101-3/+11
|
* Add FreeBSD kernel space header filesSebastian Huber2018-08-272-0/+131
| | | | | | | | Move the kernel space content of some Newlib provided header files to RTEMS and libbsd. This allows to use the Newlib provided header files with different FreeBSD baselines. Update #3472.
* IPFW(4): Remove FreeBSD importSebastian Huber2018-08-241-175/+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.
* Update rtems-bsd-kernel-namespace.hSebastian Huber2018-08-241-2/+435
| | | | Update #3472.
* Update due to <sys/time.h> API changesSebastian Huber2018-08-241-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* rc.conf: Fix cloned interface setup.Christian Mauderer2018-08-021-1/+2
| | | | | | The cloned interfaces have to be set up befor the interface list is created. Otherwise it's not possible to configure a cloned interface with a `ifconfig_gifX` line.
* Add RTEMS_BSD_CONFIG_IPSEC.Christian Mauderer2018-08-022-0/+27
|
* Add ipsec to rc.conf.Christian Mauderer2018-08-024-0/+408
|
* ipsec-tools: Port libipsec, setkey and racoon.Christian Mauderer2018-08-027-4/+206
| | | | | 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/+5
| | | | | This ports the kernel space parts for ipsec and adds them to the everything-buildset.
* Avoid malloc() in getsockaddr()Sebastian Huber2018-07-041-1/+0
| | | | | | | | | | | | | | | | 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.
* beagle: Disable WiFi if libbsd is build without it.Christian Mauderer2018-06-051-0/+3
| | | | Update #3351.
* dhcpcd: Add hooksSebastian Huber2018-05-081-0/+26
|
* dhcpcd: Add rtems_dhcpcd_start()Sebastian Huber2018-05-085-68/+178
| | | | Use it throughout to start the DHCP client (dhcpcd).
* rc_conf: Do not create directories used by dhcpcdSebastian Huber2018-05-081-12/+0
| | | | The dhcpcd will create the directories on its own.