| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Update #3850
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A speciality of the RTEMS build system was the make preinstall step. It
copied header files from arbitrary locations into the build tree. The
header files were included via the -Bsome/build/tree/path GCC command
line option.
This has at least seven problems:
* The make preinstall step itself needs time and disk space.
* Errors in header files show up in the build tree copy. This makes it
hard for editors to open the right file to fix the error.
* There is no clear relationship between source and build tree header
files. This makes an audit of the build process difficult.
* The visibility of all header files in the build tree makes it
difficult to enforce API barriers. For example it is discouraged to
use BSP-specifics in the cpukit.
* An introduction of a new build system is difficult.
* Include paths specified by the -B option are system headers. This
may suppress warnings.
* The parallel build had sporadic failures on some hosts.
This patch removes the make preinstall step. All installed header
files are moved to dedicated include directories in the source tree.
Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc,
etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g.
erc32, imx, qoriq, etc.
The new cpukit include directories are:
* cpukit/include
* cpukit/score/cpu/@RTEMS_CPU@/include
* cpukit/libnetworking
The new BSP include directories are:
* bsps/include
* bsps/@RTEMS_CPU@/include
* bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include
There are build tree include directories for generated files.
The include directory order favours the most general header file, e.g.
it is not possible to override general header files via the include path
order.
The "bootstrap -p" option was removed. The new "bootstrap -H" option
should be used to regenerate the "headers.am" files.
Update #3254.
|
| |
|
|
|
|
|
|
| |
Prevent accidental use of legacy network header files.
Update #2833.
|
|
|
|
|
|
|
| |
Do not use the MSIZE for the legacy network stack. Instead use
_SYS_MBUF_LEGACY_MSIZE.
Update #2833.
|
|
|
|
|
| |
Import the <sys/socket.h> from current FreeBSD. This allows to build
some current software (e.g. libressl).
|
|
|
|
| |
Close #2748.
|
| |
|
|
|
|
|
| |
Import the <sys/_sockaddr_storage.h> from current FreeBSD. Necessary
for <netinet/in.h> update.
|
|
|
|
| |
Ensure that kernel and user space system call protoypes are identical.
|
| |
|
| |
|
|
|
|
| |
closes 2245
|
|
|
|
|
|
|
|
|
| |
This was needed to make it possible to only include <sys/socket.h>
for the methods in this file in compliance with the POSIX
specification. This was identified by the Open Group FACE
Conformance Test Suite.
Close 2245.
|
|
|
|
| |
The so_uid is always 0 in RTEMS.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These two header files were installed from libnetworking even
when networking was disabled. This patch moves them to a
non-networking location and updates uio.h to match the FreeBSD 8.x
source being used for the USB stack and TCP/IP stack upgrade.
- cpukit/include/memory.h
Move from cpukit/libnetworking/memory.h. No changes
- cpukit/include/sys/uio.h
Move from cpukit/libnetworking/sys/uio.h. Replace with FreeBSD 8.x version.
- cpukit/include/sys/_iovec.h
New. FreeBSD 8.x file supporting <sys/uio.h>.
- cpukit/Makefile.am
Reflect movement of <memory.h> and <sys/uio.h>.
- cpukit/preinstall.am
Regenerate
- cpukit/libnetworking/nfs/bootp_subr.c
Eliminate use of uio_procp field no longer in FreeBSD structure. This
field was set and never read so eliminating the set has no impact.
|
|
|
|
|
|
| |
These modifications were required by hand after running the script.
In some cases, the file names did not match patterns. In others,
the format of the file did not match any common patterns.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
|
|
|
|
|
| |
* libnetworking/sys/signalvar.h: Cosmetics from FreeBSD.
Comment out psignal().
|
| |
|
| |
|
|
|
|
|
| |
* libnetworking/sys/linker_set.h: Add local versions of __used
and __CONCAT macros.
|
| |
|
|
|
|
| |
* libnetworking/sys/signalvar.h: Comment out unused code.
|
|
|
|
|
| |
* libnetworking/sys/socketvar.h (struct sockbuf):
Use void* instead of caddr_t.
|
|
|
|
|
| |
* libnetworking/sys/socket.h (struct sockwakeup):
Use void* instead of caddr_t.
|
|
|
|
|
| |
* libnetworking/sys/mbuf.h: Use uintptr_t instead of u_long
for 16bit target compliance.
|
|
|
|
|
| |
* libnetworking/sys/sysctl.h: Change sysctl_oid->arg2 into int32_t
for 16bit target compliance.
|
| |
|
|
|
|
|
| |
* libnetworking/sys/uio.h: Include <sys/types.h>.
Use ssize_t for uio_resid in struct uio (From FreeBSD).
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* libnetworking/sys/kernel.h: Remove execsw_set,
si_elem_t (Unused, not in FreeBSD).
#include <sys/linker_set.h>.
Add #ifdef _KERNEL guards (From FreeBSD).
|
|
|
|
|
| |
* libnetworking/sys/kernel.h: Remove hostnamelen, domainnamelen,
lbolt, tickdelta, timedelta (Unused, not in FreeBSD).
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* libnetworking/lib/ftpfs.c, libnetworking/libc/inet_ntoa.c,
libnetworking/libc/rcmd.c, libnetworking/nfs/bootp_subr.c,
libnetworking/rtems/rtems_glue.c,
libnetworking/rtems/rtems_malloc_mbuf.c,
libnetworking/rtems/rtems_showicmpstat.c, libnetworking/sys/malloc.h:
Fix some warnings.
|
|
|
|
|
|
|
|
|
|
| |
PR 1262/filesystem
* libcsupport/Makefile.am, libnetworking/libc/herror.c,
libnetworking/libc/res_send.c, libnetworking/sys/uio.h,
telnetd/Makefile.am, telnetd/README, telnetd/preinstall.am,
telnetd/pty.c, telnetd/telnetd.c: Add support for readv() and
writev() including documentation and test case.
* libcsupport/src/readv.c, libcsupport/src/writev.c: New files.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* libnetworking/sys/buf.h: Remove unused/non-implemented bsd kernel
symbols.
|
|
|
|
|
| |
Update copyright notice.
Remove unused/non-implemented declarations.
|
|
|
|
|
| |
* libnetworking/sys/systm.h: Update copyright notice from FreeBSD.
Remove many non-supported/unused declarations.
|