Sebastian Huber
bada2f77d0
Add socket fstat() support
2013-10-31 13:18:47 +01:00
Sebastian Huber
caf8eded60
Import socket() implementation from FreeBSD
...
Add new test syscalls01.
2013-10-31 13:18:47 +01:00
Sebastian Huber
69b29a0c0d
Disable user credentials and use default values
2013-10-31 13:18:47 +01:00
Sebastian Huber
cc5f4b2705
Use default PID value for all process identifiers
2013-10-31 13:18:46 +01:00
Sebastian Huber
549488b572
Disable alternative routing tables
2013-10-31 13:18:46 +01:00
Sebastian Huber
3842b81723
Delete struct proc p_mtx lock
...
Usage of this lock is highly dangerous since agents may assume that this
lock is actually used for process management. There is only one process
in RTEMS.
2013-10-31 13:18:46 +01:00
Sebastian Huber
0bcf34156b
Delete unused struct proc fields
2013-10-31 13:18:46 +01:00
Sebastian Huber
db2e97facf
Disable cold boot indicator
2013-10-31 13:18:46 +01:00
Sebastian Huber
5003e8f88e
Avoid references to lim_cur()
2013-10-31 13:18:46 +01:00
Sebastian Huber
c9db0f5ecb
Use RTEMS API for file handling
2013-10-31 13:18:46 +01:00
Sebastian Huber
8eb42e8884
Avoid references to kern_descrip.c
...
Use the standard RTEMS file descriptors instead.
2013-10-31 13:18:46 +01:00
Sebastian Huber
032b3b7940
Use Newlib provided <sys/fcntl.h>
2013-10-31 13:18:46 +01:00
Sebastian Huber
ebabe9b195
Import <sys/sysproto.h> from FreeBSD
2013-10-31 13:18:46 +01:00
Sebastian Huber
cd75897ea8
Import <security/audit/audit.h> from FreeBSD
2013-10-31 13:18:46 +01:00
Sebastian Huber
3fc7c89735
Disable setfib() syscall
2013-10-31 13:18:46 +01:00
Sebastian Huber
cc2298f0dd
Fix warning in <sys/mbuf.h>
2013-10-31 13:18:45 +01:00
Sebastian Huber
7c801d1b01
Fix warnings in <sys/refcount.h>
2013-10-31 13:18:45 +01:00
Sebastian Huber
ab415f95a9
Use extension to attach a struct thread to threads
...
Add test thread01.
2013-10-10 09:09:19 +02:00
Sebastian Huber
d652c3bafd
Avoid per-CPU NETISR(9)
...
SMP support should be enabled once the new stack is ready for this.
2013-10-10 09:09:19 +02:00
Sebastian Huber
e599318e91
Update files to match FreeBSD layout
...
Add compatibility with Newlib header files. Some FreeBSD header files
are mapped by the translation script:
o rtems/bsd/sys/_types.h
o rtems/bsd/sys/errno.h
o rtems/bsd/sys/lock.h
o rtems/bsd/sys/param.h
o rtems/bsd/sys/resource.h
o rtems/bsd/sys/time.h
o rtems/bsd/sys/timespec.h
o rtems/bsd/sys/types.h
o rtems/bsd/sys/unistd.h
It is now possible to include <sys/socket.h> directly for example.
Generate one Makefile which builds everything including tests.
2013-10-10 09:08:23 +02:00
Sebastian Huber
bceabc95c1
Move files to match FreeBSD layout
2013-10-10 09:06:58 +02:00
Sebastian Huber
937461c950
Avoid per-CPU features
2013-09-20 16:18:23 +02:00
Sebastian Huber
e3dd7a480e
Avoid usage of stack_t type
2013-09-20 16:18:23 +02:00
Sebastian Huber
a71a32535f
Use empty <sys/ucontext.h>
2013-09-20 16:18:23 +02:00
Sebastian Huber
a3dde3ee78
Update due to Newlib <sys/cdefs.h> changes
2013-09-20 12:52:44 +02:00
Jennifer Averett
e00f10c266
Remove empty version of timespec.h and limits.h
2012-11-26 09:49:24 -06:00
Jennifer Averett
0bde19eee0
Switch to a version of select that is closer to bsd's version.
2012-11-26 09:47:09 -06:00
Joel Sherrill
2b640ee8fb
uipc_domain.c: Correct max_linkhdr
2012-10-24 18:14:32 -05:00
Joel Sherrill
d4515a8d0e
kern_time: Disable some routines RTEMS has
2012-10-23 16:49:40 -05:00
Jennifer Averett
af4b6f2ac8
Added mman.h
...
This will be needed when the ifconfig command is added.
2012-09-07 11:41:09 -05:00
Jennifer Averett
6d7f48849e
Added netatalk files
...
This is part of a larger patch where network command structure is being
ported. It was easier to move these files in than to carve it out of
the command code.
2012-09-06 09:17:47 -05:00
Joel Sherrill
fa3526a65d
freebsd/sys/signalvar.h: Use empty file from previous commit
2012-09-05 13:11:21 -05:00
Joel Sherrill
734ccdaf97
freebsd/net/radix_mpath.c: Fix prototype/body mismatch
...
The routines which had bodies not matching the prototype are:
- rn_mpath_count
- rtalloc_mpath_fib
2012-09-05 12:52:06 -05:00
Joel Sherrill
4c0dbd308a
freebsd/sys/signal.h: use standard <sys/signal.h>
...
This patch assumes that the <sys/signal.h> has been updated to
one include sigaltstack() support. The patch is pending.
2012-09-05 12:50:34 -05:00
Joel Sherrill
1c6a8e8bfb
freebsd/sys/cdefs.h: use standard <sys/cdefs.h>
...
This patch assumes that the <sys/cdefs.h> has been updated to
a current FreeBSD 8.x version. That patch is pending.
2012-09-05 12:49:23 -05:00
Joel Sherrill
25ed473ebf
aio.h: Disable unused field
2012-09-05 12:48:38 -05:00
Joel Sherrill
816b85c6c2
pci_bus.c: Fix prototype/body mismatch
2012-09-05 12:43:37 -05:00
Joel Sherrill
21e0e4e613
_iovec.h: Improve comments
2012-09-01 09:24:33 -05:00
Joel Sherrill
b4cf93e3ad
_iovec.h: Ensure only one definition of struct iovec
2012-08-31 19:21:34 -05:00
Jennifer Averett
2c3d8b981b
Added rtems specific page tracking methods for uma page allocation.
2012-07-20 14:17:05 -05:00
Jennifer Averett
e1e0a6a86e
Remove debug that got turned on.
2012-07-17 08:58:15 -05:00
Jennifer Averett
325120c875
Fix curthread so it returns a valid value.
2012-07-17 08:20:46 -05:00
Jennifer Averett
19288d665e
Add back in code to set booted.
2012-07-17 08:13:57 -05:00
Jennifer Averett
fbdd6b6ed0
Fix priv_check methods to return passing value.
2012-07-17 08:12:42 -05:00
Joel Sherrill
a8030171cc
Add ARM, PowerPC, and SPARC64 cpufunc.h files from FreeBSD
2012-07-13 11:38:40 -05:00
Kevin Polulak
8fe603a947
Readd MIPS cpu specific .h files
...
At least 80 files in this tree have an advertisting clause. 56 in
the old TCP/IP stack did. We will not have a functional stack unless
we accept this unfortunate situation.
2012-07-13 11:29:43 -05:00
Joel Sherrill
e78d6ab1c3
MIPS: Remove code with advertising clause
...
At this point, we are unsure what actual functionality will be
required for a functional MIPS port so just provide a stub.
This lets the build complete and avoids the code with the
advertising clause.
2012-07-13 10:40:11 -05:00
Kevin Polulak
8db44c6776
Add MIPS cpu specific .h files
2012-07-13 08:57:28 -05:00
Kevin Polulak
9fc8b41074
Removed in_cksum_arm.S file.
2012-07-11 13:10:31 -05:00
Joel Sherrill
7a1309a304
subr_hints.c: For RTEMS use static_hints
...
The user MUST provide a static_hints character array. For now,
this must be manually constructed. In the future, we may want to
consider loading it from a file.
2012-07-09 14:33:02 -05:00