Age | Commit message (Collapse) | Author |
|
|
|
|
|
Update #3375.
|
|
Update #3530.
Update #3533.
|
|
Current state:
- Basic context initialization and switching code.
- Stubbed console (empty functions).
- Mostly functional linker script (may need tweaks if we ever want to move
away from the large code model (see: CPU_CFLAGS).
- Fully functional boot, by using FreeBSD's bootloader to load RTEMS's ELF for
UEFI-awareness.
In short, the current state with this commit lets us boot, go through the system
initialization functions, and then call user application's Init task too.
Updates #2898.
|
|
A "make dist" is not supported. So, it makes no sense to have pure "make
dist" related stuff in the Makefile.am.
|
|
Install the network headers only if --enable-networking is specified.
Update #3254.
|
|
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.
|
|
|
|
Update #2133.
|
|
Update #2833.
|
|
closes #2443.
|
|
|
|
updates #2452.
|
|
updates #2446.
|
|
|
|
|
|
Close #2256
|
|
closes #2248
|
|
closes #2249 see #1401
|
|
Include <sys/param.h> if necessary to get the MIN()/MAX() macros.
|
|
|
|
|
|
Signed-off-by: Anthony Green <green@moxielogic.com>
|
|
Port
+ v850 does not have appear to have any optimized bit scan instructions
+ v850 does have single instructions for wap u16 and u32
+ Code path optimization preferences set
+ Add BSP variants for each GCC CPU model flag and a README
- v850e1 variant does not work (fails during BSP initialization)
BSP for GDB v850 Simulator
+ linkcmds matches defaults in GDB simulator with RTEMS mods
+ crt1.c added from v850 newlib port for __main()
+ BSP exits cleanly
+ printk and console I/O work
+ uses clock tick from IDLE task
+ Tests not requiring real clock ISR work
Documentation
+ CPU Supplment chapter for v850 added
|
|
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.
|
|
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html
for details.
|
|
|
|
|
|
* librpc/src/rpc/clnt_udp.c (struct cu_data):
Introduce unions _cu_inbuf, _cu_outbuf to avoid aliasing.
|
|
* libnetworking/Makefile.am: Reformat.
* librpc/Makefile.am: Reformat.
|
|
|
|
|
|
* librpc/src/xdr/xdr_mem.c (xdr_memcreate):
Cast addr to uintptr_t instead of size_t.
|
|
* librpc/src/rpc/clnt_tcp.c, librpc/src/rpc/clnt_udp.c:
Revert to using u_long instead of rpcprog_t, rpcvers_t
to stay bug-ward compatible to freebsd.
|
|
* librpc/src/xdr/xdr_mem.c: Cosmetics from freebsd.
|
|
* librpc/src/rpc/rtems_portmapper.c: Reflect changes to librpc.
|
|
* 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/src/rpc/clnt_udp.c: Cosmetics from freebsd.
|
|
* librpc/src/rpc/clnt_tcp.c: Partial merger from freebsd
(Fix strict-aliasing).
|
|
* librpc/src/rpc/clnt_raw.c: Partial merger from freebsd
(Improved 16 bit compatibility; Fix strict-aliasing).
|
|
* librpc/src/rpc/rpc_prot.c: Partial merger from freebsd
(Improved 64 bit compatibility; bug fix).
|
|
* librpc/src/rpc/clnt_udp.c, librpc/src/xdr/xdr_mem.c:
Use [u]intptr_t instead of [u_]long for better 16bit compliance.
|
|
* librpc/src/rpc/pmap_rmt.c: Use uintptr_t for better 16bit
compliance.
|
|
|
|
|
|
* librpc/src/xdr/xdr_float.c: Change detection logic for h8300.
|