Commit Graph

27682 Commits

Author SHA1 Message Date
Joel Sherrill
f1b468045e m32cbsp: Add bsp_reset() so the BSP exits 2015-03-12 15:01:02 -05:00
Joel Sherrill
d937d364af posix/src/nanosleep.c: Address issue when delay is longer than desired
This resulted in the elapsed time going below 0 and an arbitrarily large
number returned as the time remaining.

closes #2296.
2015-03-12 13:33:36 -05:00
Daniel Cederman
b0f8bb4eec posix: Return error code if mmap is used 2015-03-12 10:02:33 -04:00
Daniel Cederman
d88b0b78d7 posix: Move function to file with matching name
mmap was previously in munmap.c and munmap was in mmap.c.
2015-03-12 10:02:33 -04:00
Joel Sherrill
bfe6391c0d confdefs.h: Improve the Doxygen 2015-03-11 16:18:29 -05:00
Joel Sherrill
78d54481e7 mvme147s: Install z8530.h
This was missed when the file was moved.
2015-03-11 16:18:29 -05:00
Joel Sherrill
a2fe43b102 cpukit/include/rtems/btimer.h: Add DOxygen comments 2015-03-11 16:18:29 -05:00
Joel Sherrill
a575af82e0 cpukit/include/rtems/bspIo.h: Add Doxygen comments 2015-03-11 16:18:29 -05:00
Joel Sherrill
bdf23b6cd4 cpukit: Remove old DESCRIPTION: in comments
These were remnants of pre-Doxygen comment style.
2015-03-11 16:18:29 -05:00
Gedare Bloom
d84995d28c doc/started: simplify and fix
* fix and remove some macros in rtems.texi.in.
* refer to devel mailing list.
* remove reference to Debian packaging in requirements section.
* remove section on prebuilt tools.
* replace toolset build instructions with link to RSB docs.
* Add a note in building RTEMS section about using RSB.
* Fix URLs

Closes #2291.
2015-03-11 13:39:29 -04:00
Gedare Bloom
cf4045630e cpukit: deprecate task variables. closes #2293. 2015-03-10 15:46:59 -04:00
Gedare Bloom
23e43f6af1 cpukit: deprecate rtems_clock_get(). closes #2294. 2015-03-10 13:51:33 -04:00
Gedare Bloom
3ac681191e cpukit: deprecate notepads
Deprecate Classic API Notepads. Mark task_set/get_note() with
the deprecated attribute, and also mark the notepads field.

Replace disable with enable option for notepads in confdefs.h,
and make notepads disabled by default. The previous option
CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS is now unused and
will emit a compile-time warning. A new option
CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS is available to turn
on notepads, but it also will emit a compile-time warning
to indicate that notepads are deprecated.

