Commit Graph

27710 Commits

Author SHA1 Message Date
Joel Sherrill
fe0eb1b513 score603e/tod/tod.c: Do not use rtems_clock_get() 2015-03-17 10:05:05 -05:00
Joel Sherrill
05af8b9802 beatnik/network/porting/if_xxx_rtems.c: Do not use rtems_clock_get() 2015-03-17 10:05:05 -05:00
Joel Sherrill
0cc35f01a1 mvme167/network/network.c: Do not use rtems_clock_get() 2015-03-17 10:05:04 -05:00
Joel Sherrill
8164ebdde4 mvme162/tod/tod.c: Do not use rtems_clock_get() 2015-03-17 10:05:04 -05:00
Joel Sherrill
979bda9587 tm07: Split some code into new spnotepad02.
Use of deprecated notepads in sp07 needs further work.

Updates #2305.
2015-03-17 10:05:04 -05:00
Joel Sherrill
0e6f915c8e testsuites/samples/minimum/init.c: Notepads no longer need to be disabled
They are disabled by default as they are deprecated.
2015-03-17 10:05:04 -05:00
Joel Sherrill
4b7df86b8e cpukit/libdl/rtl-obj-comp.c: Use correct printf() specification 2015-03-17 10:05:03 -05:00
Sebastian Huber
ac8339ae50 bsp/mpc55xx: Fix flash settings 2015-03-17 11:28:44 +01:00
Sebastian Huber
8c7eb0039c testsupport: Add worker setup handler
Add rtems_test_parallel_get_task_id().
2015-03-17 10:32:57 +01:00
Sebastian Huber
8e10f62378 bsp/qoriq: Add register blocks for T variants 2015-03-17 08:54:39 +01:00
Sebastian Huber
093bfdecc7 bsp/qoriq: Fix warning 2015-03-17 08:48:47 +01:00
Sebastian Huber
3e3684ba59 score: Ensure properties of CPU_Uint32ptr 2015-03-17 08:30:40 +01:00
Gedare Bloom
46d3c6d833 cpukit: add and use CPU_Uint32ptr type 2015-03-16 16:24:18 -04:00
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