130 Commits

Author SHA1 Message Date
Sebastian Huber
3c967ca238 Use <sys/lock.h> provided by Newlib 2017-06-08 13:20:09 +02:00
Sebastian Huber
02373194fe Update due to Newlib 2017-06-07 changes
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.
2017-06-08 13:19:54 +02:00
Kevin Kirspel
427ee3e9eb Redirect FREEBSD's kern_yield to RTEMS sched_yield 2017-05-19 07:24:30 +02:00
Kevin Kirspel
fb2aa6ea99 Add bitcount inlinesfor RTEMS. These are found in FREEBSDs types.h 2017-05-19 07:24:30 +02:00
Kevin Kirspel
3e7de301c1 Add FREEBSD USB input device files 2017-05-19 07:24:29 +02:00
Kevin Kirspel
41d2784207 Add FREEBSD keyboard driver files 2017-05-19 07:24:29 +02:00
Kevin Kirspel
817cbf7201 devfs: Fix some issues
Fix issue with cdev private data usage with RTEMS iop structure. Add
support for cdev alias device names. Add support for cdev fstat.
2017-05-12 14:20:33 +02:00
Kevin Kirspel
4a8f953f62 Updating FREEBSD for tty support 2017-05-11 11:15:41 +02:00
Kevin Kirspel
f6c52e086d Adding tty support files from FREEBSD tree 2017-05-11 11:15:41 +02:00
Sebastian Huber
de8a76da2f Update to FreeBSD head 2017-04-04
Git mirror commit 642b174daddbd0efd9bb5f242c43f4ab4db6869f.
2017-04-04 14:46:23 +02:00
Sebastian Huber
f0dd0c506a FDT(4): Import from FreeBSD 2017-03-08 09:00:03 +01:00
Sebastian Huber
18a623e5b2 Provide strtoq() and strtouq() 2017-03-06 12:09:54 +01:00
Kevin Kirspel
ea395a736d Add ordered Nexus devices
Add support for ordering the initialization of Nexus devices. This can
be used to make sure a device is initialized before a dependant device.
2017-02-14 09:36:40 +01:00
Sebastian Huber
1fd5083234 SLEEPQUEUE(9): Add wmesg to thread wait info 2017-01-31 09:50:45 +01:00
Sebastian Huber
ee94f8a8ea rtems-bsd-mutex: Use thread queue name 2017-01-31 09:49:49 +01:00
Christian Mauderer
2e8dd24b7c firmware: Import from FreeBSD. 2017-01-17 12:50:57 +01:00
Sebastian Huber
172f2acb2b Use thread name support
Update #2858.
2017-01-13 09:20:43 +01:00
Sebastian Huber
0577772720 Update to FreeBSD head 2017-01-09
Git mirror commit 1f8e4a995a6ede4bdb24e6d335ccda2bdb0175ab.
2017-01-10 11:03:27 +01:00
Sebastian Huber
75b706fde4 Update to FreeBSD head 2016-12-10
Git mirror commit 80c55f08a05ab3b26a73b226ccb56adc3122a55c.
2017-01-10 09:53:34 +01:00
Sebastian Huber
b86b09782a Fix warings in <sys/seq.h> 2017-01-10 09:53:33 +01:00
Sebastian Huber
11750f1f83 Fix warnings in <sys/refcount.h> 2017-01-10 09:53:33 +01:00
Sebastian Huber
2956924a34 Fix atomic ops in <sys/buf_ring.h> 2017-01-10 09:53:33 +01:00
Sebastian Huber
c40e45b75e Update to FreeBSD head 2016-08-23
Git mirror commit 9fe7c416e6abb28b1398fd3e5687099846800cfd.
2017-01-10 09:53:31 +01:00
Kevin Kirspel
b1580fb039 PIPE(2): Port to RTEMS 2016-12-23 08:26:14 +01:00
Kevin Kirspel
6959face72 PIPE(2): Import from FreeBSD 2016-12-23 08:24:12 +01:00
Sebastian Huber
cc8f00d614 Fix warnings for linker sets 2016-11-09 09:56:01 +01:00
Sebastian Huber
617dc0f5a1 Really robust linker sets
The previous attempt to fix this issue failed.

See also:

https://gcc.gnu.org/ml/gcc/2016-09/msg00114.htm
2016-11-09 09:13:48 +01:00
Sebastian Huber
ed499fab5b More robust linker sets
See also:

https://gcc.gnu.org/ml/gcc/2016-09/msg00114.html
2016-10-26 14:38:23 +02:00
Sebastian Huber
7eb064cda1 Make <sys/proc.h> self-sufficient 2016-10-24 08:08:59 +02:00
Christian Mauderer
9a01ebf7d7 kern_conf.c: Adapt for RTEMS. 2016-08-01 14:02:04 +02:00
Christian Mauderer
b5db3321b5 rtemsbsd/devfs: Add. 2016-08-01 14:02:04 +02:00
Sebastian Huber
b36759105e Adjust <sys/stdint.h> for latest Newlib 2016-05-30 16:06:42 +02:00
Sebastian Huber
b6f6deb883 Directly use <sys/_types.h> provided by Newlib 2016-05-30 16:06:41 +02:00
Sebastian Huber
3d1e767c8f Directly use <sys/types.h> provided by Newlib 2016-05-30 16:06:41 +02:00
Sebastian Huber
2017a6df2b Directly use <sys/time.h> provided by Newlib 2016-05-30 16:06:41 +02:00
Chris Johns
7a79eec6fc The maxid is not the number of cpus. 2016-05-06 15:07:56 +10:00
Sebastian Huber
4e07ea5063 Prevent invalid optimizations for linker sets 2016-04-27 14:20:22 +02:00
Sebastian Huber
55d372f0a9 Declare flsll() 2016-04-26 15:20:59 +02:00
Sebastian Huber
fa69a12153 Dummy PHOLD() and PRELE() 2016-04-26 15:20:59 +02:00
Chris Johns
e1e10cddee waf: Add the ability to set FreeBSD options on the configure command line.
Add --freebsd-options to add specific FreeBSD compile time options to
the build. This is a developer tool.
2016-04-23 17:37:27 +10:00
Sebastian Huber
22257c7d81 Avoid use of cap_rights_t 2016-04-18 15:06:41 +02:00
Sebastian Huber
c5fde4960c intrmask_t: Provide dummy type definition 2016-04-18 15:06:37 +02:00
Sebastian Huber
a438f528fc fnv_hash.h: Disable unused 64-bit functions 2016-04-18 15:06:36 +02:00
Sebastian Huber
891a7568e5 libkern.h: Deal with latest <stdlib.h> of Newlib 2016-04-07 14:01:11 +02:00
Sebastian Huber
c2864c269b Use Newlib provided <sys/select.h> 2016-01-18 10:09:14 +01:00
Sebastian Huber
eb3b5db041 Fix for RTEMS provided <sys/priority.h> 2015-11-18 09:23:39 +01:00
Sebastian Huber
33d8f3c7cc Use RTEMS provided <sys/priority.h> 2015-11-17 15:28:06 +01:00
Sebastian Huber
39ac918828 Use RTEMS provided <sys/ttycom.h> 2015-11-17 15:24:49 +01:00
Sebastian Huber
2dd7b49962 Use RTEMS provided <sys/sockio.h> 2015-11-17 15:14:06 +01:00
Sebastian Huber
25ce3e8767 Use RTEMS provided <sys/mman.h> 2015-11-17 15:04:54 +01:00