summaryrefslogtreecommitdiffstats
path: root/rtemsbsd (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-10-25Update to FreeBSD head 2018-10-23Sebastian Huber3-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.
2018-10-23Fix redefinition warningsSebastian Huber1-4/+0
2018-10-23pppd: Fix use of uninitialized stack variablesSebastian Huber1-3/+3
2018-10-10Use global stdout for kernel output and syslog()Sebastian Huber1-7/+19
2018-10-10Fix syslog() priority handlingSebastian Huber1-10/+30
Ths syslog priority is a mask not a level.
2018-10-02Fix typo (RTEMS_BSD_MODULE_NET80211)Sebastian Huber1-2/+2
2018-10-02telnetd: Update due to API changesSebastian Huber1-7/+2
Update #3526.
2018-09-27Add PHY-driver for KSZ8091RNB with 50MHz.Christian Mauderer1-0/+186
This adds a driver for the KSZ8091RNB PHY. This PHY needs some special treatment if it is clocked with a 50MHz clock.
2018-09-25fsl_sdhci.c: Port to RTEMSSebastian Huber1-0/+3
Update #3525.
2018-09-25imx/imx_gpio.c: Port to RTEMSSebastian Huber1-0/+2
Update #3525.
2018-09-25Update gpio interfaceSebastian Huber2-10/+80
Update #3525.
2018-09-25CONFIG_INTRHOOK(9): Port to RTEMSSebastian Huber1-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.
2018-09-21if_ffec_mpc8xx: Fix incoming data invalidationSebastian Huber1-8/+4
With a write-back cache dirty cache lines may be evicted which could overwrite new data. Close #3523.
2018-09-21if_ffec_mpc8xx: Use M_NOWAIT for incoming framesSebastian Huber1-22/+32
Update #3523.
2018-09-21if_ffec_mpc8xx: New MDIO driver supportSebastian Huber2-172/+129
Update #3523.
2018-09-21if_ffec_mpc8xx: Port driver to libbsdSebastian Huber2-223/+186
Update #3523.
2018-09-21if_ffec_mpc8xx: Import legacy driver from RTEMSSebastian Huber1-0/+1248
Imported from RTEMS commit 1fe1b820de02c274c2b2b3431340152734ee9fb6 (2018-09-12). Update #3523.
2018-09-21Update to FreeBSD head 2018-09-17Sebastian Huber18-129/+3069
Git mirror commit 6c2192b1ef8c50788c751f878552526800b1e319. Update #3472.
2018-09-21Update to FreeBSD head 2018-06-01Sebastian Huber7-38/+606
Git mirror commit fb63610a69b0eb7f69a201ba05c4c1a7a2739cf9. Update #3472.
2018-09-21Update to FreeBSD head 2018-04-01Sebastian Huber6-34/+189
Git mirror commit 8dfb1ccc26d1cea7e2529303003ff61f9f1784c4. Update #3472.
2018-09-21Update to FreeBSD head 2018-02-01Sebastian Huber15-60/+2755
Git mirror commit d079ae0442af8fa3cfd6d7ede190d04e64a2c0d4. Update #3472.
2018-09-21Update to FreeBSD head 2017-12-01Sebastian Huber9-23/+83
Git mirror commit e724f51f811a4b2bd29447f8b85ab5c2f9b88266. Update #3472.
2018-09-21Update to FreeBSD head 2017-10-01Sebastian Huber4-21/+53
Git mirror commit b2f0376b45428f13151d229c5ae9d4d8f74acbd1. Update #3472.
2018-09-21Update to FreeBSD head 2017-08-01Sebastian Huber8-9/+107
Git mirror commit f5002f5e5f78cae9f0269d812dc0aedb0339312c. Update #3472.
2018-09-21Update to FreeBSD head 2017-06-01Sebastian Huber3-24/+16
Git mirror commit dfb26efac4ce9101dda240e94d9ab53f80a9e131. Update #3472.
2018-09-20mDNSResponder: Update to v765.1.2Sebastian Huber1-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.
2018-09-20mDNSResponder: Increase stack sizeSebastian Huber1-1/+1
The current stack size was insuffient on a test run of the foobarclient test program. Update #3522.
2018-09-20mDNSResponder: Use FPU enabled taskSebastian Huber1-1/+1
2018-09-17Remove <poll.h>Sebastian Huber1-1/+0
This header file is provided by RTEMS.
2018-09-17Optimize callout handline via static timer wheelSebastian Huber1-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.
2018-09-12Initialize interrupt server earlierSebastian Huber1-1/+1
This allows to initialize other basic services which depend on the interrupt server.
2018-09-12Move dynamic mutex pool to separate fileSebastian Huber1-0/+52
This avoids false link-time dependencies.
2018-09-12Fix BUS_SPACE_MAXADDR for 64-bit targetsSebastian Huber1-2/+2
2018-09-11Use rtems_counter_read() for get_cyclecount()Sebastian Huber1-3/+4
2018-09-11dw_mmc: Avoid conflicting device ivarsSebastian Huber1-2/+1
Do not overwrite the device ivars used by the simplebus. Use unspecified unit number for child device.
2018-09-10vprintf: Avoid printf() to avoid FPU usageSebastian Huber1-3/+11
2018-08-27Add FreeBSD kernel space header filesSebastian Huber2-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.
2018-08-24IPFW(4): Remove FreeBSD importSebastian Huber1-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.
2018-08-24Update rtems-bsd-kernel-namespace.hSebastian Huber1-2/+435
Update #3472.
2018-08-24Update due to <sys/time.h> API changesSebastian Huber1-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.
2018-08-02rc.conf: Fix cloned interface setup.Christian Mauderer1-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.
2018-08-02Add RTEMS_BSD_CONFIG_IPSEC.Christian Mauderer2-0/+27
2018-08-02Add ipsec to rc.conf.Christian Mauderer4-0/+408
2018-08-02ipsec-tools: Port libipsec, setkey and racoon.Christian Mauderer7-4/+206
Note that this replaces the libipsec from FreeBSD with the one provided by ipsec-tools.
2018-08-01if_ipsec: Port and add to everything-buildset.Christian Mauderer1-0/+5
This ports the kernel space parts for ipsec and adds them to the everything-buildset.
2018-07-04Avoid malloc() in getsockaddr()Sebastian Huber1-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.
2018-06-05beagle: Disable WiFi if libbsd is build without it.Christian Mauderer1-0/+3
Update #3351.
2018-05-08dhcpcd: Add hooksSebastian Huber1-0/+26
2018-05-08dhcpcd: Add rtems_dhcpcd_start()Sebastian Huber5-68/+178
Use it throughout to start the DHCP client (dhcpcd).
2018-05-08rc_conf: Do not create directories used by dhcpcdSebastian Huber1-12/+0
The dhcpcd will create the directories on its own.