Commit Graph

27697 Commits

Author SHA1 Message Date
Sebastian Huber
a2ba004a04 bsp/mbx8xx: Fix warnings 2015-03-16 19:31:04 +01:00
Jamie Iles
674f8b1b05 IMFS: don't strlen() an unterminated string in IMFS_dir_read().
a43a3466 (IMFS: Implement variable length node names) introduced a
changed to IMFS_jnode_t from being a null terminated string to a
separate unterminated string and length.  IMFS_dir_read() was still
performing a strlen() on this unterminated string though and when doing
an 'ls' in the fileio example I saw that some filenames had garbage
suffixes.
2015-03-16 19:17:35 +01:00
Gedare Bloom
a62220fefa shell: remove rtems ifdef, upstream is correct 2015-03-16 13:23:15 -04:00
Gedare Bloom
ce4e691a01 shell: fix printf warnings 2015-03-16 13:01:37 -04:00
Gedare Bloom
ed152a0c4b capture: fix warnings in print 2015-03-16 12:49:47 -04:00
Gedare Bloom
1ff449cfc4 rtems: make error codes uintptr_t 2015-03-16 12:15:27 -04:00
Gedare Bloom
b4d1f0899b rfs: cast minor to uintptr_t to truncate explicitly 2015-03-16 12:14:15 -04:00
Alan Cudmore
71260b4a09 preliminary Raspberry Pi Model 2 support
This patch adds a BSP variant for the Raspberry Pi 2. You can
build both variants by configuring with the option
 --enable-rtemsbsp="raspberrypi2 raspberrypi"

For the current BSP, the only change was the peripheral register base
address and the compiler options.

The raspberrypi/make/custom rules were re-factored:
  raspberrypi.inc  -- Common rules
  raspberrypi.cfg  -- Raspberry Pi 1 specific rule/optons
  raspberrypi2.cfg -- Raspberry Pi 2 specific rule/options

I tested hello, ticker, unlimited, and paranoia on both the Pi (Model A+)
and Pi 2.
2015-03-16 09:43:21 -05:00
Sebastian Huber
dc5e5f4448 tmtests/tmfine01: New test 2015-03-16 13:52:19 +01:00
Sebastian Huber
6db5e650fb score: Add _Objects_ISR_disable_and_acquire() 2015-03-15 10:24:40 +01:00
Sebastian Huber
91c250fc21 bsps/sparc: Fix linker section 2015-03-15 10:12:29 +01:00
Ben Gras
275a9bf26b Revert "autoconf changes"
This reverts commit dbe85952f9.

Accidentally merged.
2015-03-14 22:29:20 +01:00
Ben Gras
86204bdeb5 beagle bsp: delete TIMER_FREQ, TIMER_COUNT
unused and poorly named (no prefix) and colliding with sp68.

Closes #2302.
2015-03-14 16:49:52 +01:00
Ben Gras
dbe85952f9 autoconf changes 2015-03-14 16:06:14 +01:00
Hesham ALMatary
a764d67387 score/or1k: Fix warnings. Add missing prototypes
Closes #2304
2015-03-13 15:49:30 -04:00
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