Closes #2265
2015-03-10 12:53:07 -04:00
Joel Sherrill
b05549fc72 cpukit/libcrypt/misc.c: Reverse order of statements in ifdef 2015-03-10 09:10:39 -05:00
Sebastian Huber
f244bfc5f8 posix: Install <semaphore.h> only if not provided 2015-03-10 08:56:06 +01:00
Sebastian Huber
1f671565ab libcsupport: Delete superfluous _gettimeofday() 2015-03-10 08:56:06 +01:00
Sebastian Huber
77e682ec85 posix: Change sem_t to the 32-bit object type
This change is also valid for 16-bit object type architectures since in
this case POSIX_Semaphore_Control::Semaphore_id is used as a proxy.
2015-03-10 08:56:06 +01:00
Sebastian Huber
60bded9f8b posix: Use a value of 0 for SEM_FAILED
This is the standard NULL pointer.
2015-03-10 08:56:05 +01:00
Sebastian Huber
f0ff18e035 score: Add rtems_set_errno_and_return_value()
Remove rtems_set_errno_and_return_minus_one_cast().
2015-03-10 08:55:10 +01:00
Joel Sherrill
34e0a56982 cpukit/libmisc/fsmount/fsmount.h: Remove duplicate comments and copyright 2015-03-09 16:56:18 -05:00
Joel Sherrill
015211b8f3 cpukit/dev/include/dev/i2c/i2c.h: Fix Doxygen grouping 2015-03-09 16:45:48 -05:00
Joel Sherrill
1aa7b8beb1 Move contents of libcsupport/include/zilog into libbsp/shared
Only a few BSPs use this and it should not have been in libcsupport.
2015-03-09 16:15:14 -05:00
Joel Sherrill
6796d9cd69 Remove unused cpukit/libcsupport/include/zilog/z8536.h 2015-03-09 16:15:14 -05:00
Joel Sherrill
5bc6237a36 Move libcsupport/include/motorola/*.h to m68k/idp BSP
These header files were only used by one BSP and they are
hardware dependent. The hardware dependency always made
them bad candidates for where they were in the tree. But
this fixes that.
2015-03-09 16:15:14 -05:00
Joel Sherrill
865f10d16e cpukit/libcrypt/misc.c: Conditionally correct 16-bit unclean code 2015-03-09 16:14:18 -05:00
Joel Sherrill
d9cda35785 cpukit/libdl/rtl-mdreloc-m32r.c: Add parentheses per Chris' suggestion 2015-03-09 16:14:18 -05:00
Joel Sherrill
9cc1892650 libcpu/powerpc/mpc8260/console-generic/console-generic.c: Include bsp.h to fix warning 2015-03-09 16:14:18 -05:00
Joel Sherrill
120af8092d rtl22xx.cfg: Remove -DNDEBUG flag 2015-03-09 16:14:18 -05:00
Joel Sherrill
058a92da41 lpc1768_mbed.cfg: Remove -DNDEBUG flag 2015-03-09 16:14:17 -05:00
Joel Sherrill
500eb0443e mvme136.cfg: Remove -DNDEBUG flag 2015-03-09 16:14:17 -05:00
Joel Sherrill
2468aa3dff vprintk.c: Reorder switch and add default to eliminate warning 2015-03-09 16:14:17 -05:00
Joel Sherrill
ef598c37cf or1k/rtems/score/cpu.h: Add no_return attribute to _CPU_Context_restore 2015-03-09 16:14:17 -05:00
Joel Sherrill
41a007422d tools/cpu/sh/sci.c: Add include of bsp.h to generated file 2015-03-09 16:14:16 -05:00
Joel Sherrill
4f4e7bb683 cpukit/score/cpu/sh/context.c: Correct name of _CPU_Context_switch 2015-03-09 16:14:16 -05:00
Joel Sherrill
2a11a46fd1 or1k: Correct _CPU_Thread_Idle_body prototype 2015-03-09 16:14:16 -05:00
Joel Sherrill
867a54a276 gensh1/include/bsp.h: Add needed prototype 2015-03-09 16:14:16 -05:00
Joel Sherrill
52c56af032 gensh4/include/bsp.h: Remove unused prototype and include 2015-03-09 16:14:16 -05:00
Joel Sherrill
a1148f3667 powerpc/shared/bootloader/pci.c: Remove warnings 2015-03-09 16:14:15 -05:00
Joel Sherrill
315926703e shared/include/grcan.h: Add prototypes to fix warnings 2015-03-09 16:14:15 -05:00
Sebastian Huber
40ecd117b2 sysconf: Add _SC_NPROCESSORS_(CONF|ONLN) 2015-03-09 15:25:24 +01:00
Sebastian Huber
8552df6514 sysconf: Simplify 2015-03-09 15:25:17 +01:00
Sebastian Huber
19799fb0f7 libtests/stringto01: Fix for GCC 5.0 2015-03-09 13:52:49 +01:00
Sebastian Huber
bf11690ca2 network: Avoid clash with FreeBSD <sys/time.h> 2015-03-09 13:16:06 +01:00
Sebastian Huber
25ce352bcb score: Fix for GCC version 5 and later 2015-03-09 11:43:55 +01:00
Sebastian Huber
7b4e81d0c1 score: Typo
Close #2286.
2015-03-09 08:51:55 +01:00
Joel Sherrill
19a1f6b2cc Temporarily disable libdl for h8300
The h8300 gets a linking error for the dl0* tests. This temporarily
disables libdl until that can be investigated.

updates 2284.
2015-03-06 20:04:25 -06:00
Joel Sherrill
1ae60ae5cf Add fsscandir01 variants as needed to more BSPs testsuite configuration 2015-03-06 20:04:25 -06:00
Joel Sherrill
dea43a0da6 Temporarily ignore dl* tests on some PowerPC BSPs
Some BSPs have issues linking the dl* tests. These issues have
not been investigated. This is a temporary workaround until we
have an explanation and permanent solution.

updates 2258.
2015-03-06 20:04:25 -06:00
Joel Sherrill
7af34c13d7 Always disable networking for h8300 2015-03-06 20:04:25 -06:00
Joel Sherrill
e516d4546d Temporarily disable libdl tests on some MIPS BSPSs
These BSPs are little endian while most are big endian.
The dl tool does not support the -EL option yet.

updates 2279.
2015-03-06 20:04:24 -06:00