| 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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The XDR library has a problem on architectures with short enums like the
default ARM EABI. Short enums means that the size of the enum type is
variable and the smallest integer type to hold all enum values will be
selected. For many enums this is char. The XDR library uses int32_t
for enum_t. There are several evil casts from an enum type to enum_t
which leads to invalid memory accesses on short enum architectures. A
workaround is to add appropriate dummy enum values.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* librpc/include/rpc/clnt.h, librpc/include/rpc/rpc_msg.h,
librpc/src/rpc/clnt_generic.c, librpc/src/rpc/clnt_raw.c,
librpc/src/rpc/clnt_tcp.c, librpc/src/rpc/clnt_udp.c,
librpc/src/rpc/pmap_clnt.c, librpc/src/rpc/pmap_getmaps.c
librpc/src/rpc/pmap_getport.c:
Partial merger from freebsd (portability fixes).
|
|
|
|
| |
* librpc/include/rpc/xdr.h: Cosmetics from freebsd.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* librpc/include/rpc/clnt.h: Added the missing __BEGIN_DECLS as
reported to the mailing list by Pierre Kestener
(pierre.kestener@cea.fr).
|
| |
|
| |
|
|
|
|
|
|
| |
* libnetworking/lib/ftpfs.c, librpc/include/rpc/svc.h,
librpc/src/rpc/get_myaddress.c, librpc/src/rpc/pmap_getmaps.c,
librpc/src/rpc/pmap_getport.c: Remove warnings.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* librpc/include/rpc/svc.h: Partial update from FreeBSD.
|
|
|
|
| |
* librpc/include/rpc/clnt.h: Partial update from FreeBSD.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* librpc/include/rpc/clnt_stat.h, librpc/include/rpc/rpcent.h:
New (From FreeBSD).
* librpc/include/rpc/rpc.h: Partial update from FreeBSD.
* librpc/Makefile.am: Reflect changes above.
|
|
|
|
|
|
| |
* librpc/include/rpc/types.h: Partial update from FreeBSD.
Use stdint.h types instead of sys/types.h.
* librpc/src/rpc/bindresvport.c: Partial update from FreeBSD.
|
|
|
|
|
|
|
| |
* librpc/include/rpc/clnt.h, librpc/src/rpc/authunix_prot.c,
librpc/src/rpc/clnt_tcp.c, librpc/src/rpc/pmap_prot2.c,
librpc/src/rpc/pmap_rmt.c, librpc/src/rpc/rtems_portmapper.c,
librpc/src/rpc/svc_simple.c: Fix warnings.
|
|
|
|
|
|
|
| |
* librpc/include/rpc/auth_des.h, librpc/include/rpc/xdr.h,
librpc/src/rpc/auth_des.c, librpc/src/rpc/auth_unix.c,
librpc/src/rpc/rpc_prot.c, librpc/src/xdr/xdr.c:
Misc. ansi-fications, misc. updates from FreeBSD.
|
|
|
|
|
|
|
| |
* librpc/include/rpc/xdr.h: Remove questionable comments.
* librpc/include/rpc/auth.h: Remove __P, ansi-fy.
* librpc/src/rpc/auth_none.c: Reflect changes above.
Partial update from FreeBSD.
|
|
|
|
|
| |
* librpc/include/rpc/svc.h, librpc/include/rpc/xdr.h:
Remove __P(xx).
|
|
|
|
|
|
|
|
| |
* librpc/include/rpc/types.h: Include <rtems/stdint.h>.
* librpc/src/rpc/clnt_raw.c, librpc/src/rpc/rpcdname.c,
librpc/src/rpc/rtems_portmapper.c, librpc/src/rpc/svc.c,
librpc/src/rpc/svc_simple.c: Misc. cast-related fixes.
Convert to ANSI.
|
|
|
|
|
|
|
|
|
|
| |
* librpc/include/rpc/rpc.h (struct _rtems_rpc_task_variables):
Use pointers to types instead of void* to avoid casts.
* librpc/src/rpc/clnt_perror.c, librpc/src/rpc/clnt_raw.c,
librpc/src/rpc/clnt_simple.c, librpc/src/rpc/rpcdname.c,
librpc/src/rpc/svc.c, librpc/src/rpc/svc_auth.c,
librpc/src/rpc/svc_simple.c:
Eliminate lvalue casts gcc-3.4 warns about.
|
|
|
|
|
|
| |
* score/src/coremsg.c: Eliminate unsigned32.
* score/include/rtems/system.h: Set __RTEMS_REVISION__ to 99.
* librpc/include/rpc/xdr.h: Use elipsis in xdrproc_t prototype.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* include/rpc/rpc.hinclude/rpc/rpc.h: Rename struct
rtems_rpc_task_variables into struct _rtems_rpc_task_variables
(Avoid symbol conflict between struct and variable).
struct _rtems_rpc_task_variables *rtems_rpc_task_variables;
Reflect changes above.
* src/rpc/clnt_perror.c, src/rpc/clnt_raw.c, src/rpc/clnt_simple.c,
src/rpc/rpcdname.c, src/rpc/rtems_rpc.c, src/rpc/svc.c,
src/rpc/svc_auth.c, src/rpc/svc_raw.c, src/rpc/svc_simple.c:
Reflect changes above.
|
|
|
|
|
| |
* Makefile.am: Merge-in include/Makefile.am.
* include/Makefile.am: Remove.
|
|
|
|
|
|
|
| |
* configure.ac: Remove (Merged-in into ../configure.ac)
* Makefile.am, include/Makefile.am, src/Makefile.am,
src/rpc/Makefile.am, src/xdr/Makefile.am:
Reflect having merged configure.ac into ../configure.ac.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/rpc/Makefile.am: Merge src/rpc/PSD.doc/Makefile.am.
* include/Makefile.am: Merge include/rpc/Makefile.am.
Merge include/rpcsvc/Makefile.am.
* include/rpc/Makefile.am: Remove.
* include/rpcsvc/Makefile.am: Remove.
* src/rpc/PSD.doc/Makefile.am: Remove.
* configure.ac: Remove duplicate AC_PROG_RANLIB.
Remove include/rpc/Makefile.
Remove include/rpcsvc/Makefile.
Remove src/rpc/PSD.doc/Makefile.
|