summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/include/machine (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-08-11fbd: Port to RTEMSVijay Kumar Banerjee2-0/+21
2019-08-11TDA19988: Port to RTEMSVijay Kumar Banerjee1-0/+65
2019-08-11Pinmux: Port to RTEMSVijay Kumar Banerjee1-0/+9
2019-07-27Add mmapVijay Kumar Banerjee1-0/+2
2019-07-05SLEEPQUEUE(9): Fix timeout handlingSebastian Huber1-0/+2
2019-06-29i2c tool : port to RTEMSVijay Kumar Banerjee1-0/+2
2019-06-29iicbus: port to RTEMSVijay Kumar Banerjee1-0/+29
2019-06-05Add RTEMS-specific getcredhostuuid()Sebastian Huber1-0/+1
2019-05-15Separate libbsd and RTEMS clock ticksSebastian Huber1-0/+1
2019-05-13Remove unused maxusersSebastian Huber1-1/+0
2019-05-13Remove jail/prison functions from namespaceSebastian Huber1-21/+0
2019-05-13Add wrapper for abort()Sebastian Huber1-2/+7
2019-04-11Update due to API changesSebastian Huber1-2/+2
2019-03-29Revert "Add BURN_BRIDGES global kernel option"Sebastian Huber1-5/+0
This reverts commit 0904e3371406d2775cba848da441e00fd1ef1ef6.
2019-03-28Add BURN_BRIDGES global kernel optionSebastian Huber1-0/+5
2019-03-27bin/openssl: Port to RTEMS.Christian Mauderer1-0/+2
2019-02-18Fix atomic_load_32()Sebastian Huber1-1/+1
2019-02-12ZONE(9): Fix UMA_PCPU_ALLOC_SIZESebastian Huber1-2/+2
Using CACHE_LINE_SIZE for UMA_PCPU_ALLOC_SIZE was a huge memory waste since the backend memory allocator is page based.
2019-02-11atomic.h: Add atomic_fetchadd_64()Sebastian Huber1-0/+26
2019-02-11atomic.h: Add atomic_load_32()Sebastian Huber1-0/+21
2018-12-20Update rtems-bsd-kernel-namespace.hSebastian Huber1-1/+26
2018-11-15Update to FreeBSD head 2018-11-15Sebastian Huber1-1/+16
Git mirror commit a18b0830c4be01b39489a891b63d6023ada6358a. Update #3472.
2018-11-15Disable or make static kern_* functionsSebastian Huber1-9/+0
2018-11-15mutex: Avoid NULL pointer access in panic()Sebastian Huber1-1/+2
2018-10-23Fix redefinition warningsSebastian Huber1-4/+0
2018-09-21Update to FreeBSD head 2018-09-17Sebastian Huber1-17/+85
Git mirror commit 6c2192b1ef8c50788c751f878552526800b1e319. Update #3472.
2018-09-21Update to FreeBSD head 2018-06-01Sebastian Huber2-35/+113
Git mirror commit fb63610a69b0eb7f69a201ba05c4c1a7a2739cf9. Update #3472.
2018-09-21Update to FreeBSD head 2018-04-01Sebastian Huber1-8/+30
Git mirror commit 8dfb1ccc26d1cea7e2529303003ff61f9f1784c4. Update #3472.
2018-09-21Update to FreeBSD head 2018-02-01Sebastian Huber4-2/+51
Git mirror commit d079ae0442af8fa3cfd6d7ede190d04e64a2c0d4. Update #3472.
2018-09-21Update to FreeBSD head 2017-12-01Sebastian Huber2-6/+24
Git mirror commit e724f51f811a4b2bd29447f8b85ab5c2f9b88266. Update #3472.
2018-09-21Update to FreeBSD head 2017-10-01Sebastian Huber1-1/+3
Git mirror commit b2f0376b45428f13151d229c5ae9d4d8f74acbd1. Update #3472.
2018-09-21Update to FreeBSD head 2017-08-01Sebastian Huber1-6/+20
Git mirror commit f5002f5e5f78cae9f0269d812dc0aedb0339312c. Update #3472.
2018-09-21Update to FreeBSD head 2017-06-01Sebastian Huber1-22/+12
Git mirror commit dfb26efac4ce9101dda240e94d9ab53f80a9e131. Update #3472.
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-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-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-02Add RTEMS_BSD_CONFIG_IPSEC.Christian Mauderer2-0/+27
2018-08-02Add ipsec to rc.conf.Christian Mauderer1-0/+2
2018-08-02ipsec-tools: Port libipsec, setkey and racoon.Christian Mauderer2-0/+56
Note that this replaces the libipsec from FreeBSD with the one provided by ipsec-tools.
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-05-08dhcpcd: Add rtems_dhcpcd_start()Sebastian Huber1-2/+0
Use it throughout to start the DHCP client (dhcpcd).
2018-05-03buildset: Add minimal and everything config.Christian Mauderer1-0/+1
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.
2018-03-13mutex: Use panic() after ISR lock releaseSebastian Huber1-3/+18
Using panic() with interrupts disabled could lead to an additional error (INTERNAL_ERROR_BAD_THREAD_DISPATCH_ENVIRONMENT) due to a potentially blocking output.
2018-02-06Add device tree support for Altera/Intel Cyclone VSebastian Huber1-47/+18
Close #3290.
2017-11-17Revert "RWLOCK(9): Add reader/writer lock implementation"Sebastian Huber2-489/+0
This was accidentally committed. This reverts commit 97a98f6cd767b3a68279890488c7b451788f84f4.
2017-11-16RWLOCK(9): Add reader/writer lock implementationSebastian Huber2-0/+489
2017-11-16LOCKING(9): Update to current FreeBSD versionSebastian Huber1-23/+51